Skip to content

Commit

Permalink
Add docs to the Amazon Inspector resource
Browse files Browse the repository at this point in the history
This improves docs page generation

Signed-off-by: Tim Smith <[email protected]>
  • Loading branch information
tas50 committed Apr 23, 2024
1 parent 656ea52 commit 1834b24
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions providers/aws/resources/aws.lr
Original file line number Diff line number Diff line change
Expand Up @@ -2386,11 +2386,13 @@ private aws.ec2.volume @defaults("id region volumeType size encrypted state") {
iops int
}

// Amazon Inspector
aws.inspector {
// List of coverage results for the AWS account
coverages() []aws.inspector.coverage
}

// Amazon Inspector environment coverage
private aws.inspector.coverage {
// Account ID for the coverage finding
accountId string
Expand Down Expand Up @@ -2418,6 +2420,7 @@ private aws.inspector.coverage {
lambda() aws.lambda.function
}

// Amazon Inspector instance coverage group
private aws.inspector.coverage.instance {
// Platform for the EC2 instance
platform string
Expand All @@ -2429,6 +2432,7 @@ private aws.inspector.coverage.instance {
region string
}

// Amazon Inspector container image coverage group
private aws.inspector.coverage.image {
// Time when the image was scanned
imagePulledAt time
Expand All @@ -2438,6 +2442,7 @@ private aws.inspector.coverage.image {
region string
}

// Amazon Inspector container registry coverage group
private aws.inspector.coverage.repository {
// Name of the ECR repository
name string
Expand Down

0 comments on commit 1834b24

Please sign in to comment.