Toggle app scan policy plugin

Toggle Application Scan Policy

This endpoint allows for enabling or disabling a specific plugin within the scan policy of an application, based on the provided application and plugin ID.

Error Handling:

  • 400 Bad Request: This response is returned if the pluginId provided does not correspond to any plugin included in the application's current scan policy.

Additional Information:

Scan Policy plugins represent a security test designed to work with the StackHawk platform. HawkScan will run the plugin in a scan if it's enabled in the application scan policy.

🧾

Audited

This is recorded as APPLICATION_POLICY_MODIFIED User Activity.

Requires write:policy permission.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$

UUID identifier for this StackHawk Application.

string
required
length ≤ 16
^[0-9-]*$

Identifier for the Plugin.

string
enum
required

Toggles this plugin, either as 'enabled' or 'disabled'.

Allowed:
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

401

Unauthorized

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/x-protobuf