enableFlowLog
    • PDF

    enableFlowLog

    • PDF

    Article Summary

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

    개요

    FlowLog 를 활성화합니다.

    요청

    요청 파라미터

    파라미터명필수 여부타입제약 사항설명
    regionCodeNoString- 리전 코드
    네트워크 인터페이스 리스트가 조회될 리전(Region) 결정 가능
    regionCode는 getRegionList 액션을 통해 획득 가능
    Default : getRegionList 조회 결과의 첫 번째 리전 선택
    networkInterfaceNoYesString네트워크 인터페이스 번호
    networkInterfaceNo는 getNetworkInterfaceList 액션을 통해 획득 가능
    collectActionTypeCodeYesString수집 액션 타입 허용(ALLOW), 거부(DENY), 모두(ALL)
    Options : ALLOW, DENY, ALL
    collectIntervalMinuteNoIntegerMin: 5, Max: 15수집 주기 (분)
    Default : 15
    storageTypeCodeNoString저장소 타입. 오브젝트 스토리지(OBJT)
    Default : OBJT
    storageBucketNameYesStringFlowLog 트래픽을 저장 할 오브젝트 스토리지 버킷 이름
    bucketName은 ListBuckets 액션을 통해 획득 가능
    storageBucketDirectoryNameNoString영문자, 숫자, 언더스코어(_)의 조합 가능
    길이 제한 100
    FlowLog 트래픽을 저장할 오브젝트 스토리지 버킷 내에 디렉터리 이름
    Default: VPC_FLOW_LOG
    responseFormatTypeNoString- 응답 결과의 포맷 타입
    Options : xml | json
    Default : xml

    응답

    응답 바디

    성공

    실패

    오류 코드오류 메시지설명
    1000101there are no required parameter (networkInterfaceNo)필수 파라미터 networkInterfaceNo 입력
    1000102there are no required parameter (storageBucketName)필수 파라미터 storageBucketName 입력
    1099000parameter value is not valid유효하지 않은 파라미터
    (networkInterfaceNo, storageBucketName, storageBucketDirectoryName)
    1000100failed to applied flowLogFlowLog 활성화에 실패

    예시

    요청 예시

    GET {API_URL}/enableFlowLog
    ?regionCode=KR
    &networkInterfaceNo=***87
    &collectActionTypeCode=ALLOW
    &collectIntervalMinute=10
    &storageTypeCode=OBJT
    &storageBucketName=myBucket**Name
    

    응답 예시

     <enableFlowLogResponse>
        <requestId>4a457fad-fa00-4294-ad63-ac406ef9d159</requestId>
        <returnCode>0</returnCode>
        <returnMessage>success</returnMessage>
        <totalRows>1</totalRows>
        <flowLogConfigurationList>
          <FlowLogConfiguration>
            <networkInterfaceNo>=***87</networkInterfaceNo>
            <collectActionType>
              <code>ALLOW</code>
              <codeName>Allow</codeName>
            </collectActionType>
            <collectIntervalMinute>10</collectIntervalMinute>
            <storageType>
              <code>OBJT</code>
              <codeName>Object Storage</codeName>
            </storageType>
            <storageBucketName>myBucket**Name</storageBucketName>
            <storageBucketDirectoryName>VPC_FLOW_LOG</storageBucketDirectoryName>
          </FlowLogConfiguration>
        </flowLogConfigurationList>
      </enableFlowLogResponse>
    

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

    What's Next
    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.