- 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일 동안 최신 버전이 감지되어도 모달 창이 표시되지 않습니다.)