Scope 스키마

Scope 스키마

정책을 특정 팀으로 제한해요. 빈 목록이나 없는 목록은 정책이 조직 전체(org-wide)에 적용된다는 뜻이에요.

출처: 문서

본문

스키마 — Scope · 유형: object

정책을 특정 팀으로 제한해요. 빈 목록이나 없는 목록은 정책이 조직 전체(org-wide)에 적용된다는 뜻이에요.

teams — 유형: array — 정책이 적용되는 팀 ID. 각각은 조직의 유효한 팀이어야 해요. 배열 항목 유형: string

{
  "type": "string"
}
{
  "description": "Team IDs the policy applies to. Each must be a valid team in the organization.",
  "examples": [
    [
      "d290f1ee-6c54-4b01-90e6-d701748f0851"
    ]
  ],
  "items": {
    "type": "string"
  },
  "type": "array"
}

전체 스키마:

{
  "description": "Restricts the policy to specific teams. An empty or absent list means the policy applies org-wide.",
  "properties": {
    "teams": {
      "description": "Team IDs the policy applies to. Each must be a valid team in the organization.",
      "examples": [
        [
          "d290f1ee-6c54-4b01-90e6-d701748f0851"
        ]
      ],
      "items": {
        "type": "string"
      },
      "type": "array"
    }
  },
  "type": "object"
}

더 알아보기 (Learn more)