Files
floci/docs/services/inspector2.md
T
Ovidiu (Ovi)andOvidiu fd4abd365b feat(inspector2): support disabling scans (#7181)
* feat(inspector2): support disabling scans

* fix(inspector2): enforce disable permission

* fix(inspector2): accept optional resource types

---------

Co-authored-by: Ovidiu (Ovi) <462561+ovidiubute@users.noreply.github.com>
2026-11-01 12:22:49 -04:00

2.3 KiB

Amazon Inspector

Protocol: REST JSON

Endpoint: http://localhost:4566

Floci implements the Amazon Inspector organization operations used by local security-governance workflows.

Supported Actions

Action Description
ListDelegatedAdminAccounts -
EnableDelegatedAdminAccount -
DisableDelegatedAdminAccount -
BatchGetAccountStatus -
Enable -
Disable -
UpdateOrganizationConfiguration -
DescribeOrganizationConfiguration -

Supported behavior

The supported surface includes delegated administrator management, BatchGetAccountStatus, Inspector enablement and disablement, and organization auto-enable configuration. Delegation is reflected into the delegated account so organization configuration can be managed through credentials for that administrator account.

BatchGetAccountStatus accepts an omitted or empty accountIds list and resolves it to the caller account. Explicit enablement and disablement support EC2, ECR, LAMBDA, LAMBDA_CODE, and CODE_REPOSITORY, with the documented request-size limits. Disable also accepts an omitted or empty resourceTypes list. State changes use ENABLING, ENABLED, DISABLING, and DISABLED so SDK and deployment waiters can converge. Disabling selected scan types leaves the others enabled.

Organization auto-enable supports ec2, ecr, lambda, lambdaCode, and codeRepository. Only the delegated administrator account can update or describe organization configuration.

AWS-compatible failures

Invalid account IDs, resource types, pagination input, and request shapes return ValidationException. Conflicting delegated-administrator state returns ConflictException. Organization configuration from a non-administrator account returns AccessDeniedException, and disabling an administrator that is not configured returns ResourceNotFoundException.

AWS also models internal and throttling failures. Floci does not synthesize provider-side failures without a local triggering condition.

See the Amazon Inspector API Reference.

Configuration

Variable Default Description
FLOCI_SERVICES_INSPECTOR2_ENABLED true Enable or disable Amazon Inspector