Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
145 commits
Select commit Hold shift + click to select a range
334ae91
Added provider_ids for GCP
Dec 15, 2025
d276be7
Merge pull request #1 from srivathsan-srinivasan/provider_ids_fix_forgcp
srivathsan-srinivasan Dec 15, 2025
70e0959
feat: add sanitization for private IPs and implement related tests, a…
Dec 23, 2025
a91a859
Merge pull request #2 from srivathsan-srinivasan/provider_ids_fix_forgcp
srivathsan-srinivasan Dec 23, 2025
442a11c
Update validate.go
srivathsan-srinivasan Dec 23, 2025
8bd1ffe
Fix typo
srivathsan-srinivasan Dec 23, 2025
9e40dfa
chore(deps): bump github.com/projectdiscovery/fastdialer
dependabot[bot] Feb 16, 2026
94162a1
Merge pull request #734 from projectdiscovery/dependabot/go_modules/d…
dogancanbakir Feb 24, 2026
03b4920
Merge branch 'projectdiscovery:dev' into dev
srivathsan-srinivasan Feb 26, 2026
26d9bc9
add org discovery and account blacklist support
girish-cheedala Feb 26, 2026
d14844d
make validation simpler
girish-cheedala Feb 27, 2026
7067375
add logging for discovery
girish-cheedala Feb 27, 2026
3fba15c
add verification for discovery
girish-cheedala Feb 27, 2026
d59647c
fix-large-org-disvoery-gcp
girish-cheedala Feb 28, 2026
1cfddf1
add progress log for large org asset discovery
girish-cheedala Feb 28, 2026
d933347
Merge pull request #719 from srivathsan-srinivasan/dev
ShubhamRasal Feb 28, 2026
1adcc92
chore(gcp): reduce progress log frequency to 25K intervals
girish-cheedala Feb 28, 2026
7e740f1
fix(gcp): change progress logs from Info to Debug level
girish-cheedala Feb 28, 2026
511c8b7
change info logs to debug
girish-cheedala Feb 28, 2026
581ac51
remove reading api wait details
girish-cheedala Feb 28, 2026
da3ef8e
fix(gcp): handle errors during asset retrieval and improve rate limit…
girish-cheedala Feb 28, 2026
fb42542
update go.mod
girish-cheedala Mar 1, 2026
d64924f
Merge branch 'dev' into fix/gcp-large-org-rate-limit
girish-cheedala Mar 2, 2026
32b231d
make jwt/v5 indirectly depedency
girish-cheedala Mar 2, 2026
0666327
fix ctx cancellation
girish-cheedala Mar 2, 2026
0f28904
fix: gcp provider improvements
girish-cheedala Mar 2, 2026
f496ba5
Merge pull request #736 from projectdiscovery/fix/gcp-large-org-rate-…
ShubhamRasal Mar 2, 2026
862e4c5
Ovh dns provider (#696)
ysokolovsky Mar 3, 2026
8b3465d
fix(gcp): allow org-level discovery when Projects.List returns zero r…
knakul853 Mar 9, 2026
f4a6687
fix logging
girish-cheedala Mar 10, 2026
c7532f4
add context to discovery org accounts func
girish-cheedala Mar 10, 2026
2b0035d
Merge branch 'dev' into autodiscovery-for-aws
girish-cheedala Mar 10, 2026
a3f680d
fail fast on discovery failure
girish-cheedala Mar 10, 2026
37fbcac
handle account ids with leading zero getting trimmed
girish-cheedala Mar 10, 2026
8426962
enhance AWS provider: ensure proper error handling in Verify method a…
girish-cheedala Mar 10, 2026
c53a8ef
Merge pull request #735 from projectdiscovery/autodiscovery-for-aws
ShubhamRasal Mar 10, 2026
17da6df
refactor(aws): enhance createAssumedRoleSession to accept account ID …
girish-cheedala Mar 10, 2026
031f065
refactor(aws): enhance createAssumedRoleSession to accept account ID …
girish-cheedala Mar 11, 2026
c8d044f
refactor(aws): improve region retrieval logic in New function by iter…
girish-cheedala Mar 11, 2026
1d7e604
limit go routines to 200 to prevent rate limit
girish-cheedala Mar 11, 2026
d88768a
Merge pull request #739 from projectdiscovery/improve-aws-verification
ShubhamRasal Mar 11, 2026
83a3b71
add Verify method for Cloudflare to prevent full resource fetch (#741)
mkrs2404 Mar 23, 2026
da6b66e
fix: nil pointer panic in AWS ALB provider crashes process (#743)
knakul853 Apr 3, 2026
05aab62
feat(gcp): add project exclusion functionality with validation checks
girish-cheedala Apr 10, 2026
67842c4
update doc with new field
girish-cheedala Apr 10, 2026
3aafa33
address pr reviews
girish-cheedala Apr 13, 2026
e576191
address pr reviews
girish-cheedala Apr 15, 2026
d5d9036
Merge pull request #746 from projectdiscovery/feat/gcp-exclude-projec…
ShubhamRasal Apr 16, 2026
c3dc404
fix missing prefix while listing cloud run resources (#748)
mkrs2404 Apr 29, 2026
ef682e2
feat(aws): support keyless authentication (IRSA / instance profile)
hsagnik Jun 12, 2026
3c530cd
review fixes
Mzack9999 Jun 17, 2026
952ca94
Merge pull request #751 from hsagnik/feat/aws-keyless-irsa
Mzack9999 Jun 17, 2026
4523fb2
feat: add exclude_services filter (closes #749)
dogancanbakir Jun 24, 2026
2a64fd2
address review
Mzack9999 Jun 24, 2026
4d41326
centralize filtering
Mzack9999 Jun 24, 2026
ea386f4
remove artifact
Mzack9999 Jun 24, 2026
012f643
chore(deps): bump the modules group across 1 directory with 7 updates…
dependabot[bot] Jun 24, 2026
e4dc46a
Merge pull request #753 from projectdiscovery/feat/exclude-services
dogancanbakir Aug 11, 2026
5303f3b
fix: handle nil AWS ALB entries
cyn8 Aug 12, 2026
33b1de6
chore(deps): bump the modules group across 1 directory with 8 updates…
dependabot[bot] Aug 27, 2026
43e618d
chore(deps): bump the modules group with 6 updates
dependabot[bot] Aug 31, 2026
edd178a
Merge pull request #758 from cyn8/fix/aws-alb-nil-entry
Mzack9999 Aug 31, 2026
a6caae6
Merge pull request #759 from projectdiscovery/dependabot/go_modules/d…
Mzack9999 Aug 31, 2026
96e062e
chore(deps): bump the modules group across 1 directory with 6 updates
dependabot[bot] Sep 14, 2026
15a2367
build: publish Docker images with GoReleaser
dwisiswant0 Oct 7, 2026
5a3a844
bump alpine
Mzack9999 Oct 7, 2026
007976a
update goreleaser
Mzack9999 Oct 7, 2026
23f804a
Merge pull request #764 from projectdiscovery/dwisiswant0/build/publi…
dogancanbakir Oct 8, 2026
f49f78d
Merge pull request #761 from projectdiscovery/dependabot/go_modules/d…
dogancanbakir Oct 8, 2026
89f415a
aws: add elastic ips
dogancanbakir Oct 8, 2026
4070dc0
gcp: add addresses and forwarding rules to compute
dogancanbakir Oct 8, 2026
5d49163
openstack: add floating ips and load balancers
dogancanbakir Oct 8, 2026
9fcd2f4
azure: add managed database endpoints
dogancanbakir Oct 8, 2026
1b4e241
alibaba: add slb, alb, eip and ack services
dogancanbakir Oct 8, 2026
7495f18
aws: add rds endpoints
dogancanbakir Oct 8, 2026
1ba1070
hetzner: add load balancers, floating and primary ips
dogancanbakir Oct 8, 2026
2fcfe87
scaleway: add flexible ips, load balancers, serverless and kapsule
dogancanbakir Oct 8, 2026
2569a5e
azure: add service fabric clusters
dogancanbakir Oct 8, 2026
8175d5e
aws: add elasticache endpoints
dogancanbakir Oct 8, 2026
3609140
digitalocean: add reserved ips, load balancers and doks
dogancanbakir Oct 8, 2026
79ed455
linode: add nodebalancers, ips and lke
dogancanbakir Oct 8, 2026
274bc5f
azure: warn when one service fabric listing fails
dogancanbakir Oct 8, 2026
90a857c
gcp: sort address labels
dogancanbakir Oct 8, 2026
f04417c
azure: add cosmos db mongodb endpoints
dogancanbakir Oct 8, 2026
562ae0a
aws: report rds listing errors
dogancanbakir Oct 8, 2026
7e4e49f
aws: report elasticache listing errors
dogancanbakir Oct 8, 2026
7b30294
aws: report elastic ip listing errors
dogancanbakir Oct 8, 2026
0c5ecf8
alibaba: use https for ecs
dogancanbakir Oct 8, 2026
e8529b0
linode: strip prefix length from instance ipv6
dogancanbakir Oct 8, 2026
62a2b99
scaleway: page instances with the sdk
dogancanbakir Oct 8, 2026
e6ac7ec
alibaba: page through all instances
dogancanbakir Oct 8, 2026
6f6dd8d
azure: keep listing other services when one fails
dogancanbakir Oct 8, 2026
19a62c6
fix cosmos
Mzack9999 Oct 8, 2026
7a5cd07
Merge pull request #780 from projectdiscovery/feat/768-azure-databases
Mzack9999 Oct 8, 2026
f977d4d
keep endpoints
Mzack9999 Oct 8, 2026
3953a88
Merge pull request #778 from projectdiscovery/feat/766-aws-rds
Mzack9999 Oct 8, 2026
3314bed
Merge pull request #792 from projectdiscovery/fix/791-scaleway-paging
Mzack9999 Oct 8, 2026
bb91c7c
keep instances
Mzack9999 Oct 8, 2026
919b196
Merge pull request #794 from projectdiscovery/fix/793-alibaba-paging
Mzack9999 Oct 8, 2026
a6b3ee5
Merge pull request #777 from projectdiscovery/feat/769-aws-eip
Mzack9999 Oct 8, 2026
2e1fec6
Merge pull request #790 from projectdiscovery/fix/789-linode-ipv6
Mzack9999 Oct 8, 2026
fec4f74
keep addresses
Mzack9999 Oct 8, 2026
bf2cd4a
Merge pull request #781 from projectdiscovery/feat/770-gcp-addresses
Mzack9999 Oct 8, 2026
fbbdec3
keep clusters
Mzack9999 Oct 8, 2026
03614ea
Merge pull request #779 from projectdiscovery/feat/767-azure-service-…
Mzack9999 Oct 8, 2026
519d190
keep endpoints
Mzack9999 Oct 8, 2026
0ba6ab4
Merge remote-tracking branch 'origin/dev' into feat/765-aws-elasticache
Mzack9999 Oct 8, 2026
023977f
keep pages
Mzack9999 Oct 8, 2026
c0b22f2
keep pages
Mzack9999 Oct 8, 2026
2a42c18
keep addresses
Mzack9999 Oct 8, 2026
951c66a
keep addresses
Mzack9999 Oct 8, 2026
e8fa82a
keep groups
Mzack9999 Oct 8, 2026
067cfbc
Merge pull request #786 from projectdiscovery/feat/765-aws-elasticache
Mzack9999 Oct 8, 2026
6b5c958
merge dev
Mzack9999 Oct 8, 2026
cdfbbb4
merge dev
Mzack9999 Oct 8, 2026
823920f
merge dev
Mzack9999 Oct 8, 2026
0f8ea89
merge dev
Mzack9999 Oct 8, 2026
b847ec8
Merge pull request #784 from projectdiscovery/feat/775-alibaba-slb-ei…
Mzack9999 Oct 8, 2026
1b02e4c
merge dev
Mzack9999 Oct 8, 2026
490d8db
keep namespaces
Mzack9999 Oct 8, 2026
308da3f
merge dev
Mzack9999 Oct 8, 2026
ab68757
merge dev
Mzack9999 Oct 8, 2026
7010249
Merge pull request #783 from projectdiscovery/feat/774-scaleway-lb-ip…
Mzack9999 Oct 9, 2026
2604834
merge dev
Mzack9999 Oct 9, 2026
cc41578
merge dev
Mzack9999 Oct 9, 2026
d2c1095
fix listings
Mzack9999 Oct 9, 2026
23b5a6f
Merge pull request #785 from projectdiscovery/feat/776-openstack-lb-f…
Mzack9999 Oct 9, 2026
2f94023
merge dev
Mzack9999 Oct 9, 2026
5fd0b5e
merge dev
Mzack9999 Oct 9, 2026
13fbbc2
merge dev
Mzack9999 Oct 9, 2026
afb5e02
Merge pull request #787 from projectdiscovery/feat/771-do-reserved-ip…
Mzack9999 Oct 9, 2026
7772d48
merge dev
Mzack9999 Oct 9, 2026
e4f82e2
merge dev
Mzack9999 Oct 9, 2026
c1a41ea
keep primaryip
Mzack9999 Oct 9, 2026
b599853
Merge pull request #782 from projectdiscovery/feat/773-hetzner-lb-ips
Mzack9999 Oct 9, 2026
9c366df
merge dev
Mzack9999 Oct 9, 2026
446c334
Merge pull request #788 from projectdiscovery/feat/772-linode-nodebal…
Mzack9999 Oct 9, 2026
a5c3262
add auto-discovery mode
dogancanbakir Oct 9, 2026
f0d4c57
chore(deps): bump the modules group with 4 updates
dependabot[bot] Oct 12, 2026
3d7879f
Merge pull request #797 from projectdiscovery/dependabot/go_modules/d…
dogancanbakir Oct 13, 2026
3d4bc7b
alibaba: fix ack test on go 1.26
dogancanbakir Oct 13, 2026
7228875
bump version
dogancanbakir Oct 13, 2026
c114154
run tests
Mzack9999 Oct 13, 2026
4d4d9c8
Merge pull request #799 from projectdiscovery/fix/798-alibaba-ack-test
Mzack9999 Oct 13, 2026
96eb5e4
Merge pull request #796 from projectdiscovery/feat/795-auto-discovery
dogancanbakir Oct 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [1.22.x]
go-version: [1.25.x]
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- name: Set up Go
Expand All @@ -29,8 +29,7 @@ jobs:
working-directory: cmd/cloudlist/

- name: Test
run: go test .
working-directory: cmd/cloudlist/
run: go test ./...

- name: Race Condition Tests
run: go build -race .
Expand Down
40 changes: 0 additions & 40 deletions .github/workflows/dockerhub-push.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.22.x
go-version: 1.25.x
- name: Checkout code
uses: actions/checkout@v4
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3.7.0
uses: golangci/golangci-lint-action@v9
with:
version: latest
args: --timeout 5m
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.22.x
go-version: 1.25.x

- name: release test
uses: goreleaser/goreleaser-action@v5
uses: goreleaser/goreleaser-action@v7
with:
args: "release --clean --snapshot"
version: latest
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 🎉 Release Binary
name: 🎉 Release

on:
push:
Expand All @@ -11,17 +11,22 @@ jobs:
runs-on: ubuntu-latest-16-cores
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: 1.22.x
fetch-depth: 0
- uses: projectdiscovery/actions/setup/go@v1
with:
go-version: 1.25.x

- uses: docker/login-action@v4
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}

- uses: goreleaser/goreleaser-action@v5
with:
args: "release --clean"
version: latest
workdir: .
- uses: projectdiscovery/actions/goreleaser@v1
with:
release: true
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
SLACK_WEBHOOK: "${{ secrets.RELEASE_SLACK_WEBHOOK }}"
DISCORD_WEBHOOK_ID: "${{ secrets.DISCORD_WEBHOOK_ID }}"
DISCORD_WEBHOOK_TOKEN: "${{ secrets.DISCORD_WEBHOOK_TOKEN }}"
DISCORD_WEBHOOK_TOKEN: "${{ secrets.DISCORD_WEBHOOK_TOKEN }}"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ test-*.yaml
/cloudlist
/terraform/
azure-readonly-config.yaml
docs/superpowers/
24 changes: 23 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
version: 2

before:
hooks:
- go mod tidy
Expand Down Expand Up @@ -30,12 +32,32 @@ builds:
- -trimpath

archives:
- format: zip
- formats: [zip]
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ if eq .Os "darwin" }}macOS{{ else }}{{ .Os }}{{ end }}_{{ .Arch }}'

checksum:
algorithm: sha256

dockers_v2:
- images:
- projectdiscovery/cloudlist
tags:
- "{{ .Tag }}"
- "v{{ .Major }}.{{ .Minor }}"
- "v{{ .Major }}"
- latest
labels:
org.opencontainers.image.created: "{{ .Date }}"
org.opencontainers.image.ref.name: "{{ .Tag }}"
org.opencontainers.image.revision: "{{ .FullCommit }}"
org.opencontainers.image.version: "{{ .Version }}"
platforms:
- linux/amd64
- linux/arm64
# NOTE: release-test runs a snapshot on runners without QEMU; only build images
# in CI on real releases.
disable: '{{ and .IsSnapshot (isEnvSet "CI") }}'

announce:
slack:
enabled: true
Expand Down
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ See `docs/GCP_ASSET_API.md` for detailed implementation guide.

- **lint-test.yml**: Runs `golangci-lint` on Go code changes
- **build-test.yml**: Tests builds on Ubuntu, Windows, macOS with Go 1.22.x
- **release-binary.yml**: Creates releases with GoReleaser
- **release.yml**: Creates releases (binaries and Docker images) with GoReleaser

## Common Gotchas

Expand Down
24 changes: 12 additions & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Base
FROM golang:1.24-alpine AS builder
RUN apk add --no-cache build-base
WORKDIR /app
COPY . /app
RUN go mod download
RUN go build ./cmd/cloudlist

# Release
FROM alpine:3.23
FROM alpine:latest

LABEL org.opencontainers.image.authors="ProjectDiscovery"
LABEL org.opencontainers.image.description="Cloudlist is a multi-cloud tool for getting Assets from Cloud Providers."
LABEL org.opencontainers.image.licenses="MIT"
LABEL org.opencontainers.image.title="cloudlist"
LABEL org.opencontainers.image.url="https://github.com/projectdiscovery/cloudlist"

RUN apk -U upgrade --no-cache \
&& apk add --no-cache bind-tools ca-certificates
COPY --from=builder /app/cloudlist /usr/local/bin/

ENTRYPOINT ["cloudlist"]
ARG TARGETPLATFORM
COPY $TARGETPLATFORM/cloudlist /usr/local/bin/

ENTRYPOINT ["cloudlist"]
99 changes: 93 additions & 6 deletions PROVIDERS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Providers

## Service filtering

Every provider enumerates all of its supported services by default. Two optional, additive keys narrow that set (also available on the CLI as `-s`/`--service` and `-es`/`--exclude-service`):

- `services` (list): allowlist. Only the listed services are enumerated. Unknown values are ignored.
- `exclude_services` (list): blocklist applied after `services` (or after the default-all set when `services` is omitted). Unknown values are ignored.

```yaml
- provider: gcp
exclude_services:
- cloud-function
project_ids:
- my-project
```

### Amazon Web Services (AWS)

Amazon Web Services can be integrated by using the following configuration block.
Expand All @@ -9,9 +24,9 @@ Amazon Web Services can be integrated by using the following configuration block
provider: aws
# id is the name defined by user for filtering (optional)
id: staging
# aws_access_key is the access key for AWS account
# aws_access_key is the access key for AWS account (optional - see "Keyless Authentication" below)
aws_access_key: $AWS_ACCESS_KEY
# aws_secret_key is the secret key for AWS account
# aws_secret_key is the secret key for AWS account (optional - see "Keyless Authentication" below)
aws_secret_key: $AWS_SECRET_KEY
# aws_session_token session token for temporary security credentials retrieved via STS (optional)
aws_session_token: $AWS_SESSION_TOKEN
Expand All @@ -31,6 +46,24 @@ Amazon Web Services can be integrated by using the following configuration block

`aws_access_key` and `aws_secret_key` can be generated in the IAM console. We recommend creating a new IAM user with `Read Only` permissions and providing the access token for the user.

#### Keyless Authentication (IRSA / Instance Profile / Environment)

`aws_access_key` and `aws_secret_key` are **optional**. When both are omitted from the config, the provider falls back to the AWS SDK default credential chain, so no secrets need to be injected into the config file. To use keyless mode, leave the keys out entirely (an `aws_access_key: $UNSET_ENV_VAR` whose environment variable is unset is treated as a literal value, not as keyless). This enables:

- **IRSA (IAM Roles for Service Accounts)** on EKS — credentials are picked up automatically from the `AWS_WEB_IDENTITY_TOKEN_FILE` and `AWS_ROLE_ARN` environment variables injected by the pod identity webhook.
- **EC2 / ECS instance profiles** — credentials are resolved from the instance/task metadata endpoint.
- **Environment variables** — `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, `AWS_SESSION_TOKEN`.
- **Shared config / profile** — `~/.aws/credentials` and `~/.aws/config`.

```yaml
# Zero-key config relying on IRSA / instance profile / environment
- provider: aws
id: keyless-discovery
# no aws_access_key / aws_secret_key — credentials resolved by the SDK default chain
```

> Note: if you provide one of `aws_access_key` / `aws_secret_key`, you must provide both. `assume_role_arn`, `assume_role_name` and `org_discovery_role_arn` all work on top of keyless base credentials too.

Scopes Required -
1. EC2
2. Route53
Expand Down Expand Up @@ -152,6 +185,8 @@ Google Cloud Platform supports **two discovery approaches** and **two authentica
- `service_account_email` (string, required if short-lived): Target service account to impersonate
- `source_credentials` (string, optional): Path to source credentials file (uses ADC if not provided)
- `token_lifetime` (string, optional): Token lifetime in seconds (e.g., "3600s") or Go duration format (e.g., "1h"). Range: 1s to 3600s (1 hour). Default: "3600s"
- `project_ids` (list, optional): Comma-separated/list of project IDs to enumerate. When provided, Cloudlist skips discovery in every other accessible project, both for individual APIs and the organization-level Asset API.
- `exclude_project_ids` (list, optional): Comma-separated/list of project IDs to exclude from organization-wide discovery. Requires `organization_id`. Mutually exclusive with `project_ids`. When provided, Cloudlist discovers all projects in the organization and skips the excluded ones, using per-project Asset API calls for the remaining projects.

---

Expand Down Expand Up @@ -191,8 +226,27 @@ Google Cloud Platform supports **two discovery approaches** and **two authentica
use_short_lived_credentials: true
service_account_email: "asset-viewer-sa@project.iam.gserviceaccount.com"
token_lifetime: "7200s" # 2 hours
project_ids:
- security-core
- shared-infra
```

Add `project_ids` to either configuration style to limit enumeration strictly to the listed projects (Cloud Asset API requests are filtered too), which is helpful for large organizations or delegated-access service accounts.

**Excluding Projects:**

```yaml
- provider: gcp
organization_id: "123456789012"
gcp_service_account_key: '$GCP_SA_KEY'
exclude_project_ids:
- sandbox-project
- legacy-app
- test-environment
```

Use `exclude_project_ids` to scan all projects in an organization except the listed ones. This is useful when only a few projects need to be excluded from a large organization.

**Required Organization-Level Roles:**
1. `roles/cloudasset.viewer` - Core Asset API access
2. `roles/resourcemanager.viewer` - List projects in organization
Expand Down Expand Up @@ -262,7 +316,9 @@ Digitalocean can be integrated by using the following configuration block.
digitalocean_token: $DIGITALOCEAN_TOKEN
```

`digitalocean_token` can be generated from the Digitalocean Control Panel. We recommend only giving Read Access to the token.
`digitalocean_token` can be generated from the Digitalocean Control Panel. We recommend only giving Read Access to the token. With custom scopes, the token needs `droplet:read`, `app:read`, `reserved_ip:read`, `load_balancer:read` and `kubernetes:read`. Services the token cannot read are skipped with a warning.

Supported services: `droplet` (alias `instance`), `app`, `reservedip` (reserved IPv4 and IPv6, including unassigned ones), `loadbalancer`, `kubernetes` (DOKS control plane endpoints).

References -
1. https://www.digitalocean.com/docs/apis-clis/api/create-personal-access-token/
Expand Down Expand Up @@ -386,7 +442,7 @@ Linode can be integrated by using the following configuration block.
linode_personal_access_token: $LINODE_PERSONAL_ACCESS_TOKEN
```

`linode_personal_access_token` can be created from https://cloud.linode.com/id/tokens. Minimum scope needed is `Read Only` for `Linodes` resource.
`linode_personal_access_token` can be created from https://cloud.linode.com/id/tokens. Minimum scope needed is `Read Only` for the `Linodes`, `NodeBalancers`, `IPs` and `Kubernetes` resources.

References -
1. https://www.linode.com/docs/guides/getting-started-with-the-linode-api/#get-an-access-token
Expand Down Expand Up @@ -437,6 +493,8 @@ Alibaba Cloud can be integrated by using the following configuration block.

Alibaba Cloud Access Key ID and Secret can be created by visiting https://ram.console.aliyun.com/manage/ak

Supported services: `instance` (ECS), `slb` (Classic Load Balancer), `alb` (Application Load Balancer), `eip` (Elastic IP), `ack` (Container Service for Kubernetes API server endpoints). The RAM user needs read-only access to each of them, e.g. the `AliyunECSReadOnlyAccess`, `AliyunSLBReadOnlyAccess`, `AliyunALBReadOnlyAccess`, `AliyunVPCReadOnlyAccess` and `AliyunCSReadOnlyAccess` system policies.


References -
- https://www.alibabacloud.com/help/faq-detail/142101.htm
Expand Down Expand Up @@ -530,15 +588,15 @@ References -

### Kubernetes

To integrate Kubernetes, utilize the configuration block outlined below. This block allows you to specify Kubernetes connection details either through a file path or directly by providing the encoded kubeconfig content. If both kubeconfig_file and kubeconfig_encoded are specified, the kubeconfig_encoded will take precedence.
To integrate Kubernetes, utilize the configuration block outlined below. This block allows you to specify Kubernetes connection details either through a file path or directly by providing the encoded kubeconfig content. If both kubeconfig_file and kubeconfig_encoded are specified, the kubeconfig_encoded will take precedence. If neither is specified, the kubeconfig is resolved like kubectl: `$KUBECONFIG`, then `~/.kube/config`, then the in-cluster service account.


```yaml
- # This identifies the provider in use
provider: kubernetes
# User-defined identifier for filtering (optional).
id: staging
# Path to the kubeconfig file.
# Path to the kubeconfig file (optional).
kubeconfig_file: path/to/kubeconfig
# Base64 encoded kubeconfig, $ cat $KUBECONFIG | base64
kubeconfig_encoded: <encoded-kubeconfig>
Expand Down Expand Up @@ -570,3 +628,32 @@ The `dnssimple_api_token` can be generated from the DNSSimple account settings u
References -
1. https://developer.dnsimple.com/v2/
2. https://support.dnsimple.com/articles/api-access-token/

### OVH

Cloudlist supports fetching DNS records from OVH.

- **Provider key**: `ovh`
- **Services**: `dns`
- **id**: An arbitrary label you choose to tag resources. It helps distinguish multiple OVH accounts/configs.
- **Required auth**:
- `application_key`
- `application_secret`
- `consumer_key`
- **Endpoint**: OVH API endpoint. Defaults to `ovh-eu` if omitted. Common values: `ovh-eu`, `ovh-ca`, `ovh-us`.

Configuration example (from `ovh.yaml`):

```yaml
- provider: ovh
id: ovh-prod
endpoint: ovh-ca
application_key: $OVH_APP_KEY
application_secret: $OVH_APP_SECRET
consumer_key: $OVH_CONSUMER_KEY
```

References -
1. https://eu.api.ovh.com/console/?section=%2Fdomain&branch=v1
2. https://api.ovh.com/createToken/
3. https://help.ovhcloud.com/csm/en-gb-api-getting-started-ovhcloud-api
Loading
Loading