0.5.1 • Published 5 months ago
@infrascan/aws-ecs-scanner v0.5.1
@infrascan/aws-ecs-scanner
A scanner module for AWS ECS, designed to be used with the @infrascan/sdk.
This module pulls information about the ECS resources in an AWS account by calling: ListClusters, DescribeClusters, ListServices, DescribeServices, ListTasks, DescribeTasks, and DescribeTaskDefinition.
Quickstart
import ECSScanner from "@infrascan/aws-ecs-scanner";
import Infrascan from "@infrascan/sdk";
const infrascanClient = new Infrascan();
infrascanClient.registerScanner(ECSScanner);If you plan on scanning all of an AWS account, you should use the @infrascan/aws package.
Contributing
The majority of the scanner modules are autogenerated from their config.ts file.
Changes such as adding a new function/endpoint in the service to scan can be done within the config file.
More significant changes will likely need to take place in the aws-codegen package.