Get StackHawk scan policy
GET
/api/v1/policy Get StackHawk Scan Policy
This endpoint retrieves a specific StackHawk scan policy. It provides details of the policy configuration, including the set of plugins and technology flags. StackHawk scan policies can be used as-is or as a starting point for customizing your application's scan policy.
Usage:
- Use the All Scan Policies endpoint to get a list of named StackHawk scan policies.
- If no
policyNameis provided in the request, this endpoint will return the DEFAULT scan policy.
Requires
read:policypermission.
Query parameters
policyNamestringA named StackHawk scan policy, or the DEFAULT policy if not provided.
default:
"DEFAULT"Response
200 OK
scanPolicy
scanpolicy.ScanPolicystatus
enum<string>2 available options
OKNOT_FOUNDscanPolicy
scanpolicy.ScanPolicystatus
enum<string>2 available options
OKNOT_FOUND