Skip to main content

Delegated Admin Account

Manages an AWS Inspector2 Delegated Admin Account.

Example

exports.createResources = () => [
{
type: "DelegatedAdminAccount",
group: "Inspector2",
dependencies: ({}) => ({
account: "test account",
}),
},
];

Code Examples

Properties

Dependencies

Used By

List

gc l -t Inspector2::DelegatedAdminAccount
Listing resources on 1 provider: aws
✓ aws us-east-1
✓ Initialising
✓ Listing 1/1
┌───────────────────────────────────────────────────────────────────────────────────┐
│ 1 Inspector2::DelegatedAdminAccount from aws │
├───────────────────────────────────────────────────────────────────────────────────┤
│ name: default │
│ managedByUs: Yes │
│ live: │
│ delegatedAdminAccountId: 440541460065 │
│ status: ENABLED │
│ │
└───────────────────────────────────────────────────────────────────────────────────┘


List Summary:
Provider: aws
┌──────────────────────────────────────────────────────────────────────────────────┐
│ aws │
├───────────────────────────────────┬──────────────────────────────────────────────┤
│ Inspector2::DelegatedAdminAccount │ default │
└───────────────────────────────────┴──────────────────────────────────────────────┘
1 resource, 1 type, 1 provider
Command "gc l -t Inspector2::DelegatedAdminAccount" executed in 3s, 116 MB