Skip to content

Commit

Permalink
fix test events json files by adding accountId in the correct part of…
Browse files Browse the repository at this point in the history
… json file
  • Loading branch information
Yang committed Aug 7, 2024
1 parent 1d1cc57 commit 506f31a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion functions/events/guardduty_finding_high.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
"detail-type": "GuardDuty Finding",
"region": "us-east-1",
"detail": {
"accountId": "sample-id-2",
"id": "sample-id-2",
"title": "SAMPLE Unprotected port on EC2 instance i-123123123 is being probed",
"severity": 9,
"accountId": "123456789",
"description": "EC2 instance has an unprotected port which is being probed by a known malicious host.",
"type": "Recon:EC2 PortProbeUnprotectedPort",
"service": {
Expand Down
3 changes: 2 additions & 1 deletion functions/events/guardduty_finding_low.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
"detail-type": "GuardDuty Finding",
"region": "us-east-1",
"detail": {
"accountId": "sample-id-2",
"id": "sample-id-2",
"title": "SAMPLE Unprotected port on EC2 instance i-123123123 is being probed",
"severity": 2,
"accountId": "123456789",
"description": "EC2 instance has an unprotected port which is being probed by a known malicious host.",
"type": "Recon:EC2 PortProbeUnprotectedPort",
"service": {
Expand Down
3 changes: 2 additions & 1 deletion functions/events/guardduty_finding_medium.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
"detail-type": "GuardDuty Finding",
"region": "us-east-1",
"detail": {
"accountId": "sample-id-2",
"id": "sample-id-2",
"title": "SAMPLE Unprotected port on EC2 instance i-123123123 is being probed",
"severity": 5,
"accountId": "123456789",
"description": "EC2 instance has an unprotected port which is being probed by a known malicious host.",
"type": "Recon:EC2 PortProbeUnprotectedPort",
"service": {
Expand Down

0 comments on commit 506f31a

Please sign in to comment.