• 프로필사진
    Home
  • Portfolio
  • github [#ffffff] Created with Sketch.
    Github
  • linkedin
    Linkedin
  • Setting
  • Posting
    • 분류 전체보기 (105)
      • Aws (96)
      • Backend (3)
      • Extension (1)
  • 방문자 수
    • 전체:
    • 오늘:
    • 어제:
  • 최근 댓글
      등록된 댓글이 없습니다.
    • 최근 공지
        등록된 공지가 없습니다.
      # Home
      # 공지사항
      #
      # 태그
      # 검색결과
      # 방명록
      • WAF를 이용하여 POST Body에 특정 Key만 허용하기
        2024년 12월 27일
        • wngnl05
        • 작성자
        • 2024.12.27.:20
        {
          "Name": "CheckForLengthKey",
          "Priority": 1,
          "Action": {
            "Block": {
              "CustomResponse": {
                "ResponseCode": 403
              }
            }
          },
          "VisibilityConfig": {
            "SampledRequestsEnabled": true,
            "CloudWatchMetricsEnabled": true,
            "MetricName": "CheckForLengthKey"
          },
          "Statement": {
            "AndStatement": {
              "Statements": [
                {
                  "ByteMatchStatement": {
                    "FieldToMatch": {
                      "UriPath": {}
                    },
                    "PositionalConstraint": "EXACTLY",
                    "SearchString": "/v1/token",
                    "TextTransformations": [
                      {
                        "Type": "NONE",
                        "Priority": 0
                      }
                    ]
                  }
                },
                {
                  "ByteMatchStatement": {
                    "FieldToMatch": {
                      "Method": {}
                    },
                    "PositionalConstraint": "EXACTLY",
                    "SearchString": "POST",
                    "TextTransformations": [
                      {
                        "Type": "NONE",
                        "Priority": 0
                      }
                    ]
                  }
                },
                {
                  "NotStatement": {
                    "Statement": {
                      "ByteMatchStatement": {
                        "FieldToMatch": {
                          "JsonBody": {
                            "MatchScope": "KEY",
                            "MatchPattern": {
                              "All": {}
                            },
                            "OversizeHandling": "CONTINUE"
                          }
                        },
                        "PositionalConstraint": "EXACTLY",
                        "SearchString": "length",
                        "TextTransformations": [
                          {
                            "Type": "NONE",
                            "Priority": 0
                          }
                        ]
                      }
                    }
                  }
                }
              ]
            }
          }
        }
        저작자표시 비영리 변경금지 (새창열림)

        'Aws' 카테고리의 다른 글

        특정 태그가 들어간 인스턴스만 생성 및 삭제할 수 있도록 정책 설정하기  (0) 2024.12.27
        EKS Fargate Fluent-bit to Cloudwatch  (0) 2024.12.27
        EKS Node의 Pod Limit 해제하기  (0) 2024.12.27
        EKS External Secret  (0) 2024.12.27
        EKS RBAC  (0) 2024.12.27
        다음글
        다음 글이 없습니다.
        이전글
        이전 글이 없습니다.
        댓글
      조회된 결과가 없습니다.
      스킨 업데이트 안내
      현재 이용하고 계신 스킨의 버전보다 더 높은 최신 버전이 감지 되었습니다. 최신버전 스킨 파일을 다운로드 받을 수 있는 페이지로 이동하시겠습니까?
      ("아니오" 를 선택할 시 30일 동안 최신 버전이 감지되어도 모달 창이 표시되지 않습니다.)
      목차
      표시할 목차가 없습니다.
        • 안녕하세요
        • 감사해요
        • 잘있어요

        티스토리툴바