Skip to content

ListDatasourcePackages

Source: src/AWS/Detective/ListDatasourcePackages.ts

Runtime binding for detective:ListDatasourcePackages.

Lists the behavior graph’s data source packages (core CloudTrail/VPC Flow, EKS audit, ASFF findings) and their ingest state — audit what Detective is actually ingesting. The graph ARN is injected from the bound Graph. Provide the implementation with Effect.provide(AWS.Detective.ListDatasourcePackagesHttp).

// init
const listDatasourcePackages =
yield* AWS.Detective.ListDatasourcePackages(graph);
// runtime
const { DatasourcePackages } = yield* listDatasourcePackages();