sootool.policy_get
Retrieves a policy file’s content, source, and version by domain, name, and year, with optional as-of date and proposed amendments to identify the version in effect.
Instructions
정책 파일 하나의 내용(data)과 출처(package 또는 override), 버전 정보를 반환한다. domain, name, year 로 지정하고 as_of(YYYY-MM-DD)로 그날 시행 중인 버전을, include_proposed 로 확정 전 개정안까지 고를 수 있다. 존재하지 않는 연도를 지정하면 오류가 난다.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| year | Yes | ||
| as_of | No | ||
| domain | Yes | ||
| include_proposed | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| name | Yes | ||
| year | Yes | ||
| _meta | No | 서버가 붙이는 영수증(integrity), 엔진, 힌트 | |
| domain | Yes | ||
| source | Yes | ||
| policy_version | Yes | 적용된 정책 문서의 식별 정보 |