forked from mirrors/kingfisher
32 lines
No EOL
793 B
YAML
32 lines
No EOL
793 B
YAML
rules:
|
|
- name: Pulumi API Key
|
|
id: kingfisher.pulumi.1
|
|
pattern: |
|
|
(?x)
|
|
\b
|
|
(
|
|
pul-[a-f0-9]{40}
|
|
)
|
|
\b
|
|
pattern_requirements:
|
|
min_digits: 2
|
|
min_entropy: 3.3
|
|
examples:
|
|
- pul-18e13e3eebebeb94eac318d421ca8ecc5ca78d5f
|
|
references:
|
|
- https://www.pulumi.com/docs/pulumi-cloud/reference/api-basics/
|
|
validation:
|
|
type: Http
|
|
content:
|
|
request:
|
|
headers:
|
|
Accept: application/vnd.pulumi+8
|
|
Authorization: token {{ TOKEN }}
|
|
Content-Type: application/json
|
|
method: GET
|
|
response_matcher:
|
|
- report_response: true
|
|
- status:
|
|
- 200
|
|
type: StatusMatch
|
|
url: "https://api.pulumi.com/api/user" |