Skip to main content

Get Scheme for Specific Account

GET 

/code/api/v1/enforcement-rules/account/:accountId

Gets scheme for a specific account.

Request

Path Parameters

    accountId stringrequired

Responses

Get enforcement rules for account

Schema
    accountId stringrequired
    codeCategories objectrequired
    IAC objectrequired
    commentsBotThreshold RuleThreshold (string)required

    Possible values: [OFF, INFO, LOW, MEDIUM, HIGH, CRITICAL]

    hardFailThreshold RuleThreshold (string)required

    Possible values: [OFF, INFO, LOW, MEDIUM, HIGH, CRITICAL]

    softFailThreshold RuleThreshold (string)required

    Possible values: [OFF, INFO, LOW, MEDIUM, HIGH, CRITICAL]

    IMAGES objectrequired
    commentsBotThreshold RuleThreshold (string)required

    Possible values: [OFF, INFO, LOW, MEDIUM, HIGH, CRITICAL]

    hardFailThreshold RuleThreshold (string)required

    Possible values: [OFF, INFO, LOW, MEDIUM, HIGH, CRITICAL]

    softFailThreshold RuleThreshold (string)required

    Possible values: [OFF, INFO, LOW, MEDIUM, HIGH, CRITICAL]

    OPEN_SOURCE objectrequired
    commentsBotThreshold RuleThreshold (string)required

    Possible values: [OFF, INFO, LOW, MEDIUM, HIGH, CRITICAL]

    hardFailThreshold RuleThreshold (string)required

    Possible values: [OFF, INFO, LOW, MEDIUM, HIGH, CRITICAL]

    softFailThreshold RuleThreshold (string)required

    Possible values: [OFF, INFO, LOW, MEDIUM, HIGH, CRITICAL]

    SECRETS objectrequired
    commentsBotThreshold RuleThreshold (string)required

    Possible values: [OFF, INFO, LOW, MEDIUM, HIGH, CRITICAL]

    hardFailThreshold RuleThreshold (string)required

    Possible values: [OFF, INFO, LOW, MEDIUM, HIGH, CRITICAL]

    softFailThreshold RuleThreshold (string)required

    Possible values: [OFF, INFO, LOW, MEDIUM, HIGH, CRITICAL]

    SUPPLY_CHAIN objectrequired
    commentsBotThreshold RuleThreshold (string)required

    Possible values: [OFF, INFO, LOW, MEDIUM, HIGH, CRITICAL]

    hardFailThreshold RuleThreshold (string)required

    Possible values: [OFF, INFO, LOW, MEDIUM, HIGH, CRITICAL]

    softFailThreshold RuleThreshold (string)required

    Possible values: [OFF, INFO, LOW, MEDIUM, HIGH, CRITICAL]

Loading...