GetDeletedExceptionRule
    • PDF

    GetDeletedExceptionRule

    • PDF

    Article Summary

    개요

    삭제된 예외 규칙 목록을 조회합니다.

    필요 권한

    • View/getDeletedUserExceptionRuleDetail

    요청

    요청 파라미터

    파라미터명필수 여부타입설명
    pageIndexYesinteger페이지 번호
    pageSizeYesinteger페이지 출력 개수

    요청 헤더

    헤더명필수 여부타입설명
    X-NCP-USE_PLATFORM_TYPEYesstringVPC, CLASSIC 환경 중 택일

    응답

    응답 바디

    • 응답 메시지 (1)
    항목타입설명
    successboolean요청 처리 여부
    codeInteger응답코드
    messageString응답 메시지
    resultObject요청 결과
    - contentArray예외 규칙 내역 목록
    - totalCountInteger총 항목 개수
    - pageSizeInteger현재 페이지 출력 개수
    - pageIndexInteger현재 페이지 번호
    - totalPagesInteger총 페이지 개수
    • 응답 메시지 (2) : 예외 규칙 내역(content)
    항목타입설명
    exceptedRuleIdstring예외 규칙 ID
    exceptedRuleNamestring예외 규칙 이름
    exceptTargetTypestring예외 적용 대상 유형 (서버 그룹: serverGroup, 모든 서버: everyServer, 특정 서버: server)
    exceptTargetstring예외 적용 대상의 인스턴스 ID
    exceptTargetNamestring예외 적용 대상의 이름
    processNamestring(예외 규칙 조건) 비교할 프로세스 이름
    processNameConditionstring(예외 규칙 조건) 프로세스 이름 비교 조건 (정확히 일치: EQUAL, 조건 사용하지 않음: NOT_USE, 시작 문자열 일치: START, 마지막 문자열 일치: END)
    processArgstring(예외 규칙 조건) 비교할 프로세스 인자
    processArgConditionstring(예외 규칙 조건) 프로세스 인자 비교 조건 (정확히 일치: EQUAL, 조건 사용하지 않음: NOT_USE, 시작 문자열 일치: START, 마지막 문자열 일치: END)
    executorstring(예외 규칙 조건) 비교할 실행 계정
    executorConditionstring(예외 규칙 조건) 실행 계정 비교 조건 (정확히 일치: EQUAL, 조건 사용하지 않음: NOT_USE, 시작 문자열 일치: START, 마지막 문자열 일치: END)
    processNameOfParentstring(예외 규칙 조건) 비교할 부모 프로세스 이름
    processNameOfParentConditionstring(예외 규칙 조건) 부모 프로세스 이름 비교 조건 (정확히 일치: EQUAL, 조건 사용하지 않음: NOT_USE, 시작 문자열 일치: START, 마지막 문자열 일치: END)
    processArgOfParentstring(예외 규칙 조건) 비교할 부모 프로세스 인자
    processArgOfParentConditionstring(예외 규칙 조건) 부모 프로세스 인자 비교 조건 (정확히 일치: EQUAL, 조건 사용하지 않음: NOT_USE, 시작 문자열 일치: START, 마지막 문자열 일치: END)
    executorOfParentstring(예외 규칙 조건) 비교할 부모 프로세스의 실행 계정
    executorOfParentConditionstring(예외 규칙 조건) 부모 프로세스의 실행 계정 비교 조건 (정확히 일치: EQUAL, 조건 사용하지 않음: NOT_USE, 시작 문자열 일치: START, 마지막 문자열 일치: END)
    createdTimeinteger예외 규칙 생성 일자(timestamp)
    createdTimeinteger예외 규칙 삭제 일자(deletedTime)
    isDeletedboolean예외 규칙 삭제 여부
    memoboolean예외 규칙 메모

    예시

    요청 예시

    GET {WBD_API_URL}/deleted-exception-rules?pageIndex=0&pageSize=1
    X-NCP-USE_PLATFORM_TYPE: VPC
    Content-Type: application/json; charset=utf-8
    x-ncp-apigw-timestamp: {Timestamp}
    x-ncp-iam-access-key: {Sub Account Access Key or STS Access Key}`
    x-ncp-apigw-signature-v2: {API Gateway Signature}
    

    응답 예시

    {
      "success": true,
      "code": 0,
      "message": "success",
      "result": {
        "content": [
          {
            "disabled": false,
            "actionName": null,
            "permission": null,
            "exceptedRuleId": "2021022013573700000001",
            "exceptedRuleName": "test",
            "exceptTargetType": "server",
            "exceptTarget": "{target_instance_id}",
            "exceptTargetName": "{target_name}",
            "processName": "{process_name}",
            "processNameCondition": "EQUAL",
            "processArg": "{process_arg}",
            "processArgCondition": "EQUAL",
            "executor": "{executor}",
            "executorCondition": "EQUAL",
            "processNameOfParent": "{parent_process_name}",
            "processNameOfParentCondition": "EQUAL",
            "processArgOfParent": "{parent_process_arg}",
            "processArgOfParentCondition": "EQUAL",
            "executorOfParent": "{parent_executor}",
            "executorOfParentCondition": "EQUAL",
            "createdTime": 1613797057218,
            "deletedTime": null,
            "isDeleted": true,
            "memo": null,
            "memberNo": 1234,
            "groupIsDeleted": null
          }
        ],
        "totalCount": 14,
        "pageSize": 1,
        "pageIndex": 0,
        "totalPages": 14
      }
    }
    

    오류 코드 예시

    {
      "success": false,
      "code": 400,
      "message": "Platform must be not null.",
      "result": null
    }
    

    이 문서가 도움이 되었습니까?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.