Skip to main content
PUT
Replace

Authorizations

Authorization
string
header
required

Bearer API Key. For example, "Bearer {Tenant API Key}"

Headers

Authorization
string
required

Bearer API Key. For example, "Bearer {Tenant API Key}"

Content-Type
string

application/json

If-Match
string

The version returned by the read, echoed back unchanged. When supplied, the write is rejected with a 412 unless it still matches the stored value. When omitted, the write applies unconditionally. Omit it only when the detection has no stored configuration on the profile yet.

Path Parameters

profileId
string
required

Profile ID, or the literal string default for the tenant's default profile. default covers only the integrations that have not been given a profile of their own, so on a tenant with more than one profile it does not reach the rest. Use List profiles to get the IDs.

Example:

"default"

detectionId
string
required

Detection ID. A finding reports the detection that produced it in its detectionId field.

Example:

"PLERION-AWS-16"

Body

application/json
exemptions
object[]
required

The complete exemption set for the detection. Send an empty array to clear it.

One exemption rule to write. The type decides which other fields apply, and which types a detection accepts is reported by supportedExemptionTypes on the read. The read returns StoredDetectionExemption, which is looser.

Response

Exemptions replaced

data
object

The exemptions configured for one detection on one profile.