您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

sec_customrule.json 951B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. {
  2. "operation": "AND",
  3. "structured": true,
  4. "conditions": [
  5. {
  6. "positiveMatch": true,
  7. "type": "requestMethodMatch",
  8. "value": [
  9. "GET"
  10. ]
  11. },
  12. {
  13. "positiveMatch": true,
  14. "type": "requestHeaderMatch",
  15. "name": [
  16. "BlockMe",
  17. "blockme",
  18. "Blockme",
  19. "blockMe"
  20. ],
  21. "nameWildcard": true,
  22. "value": [
  23. "1",
  24. "yes",
  25. "true"
  26. ],
  27. "valueCase": false,
  28. "valueWildcard": true
  29. },
  30. {
  31. "positiveMatch": true,
  32. "type": "pathMatch",
  33. "value": [
  34. "/*"
  35. ],
  36. "valueCase": false,
  37. "valueWildcard": true,
  38. "valueIgnoreSegment": true,
  39. "valueNormalize": true
  40. }
  41. ],
  42. "description": "Custom rule for AppSec CLI Lab",
  43. "name": "Blockme header custom rule",
  44. "tag": [
  45. "CLI"
  46. ]
  47. }