# 승인 이벤트

<mark style="background-color:green;">GET</mark> `https://openapi.exosp.com/audit/v1/admin/approval`

승인 이벤트를 조회하는 API 입니다.

### Query Parameters

| 항목                                          | 타입     | 설명                                                                                                        |
| ------------------------------------------- | ------ | --------------------------------------------------------------------------------------------------------- |
| offset<mark style="color:red;">\*</mark>    | int    | **((현재 페이지 번호 -1)\*tableSize)** 현재 페이지의 첫 번째 데이터가 위치한 인덱스를 나타냅니다.                                         |
| tableSize<mark style="color:red;">\*</mark> | int    | **페이지 사이즈**                                                                                               |
| timezone                                    | string | **응답 데이터 타임존**<https://en.wikipedia.org/wiki/List_of_tz_database_time_zones> 에서 TZ identifier 참고기본값 : UTC |
| sortType<mark style="color:red;">\*</mark>  | string | <p><strong>응답 데이터 정렬 유형 (제어 시각 기준)</strong><br>ASC : 오름차순, DESC : 내림차순</p>                                |

### Response Schema

<table><thead><tr><th width="162">항목</th><th width="115">타입</th><th>설명</th></tr></thead><tbody><tr><td>code</td><td>int</td><td><p><strong>응답 처리 결과 코드</strong> </p><p>0 : 성공, 1 : 실패</p></td></tr><tr><td>message</td><td>string</td><td><p><strong>응답 처리 결과 메세지</strong></p><p>success : 성공, 그 외 : 실패</p></td></tr><tr><td>body</td><td>object</td><td><a data-mention href="#body">#body</a></td></tr></tbody></table>

#### **body 상세**

<table><thead><tr><th width="164">항목</th><th width="115">타입</th><th>설명</th></tr></thead><tbody><tr><td>searchDate</td><td>string</td><td><strong>조회날짜</strong></td></tr><tr><td>total</td><td>int</td><td><strong>전체 레코드 수</strong></td></tr><tr><td>data</td><td>array</td><td><a data-mention href="#data">#data</a></td></tr></tbody></table>

#### data **상세**

<table><thead><tr><th width="181">항목</th><th width="110">타입</th><th>설명</th></tr></thead><tbody><tr><td>name</td><td>string</td><td><strong>사용자 이름</strong></td></tr><tr><td>email</td><td>string</td><td><strong>사용자 메일</strong></td></tr><tr><td>departmentFull</td><td>string</td><td><strong>그룹 전체 경로</strong></td></tr><tr><td>eventType</td><td>string</td><td><p><strong>이벤트 유형</strong></p><ul><li>Device Approval : 매체 승인</li><li>File Export Approval : 파일 반출 승인</li><li>Print Approval : 출력물 승인</li><li>Temporary Decryption Approval : 암호화 임시 해제 승인</li><li>Crypto Archive End Approval : 암호화 보관 종료 승인</li><li>Auto-approval settings : 자동 승인 설정</li></ul></td></tr><tr><td>eventLocation</td><td>string</td><td><p><strong>이벤트 발생 경로</strong></p><ul><li>Admin Console : 관리자페이지</li><li>Email</li><li>user page : 사용자페이지</li><li>auto : 자동<br></li></ul></td></tr><tr><td>eventDetailData</td><td>array</td><td><p><strong>이벤트 유형 데이터 상세</strong></p><ul><li>Pending : 대기</li><li>Approved : 승인</li><li>Rejected : 반려</li><li>Allow(File Export Log) : 허용(파일반출 기록)</li><li>Block : 연결 차단</li><li>Read-only : 읽기전용</li><li>Exception : 관제대상에서 제외</li><li>Approval expiration time change : 승인 만료 시각 변경</li><li>Approved Time : 승인 시각</li><li>Expiring Time : 승인 만료 시각</li><li>Sensitive Information Files : 개인(민감)정보 파일</li><li>Do Not Scan Sensitive Information : 개인(민감)정보 검사 안 함</li><li>Sensitive Information Scan-Failed Files : 개인(민감)정보 검사 실패 파일</li><li>Encrypted File : 암호화 파일</li></ul></td></tr><tr><td>ip</td><td>string</td><td><strong>IP</strong></td></tr><tr><td>userAgent</td><td>string</td><td><strong>클라이언트의 브라우저</strong></td></tr><tr><td>dateOfEntryUTC</td><td>string</td><td><strong>정책 생성 시각</strong><br>UTC 기준, ISO 8601포맷</td></tr><tr><td>dateOfEntry</td><td>string</td><td><strong>정책 생성 시각</strong><br>요청 타임존 기준, ISO 8601포맷</td></tr></tbody></table>

### Example

{% tabs %}
{% tab title="200 Success" %}

```javascript
curl -X 'GET' \
  'https://openapi.exosp.com/audit/v1/admin/approval?offset=0&tableSize=1&timezone=Asia%2FSeoul&sortType=DESC' \
  -H 'accept: application/json' \
  -H 'x-exosp-access: YOUR_ACCESS_KEY' \
  -H 'x-exosp-secret: YOUR_ACCESS_SECRET' 

{
  "code": 0,
  "message": "success",
  "body": {
    "searchDate": "2025-10-31 ~ 2026-01-30",
    "data": [
      {
        "name": "ayeon",
        "email": "ayeon@exosp.com",
        "eventType": "Print Approval",
        "eventLocation": "user page",
        "eventDetailData": "승인(워터마크 출력) - ayeon(DESKTOP-S6HJLB1) - 승인 시각(2026-01-15 08:43:09) - 승인 만료 시각(2026-01-15 09:13:09)",
        "ip": "221.158.214.203",
        "userAgent": "Google Chrome - PC - windows",
        "dateTimeUTC": "2026-01-15T08:43:09+00:00",
        "dateTime": "2026-01-15T17:43:09+09:00"
      }
    ],
    "total": 6,
    "offset": 0,
    "tableSize": 1
  }
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://openapi-docs.exosp.com/guide/logs/audit/policy-setting-3.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
