Skip to main content

Request Scorecard rule exemption

POST 

/api/v1/scorecards/:tag/entity/:entityTag/exemption

Request Scorecard rule exemption

Request

Path Parameters

    tag stringrequired

    Unique tag for the Scorecard

    Example: my-production-readiness-checklist
    entityTag stringrequired

    The entity tag (x-cortex-tag) that identifies the entity.

Body

required

    days int64nullable

    Number of days how long rule should be exempt. If not set, rule will be exempt until exempt until revoked.

    reason stringrequired

    Reason for creating exemption

    ruleIdentifier stringrequired

    Identifier of the Scorecard rule to request exemption for

Responses

Successfully requested Scorecard rule exemption

Schema

    endDate date-time

    exemptionStatus

    object

    required

    date date-time

    Date on which the exemption was approved or rejected. Null if the status is pending

    handledBy

    object

    API key or person who requested, approved, or rejected the exemption

    oneOf

    email string

    Email of the person who requested, approved or rejected the exemption

    name string

    Name of the person who requested, approved or rejected the exemption

    status stringrequired

    Status of the exemption. Possible values are APPROVED, REJECTED, and PENDING

    requestedBy

    object

    required

    API key or person who requested, approved, or rejected the exemption

    oneOf

    email string

    Email of the person who requested, approved or rejected the exemption

    name string

    Name of the person who requested, approved or rejected the exemption

    requestedDate date-timerequired
    requestingReason stringrequired
Loading...