All StackHawk scan policies
/api/v1/policy/all StackHawk Policies
This endpoint lists all available StackHawk scan policies. Each scan policy provides details of the policy configuration, including the set of plugins and technology flags.
Functionality:
- Useful for understanding the range of pre-configured scan policies available for HawkScan.
- The list provided by this endpoint is dynamic, reflecting updates and additions to the scan policies. StackHawk makes regular updates to our policies as new plugins are made available.
Note:
- This endpoint is not paginated, as the list of policies is finite.
Requires
read:policypermission.
Response
200 OK
Hide child attributesShow child attributes
The UUID identifier of the scan policy application. If no application ID is present, the scan policy is defined by StackHawk. If the application ID is present, then the scan policy is customized for the given application only.
The description for this policy.
The human readable display name for this policy.
The UUID identifier of this scan policy.
Indicates whether the plugins have been updated from original scan policy.
The referencable unique name of a StackHawk scan policy.
List of the plugins defined for this policy.
Hide child attributesShow child attributes
Default risk for this plugin. Currently unused.
5 available options
UNKNOWNINFOLOWMEDIUMHIGHEnables the plugin. Plugins will only run in a scan when marked as enabled.
Maximum number of alerts from this plugin reported to the platform. The plugin keeps testing past the limit; only reporting is capped. Unset or 0 means unlimited. Must be non-negative; HawkScan treats a negative value as 0 (unlimited). Managed by StackHawk.
The Plugin name.
The UUID identifier of this plugin.
The type of plugin to run as. Either ACTIVE or PASSIVE.
2 available options
ACTIVEPASSIVEThe release quality of this plugin.
3 available options
ADDON_STATUS_ALPHAADDON_STATUS_BETAADDON_STATUS_RELEASEThe strength of this plugin. Currently unused.
5 available options
STRENGTH_LOWSTRENGTH_MEDIUMSTRENGTH_HIGHSTRENGTH_INSANESTRENGTH_OFFThe threshold of this plugin. Currently unused.
4 available options
THRESHOLD_LOWTHRESHOLD_MEDIUMTHRESHOLD_HIGHTHRESHOLD_OFFTechnology flags for this policy. This is a collection of specific technology identifiers that further configure scan behavior.
Hide child attributesShow child attributes
The UUID identifier of the scan policy application. If no application ID is present, the scan policy is defined by StackHawk. If the application ID is present, then the scan policy is customized for the given application only.
The description for this policy.
The human readable display name for this policy.
The UUID identifier of this scan policy.
Indicates whether the plugins have been updated from original scan policy.
The referencable unique name of a StackHawk scan policy.
List of the plugins defined for this policy.
Hide child attributesShow child attributes
Default risk for this plugin. Currently unused.
5 available options
UNKNOWNINFOLOWMEDIUMHIGHEnables the plugin. Plugins will only run in a scan when marked as enabled.
Maximum number of alerts from this plugin reported to the platform. The plugin keeps testing past the limit; only reporting is capped. Unset or 0 means unlimited. Must be non-negative; HawkScan treats a negative value as 0 (unlimited). Managed by StackHawk.
The Plugin name.
The UUID identifier of this plugin.
The type of plugin to run as. Either ACTIVE or PASSIVE.
2 available options
ACTIVEPASSIVEThe release quality of this plugin.
3 available options
ADDON_STATUS_ALPHAADDON_STATUS_BETAADDON_STATUS_RELEASEThe strength of this plugin. Currently unused.
5 available options
STRENGTH_LOWSTRENGTH_MEDIUMSTRENGTH_HIGHSTRENGTH_INSANESTRENGTH_OFFThe threshold of this plugin. Currently unused.
4 available options
THRESHOLD_LOWTHRESHOLD_MEDIUMTHRESHOLD_HIGHTHRESHOLD_OFFTechnology flags for this policy. This is a collection of specific technology identifiers that further configure scan behavior.