PolicySummary 스키마

PolicySummary 스키마

ListPolicies가 반환하는 얕은(shallow) 정책 표현이에요. 규칙 세트는 제외돼요.

출처: 문서

본문

스키마 — PolicySummary · 유형: object

ListPolicies가 반환하는 얕은(shallow) 정책 표현이에요. 규칙 세트는 제외돼요.

created_at · 필수 — 유형: string (date-time)

{
  "examples": [
    "2026-04-22T00:00:00Z"
  ],
  "format": "date-time",
  "type": "string"
}

id · 필수 — 유형: string

{
  "examples": [
    "pol_06evsmp24r1pg71cm8500546pkbn"
  ],
  "type": "string"
}

name · 필수 — 유형: string — 조직 내에서 고유한 사람이 읽을 수 있는 라벨.

{
  "description": "Human-readable label, unique within the organization.",
  "examples": [
    "Security Research — hardened"
  ],
  "type": "string"
}

org · 필수 — 유형: string

{
  "examples": [
    "my-org"
  ],
  "type": "string"
}

scope · 필수 — 스키마: Scope

type · 필수 — 유형: string — 정책 유형을 식별. allowlist_v0: 네트워크/파일시스템 허용 목록 정책; cedar_v1: Cedar 언어 정책.

{
  "description": "Identifies the policy type. `allowlist_v0` for network/filesystem allowlist policies; `cedar_v1` for Cedar language policies.\n",
  "enum": [
    "allowlist_v0",
    "cedar_v1"
  ],
  "examples": [
    "allowlist_v0"
  ],
  "type": "string"
}

updated_at · 필수 — 유형: string (date-time)

{
  "examples": [
    "2026-04-22T00:00:00Z"
  ],
  "format": "date-time",
  "type": "string"
}

전체 스키마:

{
  "description": "Shallow policy representation returned by ListPolicies. Excludes the rule set.",
  "properties": {
    "created_at": {
      "examples": [
        "2026-04-22T00:00:00Z"
      ],
      "format": "date-time",
      "type": "string"
    },
    "id": {
      "examples": [
        "pol_06evsmp24r1pg71cm8500546pkbn"
      ],
      "type": "string"
    },
    "name": {
      "description": "Human-readable label, unique within the organization.",
      "examples": [
        "Security Research — hardened"
      ],
      "type": "string"
    },
    "org": {
      "examples": [
        "my-org"
      ],
      "type": "string"
    },
    "scope": {
      "$ref": "#/components/schemas/Scope"
    },
    "type": {
      "description": "Identifies the policy type. `allowlist_v0` for network/filesystem allowlist policies; `cedar_v1` for Cedar language policies.\n",
      "enum": [
        "allowlist_v0",
        "cedar_v1"
      ],
      "examples": [
        "allowlist_v0"
      ],
      "type": "string"
    },
    "updated_at": {
      "examples": [
        "2026-04-22T00:00:00Z"
      ],
      "format": "date-time",
      "type": "string"
    }
  },
  "required": [
    "id",
    "name",
    "org",
    "scope",
    "created_at",
    "updated_at",
    "type"
  ],
  "type": "object"
}

더 알아보기 (Learn more)