Skip to content

Conversation

@dogancanbakir
Copy link
Member

Closes #652

$ cat pc.yaml
- # provider is the name of the provider
  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: $AWS_ACCESS_KEY
  # aws_secret_key is the secret key for AWS account
  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
  services:
    - "s3"
    - "instance"

$ go run . -p aws

  _______             _____     __ 
 / ___/ /__  __ _____/ / (_)__ / /_
/ /__/ / _ \/ // / _  / / (_-</ __/
\___/_/\___/\_,_/\_,_/_/_/___/\__/ 

                projectdiscovery.io

[INF] Current cloudlist version 1.2.0 (latest)
[INF] Listing assets from provider: aws services: s3,instance id: staging
...
[INF] Found 1 Hosts and 3 IP Addresses for aws (staging)

@dogancanbakir dogancanbakir self-assigned this Feb 25, 2025
@ehsandeep ehsandeep requested a review from Ice3man543 February 25, 2025 13:57
@ehsandeep ehsandeep merged commit 540115a into dev Mar 4, 2025
8 checks passed
@ehsandeep ehsandeep deleted the add_filter_support_via_config_file branch March 4, 2025 12:26
visnetodev pushed a commit to visnetotest/cloudlist that referenced this pull request Dec 7, 2025
* add filter support via config file

* minor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Services filter support via provider config same as CLI

4 participants