Post Exclusion

Add a new exclusion

Log in to see full request history
Body Params

details for the exclusion

array of objects | null
required

[Optional] List of rules to apply the exclusion on.

rules*
array of strings | null
required

[Optional] The GSL logic expressions of the exclusion.

logicExpressions*
array of strings | null
required

[Optional] List of severities to exclude. Valid values: ['Informational', 'Low', 'Medium', 'High', 'Critical']

severities*
array of strings | null
required

[Optional] List of cloud account IDs to apply exclusion on.
If neither cloud account IDs nor organizational unit IDs are supplied, exclusion will apply on all cloud accounts.
If both organizational unit IDs and cloud account IDs are supplied, only organizational unit IDs will take effect.

cloudAccountIds*
array of strings | null
required

[Optional] List of organizational unit IDs to apply exclusion on.
If neither organizational unit IDs nor cloud account IDs are supplied, exclusion will apply on all cloud accounts.
If both organizational unit IDs and cloud account IDs are supplied, only organizational unit IDs will take effect.

organizationalUnitIds*
string | null
required

Comment text (free text)

required

[Optional] Date range for the exclusion to take effect.
The exclusion will take effect permanently unless a specific date range is specified.
Leaving 'From' null will take only 'To' into account.
Leaving 'To' null will take only 'From' into account.
DateRange with both 'From' and 'To' null will be disregarded.

int64
required

Ruleset ID to apply exclusion on. Use '0' to apply on all rulesets.

Response

Language
Credentials
:
URL
Click Try It! to start a request and see the response here! Or choose an example:
application/json