MENU
      GetExceptionRule

        GetExceptionRule


        기사 요약

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

        웹쉘 의심 행위에 대한 예외 규칙 목록을 조회합니다.

        요청

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

        메서드URI
        GET/exception-rules

        요청 헤더

        Webshell Behavior Detector API에서 공통으로 사용하는 헤더에 대한 정보는 Webshell Behavior Detector 공통 헤더를 참조해 주십시오.

        요청 쿼리 파라미터

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

        필드타입필수 여부설명
        pageIndexIntegerRequired페이지 번호
        pageSizeIntegerRequired페이지 출력 개수

        요청 예시

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

        curl --location --request GET 'https://wbd.apigw.ntruss.com/api/v1/exception-rules?pageIndex=0&pageSize=2' \
        --header 'x-ncp-apigw-timestamp: {Timestamp}' \
        --header 'x-ncp-iam-access-key: {Access Key}' \
        --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' \
        --header 'Content-Type: application/json' \
        --header 'X-NCP-USE_PLATFORM_TYPE: VPC'
        Shell

        응답

        응답 형식을 설명합니다.

        응답 바디

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

        필드타입필수 여부설명
        successBoolean-요청 처리 여부
        codeInteger-응답 코드
        messageString-응답 메시지
        resultObject-응답 결과
        contentArray-예외 규칙 내역 목록
        totalCountInteger-응답 결과 개수
        pageSizeInteger-페이지 출력 개수
        pageIndexInteger-페이지 번호
        totalPagesInteger-총 페이지 개수

        예외 규칙 내역(content)

        content에 대한 설명은 다음과 같습니다.

        필드타입필수 여부설명
        disabledBoolean-예외 규칙 비활성화 여부
        • 서브 계정일 경우 표시
        • true | false
          • true: 비활성
          • false: 활성
        actionNameString-서브 계정의 액션 이름
        • 서브 계정일 경우 표시
        permissionEnum-서브 계정의 권한
        • 서브 계정일 경우 표시
        • Allow | Deny
        exceptedRuleIdString-예외 규칙 ID
        exceptedRuleNameString-예외 규칙 이름
        exceptTargetTypeString-예외 대상 유형
        • serverGroup | everyServer | server
          • serverGroup: 서버 그룹
          • everyServer: 모든 서버
          • server: 특정 서버
        exceptTargetString-예외 대상의 인스턴스 ID
        exceptTargetNameString-예외 대상의 이름
        processNameString-비교할 프로세스 이름
        processNameConditionString-프로세스 이름의 비교 조건
        • EQUAL | NOT_USE | START | END
          • EQUAL: 정확히 일치
          • NOT_USE: 비교 조건을 사용하지 않음
          • START: 시작 문자열 일치
          • END: 마지막 문자열 일치
        processArgString-비교할 프로세스 인자
        processArgConditionString-프로세스 인자의 비교 조건
        • EQUAL | NOT_USE | START | END
          • EQUAL: 정확히 일치
          • NOT_USE: 비교 조건을 사용하지 않음
          • START: 시작 문자열 일치
          • END: 마지막 문자열 일치
        executorString-비교할 실행 계정
        executorConditionString-실행 계정의 비교 조건
        • EQUAL | NOT_USE | START | END
          • EQUAL: 정확히 일치
          • NOT_USE: 비교 조건을 사용하지 않음
          • START: 시작 문자열 일치
          • END: 마지막 문자열 일치
        processNameOfParentString-비교할 부모 프로세스 이름
        processNameOfParentConditionString-부모 프로세스 이름의 비교 조건
        • EQUAL | NOT_USE | START | END
          • EQUAL: 정확히 일치
          • NOT_USE: 비교 조건을 사용하지 않음
          • START: 시작 문자열 일치
          • END: 마지막 문자열 일치
        processArgOfParentString-비교할 부모 프로세스 인자
        processArgOfParentConditionString-부모 프로세스 인자의 비교 조건
        • EQUAL | NOT_USE | START | END
          • EQUAL: 정확히 일치
          • NOT_USE: 비교 조건을 사용하지 않음
          • START: 시작 문자열 일치
          • END: 마지막 문자열 일치
        executorOfParentString-비교할 부모 프로세스의 실행 계정
        executorOfParentConditionString-부모 프로세스 실행 계정의 비교 조건
        • EQUAL | NOT_USE | START | END
          • EQUAL: 정확히 일치
          • NOT_USE: 비교 조건을 사용하지 않음
          • START: 시작 문자열 일치
          • END: 마지막 문자열 일치
        createdTimeInteger-예외 규칙 생성 일시(Timestamp)
        deletedTimeInteger-예외 규칙 삭제 일시(Timestamp)
        isDeletedBoolean-예외 규칙 삭제 여부
        • true | false
          • true: 삭제됨
          • false: 삭제되지 않음
        memoString-메모
        memberNoInteger-VM 사용 회원 번호
        groupIsDeletedBoolean-서버 그룹 삭제 여부
        • true | false
          • true: 삭제됨
          • false: 삭제되지 않음

        응답 상태 코드

        Webshell Behavior Detector API에서 공통으로 사용하는 응답 상태 코드에 대한 정보는 Webshell Behavior Detector 공통 응답 상태 코드를 참조해 주십시오.

        응답 예시

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

        {
            "success": true,
            "code": 0,
            "message": "success",
            "result": {
                "content": [
                    {
                        "disabled": false,
                        "actionName": null,
                        "permission": null,
                        "exceptedRuleId": "2024080714042400000006",
                        "exceptedRuleName": "excep-rule-3",
                        "exceptTargetType": "server",
                        "exceptTarget": "{target-instance-id}",
                        "exceptTargetName": "{target-name}",
                        "processName": "{process}",
                        "processNameCondition": "EQUAL",
                        "processArg": "{process-and-arguments}",
                        "processArgCondition": "EQUAL",
                        "executor": "DefaultAppPool",
                        "executorCondition": "EQUAL",
                        "processNameOfParent": "{process}",
                        "processNameOfParentCondition": "EQUAL",
                        "processArgOfParent": "{process-and-arguments}",
                        "processArgOfParentCondition": "EQUAL",
                        "executorOfParent": "DefaultAppPool",
                        "executorOfParentCondition": "EQUAL",
                        "createdTime": 1723007064480,
                        "deletedTime": null,
                        "isDeleted": false,
                        "memo": null,
                        "memberNo": 26***90,
                        "groupIsDeleted": null
                    },
                    {
                        "disabled": false,
                        "actionName": null,
                        "permission": null,
                        "exceptedRuleId": "2024080714032700000004",
                        "exceptedRuleName": "excep-rule-2",
                        "exceptTargetType": "server",
                        "exceptTarget": "{target-instance-id}",
                        "exceptTargetName": "{target-name}",
                        "processName": "{process}",
                        "processNameCondition": "EQUAL",
                        "processArg": "{process-and-arguments}",
                        "processArgCondition": "EQUAL",
                        "executor": "root",
                        "executorCondition": "EQUAL",
                        "processNameOfParent": "{process}",
                        "processNameOfParentCondition": "EQUAL",
                        "processArgOfParent": "{process-and-arguments}",
                        "processArgOfParentCondition": "EQUAL",
                        "executorOfParent": "root",
                        "executorOfParentCondition": "EQUAL",
                        "createdTime": 1723007007644,
                        "deletedTime": null,
                        "isDeleted": false,
                        "memo": null,
                        "memberNo": 26***90,
                        "groupIsDeleted": null
                    }
                ],
                "totalCount": 3,
                "pageSize": 2,
                "pageIndex": 0,
                "totalPages": 2
            }
        }
        JSON

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

        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.