We use tracking cookies to understand how you use the product and help us improve it. Please accept cookies to help us improve. You can always opt out later via the link in the footer.
# MacOS / Linux
export ANCHORE_API_KEY="your_api_key"
# or
export ANCHORE_USERNAME="your_username"
export ANCHORE_PASSWORD="your_password"
# Windows
$env:ANCHORE_API_KEY="your_api_key"
# or
$env:ANCHORE_USERNAME="your_username"
$env:ANCHORE_PASSWORD="your_password"
kind: source
spec:
name: anchore
path: cloudquery/anchore
version: "v1.0.0" # Replace with the latest version
tables: ["*"]
destinations: ["postgresql"]
spec:
base_url: "http://anchore.example.com:2882"
api_key: "${ANCHORE_API_KEY}"
# Or use username/password
# username: "${ANCHORE_USERNAME}"
# password: "${ANCHORE_PASSWORD}"
# optional parameters
# concurrency: 100
# scheduler: "dfs"
# table_options:
# anchore_images:
# - analyzedsince: "5 hours ago"
string
) (required)http://anchore.example.com:2882
).
The default port for the API instance is 2882
.
The plugin will automatically append "/v2"
to the URL if not present.string
) (required if username/password not provided)string
) (required if api_key not provided)string
) (required if username is provided)integer
) (optional) (default: 1500
)string
, optional, default: dfs
)dfs
(depth-first search)round-robin
shuffle
shuffle-queue
map
) (default: null
)table_options
object is as follows:table_options:
<table_name>:
-<input_object>
table_options:
anchore_images:
- analyzed_since: "5 hours ago"
history: true
- analyzed_since: "10 days ago"
image_id: "sha256:1234567890"
Time
type allows for defining timestamps in both absolute and relative formats.2024-01-01T12:00:00+00:00
.now
x seconds [ago|from now]
x minutes [ago|from now]
x hours [ago|from now]
x days [ago|from now]
until
field:until: now
until: 2 days ago
until: 10 months 3 days 4h20m from now
until: 2024-01-01T12:00:00+00:00