Get scheme for a specific account
Gets scheme for a specific account.
Path Parameters
- accountId string required
- 200
- 422
Get enforcement rules for account
- application/json
- Schema
- Example (from schema)
Schema
- accountId string required
codeCategories object required
IAC object required
commentsBotThreshold RuleThreshold requiredPossible values: [
OFF
,INFO
,LOW
,MEDIUM
,HIGH
,CRITICAL
]hardFailThreshold RuleThreshold requiredPossible values: [
OFF
,INFO
,LOW
,MEDIUM
,HIGH
,CRITICAL
]softFailThreshold RuleThreshold requiredPossible values: [
OFF
,INFO
,LOW
,MEDIUM
,HIGH
,CRITICAL
]IMAGES object required
commentsBotThreshold RuleThreshold requiredPossible values: [
OFF
,INFO
,LOW
,MEDIUM
,HIGH
,CRITICAL
]hardFailThreshold RuleThreshold requiredPossible values: [
OFF
,INFO
,LOW
,MEDIUM
,HIGH
,CRITICAL
]softFailThreshold RuleThreshold requiredPossible values: [
OFF
,INFO
,LOW
,MEDIUM
,HIGH
,CRITICAL
]OPEN_SOURCE object required
commentsBotThreshold RuleThreshold requiredPossible values: [
OFF
,INFO
,LOW
,MEDIUM
,HIGH
,CRITICAL
]hardFailThreshold RuleThreshold requiredPossible values: [
OFF
,INFO
,LOW
,MEDIUM
,HIGH
,CRITICAL
]softFailThreshold RuleThreshold requiredPossible values: [
OFF
,INFO
,LOW
,MEDIUM
,HIGH
,CRITICAL
]SECRETS object required
commentsBotThreshold RuleThreshold requiredPossible values: [
OFF
,INFO
,LOW
,MEDIUM
,HIGH
,CRITICAL
]hardFailThreshold RuleThreshold requiredPossible values: [
OFF
,INFO
,LOW
,MEDIUM
,HIGH
,CRITICAL
]softFailThreshold RuleThreshold requiredPossible values: [
OFF
,INFO
,LOW
,MEDIUM
,HIGH
,CRITICAL
]SUPPLY_CHAIN object required
commentsBotThreshold RuleThreshold requiredPossible values: [
OFF
,INFO
,LOW
,MEDIUM
,HIGH
,CRITICAL
]hardFailThreshold RuleThreshold requiredPossible values: [
OFF
,INFO
,LOW
,MEDIUM
,HIGH
,CRITICAL
]softFailThreshold RuleThreshold requiredPossible values: [
OFF
,INFO
,LOW
,MEDIUM
,HIGH
,CRITICAL
]
{
"accountId": "string",
"codeCategories": {
"IAC": {
"commentsBotThreshold": "OFF",
"hardFailThreshold": "OFF",
"softFailThreshold": "OFF"
},
"IMAGES": {
"commentsBotThreshold": "OFF",
"hardFailThreshold": "OFF",
"softFailThreshold": "OFF"
},
"OPEN_SOURCE": {
"commentsBotThreshold": "OFF",
"hardFailThreshold": "OFF",
"softFailThreshold": "OFF"
},
"SECRETS": {
"commentsBotThreshold": "OFF",
"hardFailThreshold": "OFF",
"softFailThreshold": "OFF"
},
"SUPPLY_CHAIN": {
"commentsBotThreshold": "OFF",
"hardFailThreshold": "OFF",
"softFailThreshold": "OFF"
}
}
}
Request arguments validation error