Rule 스키마
Rule 스키마
허용 목록(allowlist) 정책 내의 단일 allow 또는 deny 규칙이에요.
출처: 문서
본문
스키마 — Rule · 유형: object
허용 목록(allowlist) 정책 내의 단일 allow 또는 deny 규칙이에요.
actions · 필수 — 스키마: RuleActions
decision · 필수 — 스키마: RuleDecision
id · 필수 — 유형: string
{
"examples": [
"rule_06evsm9qjm1pdsk0a8nkfaxy7jna"
],
"type": "string"
}
name · 필수 — 유형: string — 규칙에 대한 사람이 읽을 수 있는 라벨.
{
"description": "Human-readable label for the rule.",
"examples": [
"allow research mirrors"
],
"type": "string"
}
resources · 필수 — 스키마: RuleResources
전체 스키마:
{
"description": "A single allow or deny rule within an allowlist policy.",
"properties": {
"actions": {
"$ref": "#/components/schemas/RuleActions"
},
"decision": {
"$ref": "#/components/schemas/RuleDecision"
},
"id": {
"examples": [
"rule_06evsm9qjm1pdsk0a8nkfaxy7jna"
],
"type": "string"
},
"name": {
"description": "Human-readable label for the rule.",
"examples": [
"allow research mirrors"
],
"type": "string"
},
"resources": {
"$ref": "#/components/schemas/RuleResources"
}
},
"required": [
"id",
"name",
"actions",
"resources",
"decision"
],
"type": "object"
}