21 lines
479 B
YAML
21 lines
479 B
YAML
|
id: s3-bucket
|
||
|
|
||
|
info:
|
||
|
name: S3 Bucket Detect
|
||
|
author: gaurang
|
||
|
severity: info
|
||
|
tags: keys,file
|
||
|
|
||
|
file:
|
||
|
- extensions:
|
||
|
- all
|
||
|
- txt
|
||
|
|
||
|
extractors:
|
||
|
- type: regex
|
||
|
regex:
|
||
|
- "[a-z0-9.-]+\\.s3\\.amazonaws\\.com"
|
||
|
- "[a-z0-9.-]+\\.s3-[a-z0-9-]\\.amazonaws\\.com"
|
||
|
- "[a-z0-9.-]+\\.s3-website[.-](eu|ap|us|ca|sa|cn)"
|
||
|
- "//s3\\.amazonaws\\.com/[a-z0-9._-]+"
|
||
|
- "//s3-[a-z0-9-]+\\.amazonaws\\.com/[a-z0-9._-]+"
|