get https://api.stackhawk.com/api/v1/app//policy/plugins//
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.
Restricted
This endpoint is NOT accessible to users with the Member role.