Skip to main content

scanConfig

Finds one scanner configuration by its composite id

scanConfig(
companyId: ID!
id: ID!
): ScanConfig

Arguments​

scanConfig.companyId ● ID! non-null scalar​

scanConfig.id ● ID! non-null scalar​

Composite id, e.g. "AST-407"

Type​

ScanConfig object​

Scanner configuration attached to an asset, optionally to one of its branches

Example request

This generated query uses placeholders for required values. Replace them with values available to your API key before running it.

Before you run it

Run the companies query first and use data.companies.collection[].id as companyId.

curl --request POST https://api.convisoappsec.com/graphql \
--header "x-api-key: $CONVISO_API_KEY" \
--header "content-type: application/json" \
--data '{"query":"query GetScanConfig($companyId: ID!, $id: ID!) {\n scanConfig(companyId: $companyId, id: $id) { id asset { id name activeDevelopers { __typename } } astConfig }\n}","variables":{"companyId":"<company_id>","id":"example-id"}}'

Contribute to the Docs

Found something outdated or missing? Help us improve the documentation with a quick suggestion or edit.

How to contribute