post https://domain/v2/public/exemptions/rule//scan
Triggers an Exemption rule scan job on-demand.
The job requires a rule_id
and will only work under following criteria:
- an Exemption rule exists for the provided
rule_id
- the matching rule must have at least one regular expression string to look for
This job creates Insight Exemption for resources meeting following criteria:
- The resource must be a member of the same organization (sharing the same
organization_id
) as the rule - The resource must not already be actively exempted for the Insight specified by rule's target Insight
An active Exemption must be:
enabled
start_date
is before the current timestampexpiration_date
is after the current timestamp or is not set- Resource must be of the same
resource_type
as the rule's target resource type - Resource must have
resource_id
orname
that matches at least one of rule's targetregex_strings