getMemberActionLog

Prev Next

Classic 환경에서 이용 가능합니다.

사용자 계정에서 발생한 액션 로그 및 관리자 대응 정보를 조회합니다.

요청

요청 형식을 설명합니다. 요청 형식은 다음과 같습니다.

메서드 URI
POST /{type}/{zone}/getMemberActionLog

요청 헤더

Secure Zone API에서 공통으로 사용하는 헤더에 대한 자세한 내용은 Secure Zone 요청 헤더를 참조해 주십시오.

요청 경로 파라미터

파라미터에 대한 설명은 다음과 같습니다.

필드 타입 필수 여부 설명
type String Required Secure Zone에서 제공하는 방화벽 유형
  • szfw | psfw
    • szfw: Secure Zone Standard
    • psfw: Secure Zone Advanced
zone String Required Secure Zone을 구성한 존
  • kr1 | kr2
    • kr1: KR-1 존
    • kr2: KR-2 존

요청 바디

요청 바디에 대한 설명은 다음과 같습니다.

필드 타입 필수 여부 설명
result String Optional 작업 결과
  • success | fail
    • success: 작업 성공
    • fail: 작업 실패
followUpYn String Optional 관리자의 대응 완료 여부
  • Y | N
fromDate Date Optional 조회 기간의 시작일
toDate Date Optional 조회 기간의 종료일
page Integer Optional 페이지 인덱스
  • 0 (기본값)
countPerPage Integer Optional 페이지당 항목 수
  • 20 (기본값)
actionList[] String Optional 액션 로그 유형

요청 예시

요청 예시는 다음과 같습니다.

curl --location --request POST 'https://securezonefirewall.apigw.gov-ntruss.com/api/v2/szfw/kr2/getMemberActionLog'
--header 'x-ncp-apigw-timestamp: {Timestamp}' \
--header 'x-ncp-iam-access-key: {Access Key}' \
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' \
--header 'x-ncp-mbr_no: {User number}' \
--header 'Content-Type: application/json' \
--data '{
  "result": "fail",
  "page": 0,
  "countPerPage": 0
}'

응답

응답 형식을 설명합니다.

응답 바디

응답 바디에 대한 설명은 다음과 같습니다.

필드 타입 필수 여부 설명
action String - 요청 유형
returnCode Integer - 응답 코드
returnMessage String - 응답 메시지
memberActionList[] Array - 액션 로그의 정보
memberActionList[].actionLogSeq Integer - 액션 로그 번호
memberActionList[].memberNo String - 사용자의 네이버 클라우드 플랫폼 회원 번호
memberActionList[].instanceNo String - 인스턴스 생성 시 부여된 계약 번호
memberActionList[].action String - 액션 로그 타입
memberActionList[].actionDescription String - 액션 로그 타입에 대한 설명
memberActionList[].result String - 액션의 결과
memberActionList[].actionFailType String - 액션 실패 타입
memberActionList[].actionFailDescription String - 액션 실패에 대한 설명
memberActionList[].followUpYn String - 관리자의 대응 완료 여부
memberActionList[].followUpType String - 대응 타입
memberActionList[].followUpDescription String - 대응에 대한 설명
memberActionList[].followUpYmdt Long - 대응 시점(Unix timestamp)
memberActionList[].followUpEmpNo String - 대응한 관리자의 사번
memberActionList[].followUpEmpName String - 대응한 관리자의 이름
memberActionList[].regYmdt Long - 최초 등록일(Unix timestamp)
memberActionList[].lstModYmdt Long - 최종 수정일(Unix timestamp)
totalCount Integer - 액션 로그의 총 개수

응답 상태 코드

네이버 클라우드 플랫폼에서 공통으로 사용하는 응답 상태 코드에 대한 자세한 내용은 Ncloud API 응답 상태 코드를 참조해 주십시오.

응답 예시

응답 예시는 다음과 같습니다.

{
    "action": "getMemberActionLog",
    "returnCode": 0,
    "returnMessage": "success",
    "memberActionList": [
        {
            "actionLogSeq": 47250,
            "memberNo": "27***85",
            "instanceNo": "25****11",
            "action": "FIREWALL_POLICY_REARRANGE",
            "actionDescription": "정책 순서변경",
            "result": "fail",
            "actionFailType": "FIREWALL_POLICY_MOVE_FAIL",
            "actionFailDescription": "방화벽 정책 이동 실패",
            "followUpYn": "N",
            "followUpType": "",
            "followUpDescription": null,
            "followUpYmdt": null,
            "followUpEmpNo": null,
            "followUpEmpName": null,
            "regYmdt": 1719895728000,
            "lstModYmdt": 1719895728000
        }
    ],
    "totalCount": 1
}