Enhancement: file/keys/amazon/amazon-account-id.yaml by md

patch-1
MostInterestingBotInTheWorld 2023-05-04 12:21:41 -04:00
parent 18d16b7af6
commit accb8cbfbf
1 changed files with 9 additions and 2 deletions

View File

@ -1,11 +1,16 @@
id: amazon-account-id id: amazon-account-id
info: info:
name: AWS Account ID name: Amazon Web Services Account ID - Detect
author: DhiyaneshDK author: DhiyaneshDK
severity: info severity: info
description: Amazon Web Services Account ID token was detected.
reference: reference:
- https://github.com/praetorian-inc/noseyparker/blob/main/data/default/rules/aws.yml - https://github.com/praetorian-inc/noseyparker/blob/main/data/default/rules/aws.yml
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
cvss-score: 0.0
cwe-id: CWE-200
metadata: metadata:
verified: "true" verified: "true"
tags: aws,amazon,token,file tags: aws,amazon,token,file
@ -18,4 +23,6 @@ file:
- type: regex - type: regex
part: body part: body
regex: regex:
- '(?i)aws_?(?:account)_?(?:id)?["''`]?\s{0,30}(?::|=>|=)\s{0,30}["''`]?([0-9]{4}-?[0-9]{4}-?[0-9]{4})' - '(?i)aws_?(?:account)_?(?:id)?["''`]?\s{0,30}(?::|=>|=)\s{0,30}["''`]?([0-9]{4}-?[0-9]{4}-?[0-9]{4})'
# Enhanced by md on 2023/05/04