MDR AWS Notes.txt 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. Root Account Alias: defpoint-mdr-root
  2. Root AWS Account ID: 350838957895
  3. Test Account ID: 527700175026
  4. Prod Account ID: 477548533976
  5. assumeRole to the test and prod accounts
  6. terraform has been setup to handle the cis checks for AWS. they are found in terraform/00-cis-hardening.
  7. Get a encoded error message from AWS?
  8. AWS_PROFILE=mdr-test aws sts decode-authorization-message --encoded-message Q7h4sTOW_n_znBB7ojNotL
  9. -------------------------------------------
  10. Cloudtrail metric Alarms
  11. so .. cloudtrail writes a trail
  12. that trail is written into a cloudwatch logs log group
  13. in the log group, there are a number of metric filters
  14. the metric filters create metrics, upon which a metric alarm is set
  15. when events matching the metric filter arrive, the metric goes up, triggerting the alarm
  16. new messages
  17. the alarm has an SNS topic it writes to that emails me that the "metric was exceeded"
  18. ----------------------------------------------
  19. AWS Systems Manager agent
  20. systemctl start amazon-ssm-agent
  21. ----------------------------------------------