Advertisement
Guest User

Untitled

a guest
Mar 26th, 2019
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. policies:
  2. - name: vpc-flow-log-check
  3. resource: vpc
  4. filters:
  5. - not:
  6. - type: flow-logs
  7. enabled: true
  8. set-op: or
  9. op: equal
  10. traffic-type: all
  11. log-group: myVPCFlowLogs
  12. status: active
  13. actions:
  14. - type: notify
  15. template: default.html
  16. priority_header: 1
  17. subject: "Cloud Custodian - VPC Flow Log(s) Not Setup Properly"
  18. violation_desc: "The Following Flow Logs Are Invalid:"
  19. action_desc: "Actions Taken: Notification Only"
  20. to:
  21. - test.example.com
  22. transport:
  23. type: sqs
  24. queue: https://sqs.us-west-1.amazonaws.com/dfafadsfafd/custodian_sqs
  25. region: us-west-1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement