Amazon Inspector Inspector Connector API
The Inspector Connector API from Amazon Inspector — 4 operation(s) for inspector connector.
The Inspector Connector API from Amazon Inspector — 4 operation(s) for inspector connector.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/amazon-inspector:amazon-inspector-connector-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.1.0
info:
title: Inspector2 Connector API
version: '2020-06-08'
description: Generated from AWS's published Smithy model for Inspector2. 4 operation(s).
contact:
name: Amazon Web Services
url: https://aws.amazon.com/contact-us/
license:
name: Apache 2.0
identifier: Apache-2.0
url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://inspector2.{region}.amazonaws.com
variables:
region:
default: us-east-1
security:
- sigv4: []
paths:
/connector/create:
post:
operationId: CreateConnector
summary: Create Connector
description: Creates a connector that links an external cloud provider to Amazon Inspector for vulnerability scanning.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/CreateConnectorResponse'
example:
connectorArn: arn:aws:inspector2:us-east-1:123456789012:connector/6ccf8549-b52b-57ca-bf52-a2266da3c53a
'403':
description: AccessDeniedException
content:
application/json:
schema:
$ref: '#/components/schemas/AccessDeniedException'
'409':
description: ConflictException
content:
application/json:
schema:
$ref: '#/components/schemas/ConflictException'
'500':
description: InternalServerException
content:
application/json:
schema:
$ref: '#/components/schemas/InternalServerException'
'402':
description: ServiceQuotaExceededException
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceQuotaExceededException'
'429':
description: ThrottlingException
content:
application/json:
schema:
$ref: '#/components/schemas/ThrottlingException'
'400':
description: ValidationException
content:
application/json:
schema:
$ref: '#/components/schemas/ValidationException'
requestBody:
content:
application/json:
schema:
type: object
properties:
clientToken:
type: string
description: A unique, case-sensitive identifier that you provide to ensure that the operation completes
no more than one time. If this token matches a previous request, the service ignores the request but does
not return an error.
name:
type: string
description: The name of the connector.
provider:
type: string
enum:
- AZURE
description: The cloud provider for the connector.
description:
type: string
description: A description of the connector.
providerDetail:
$ref: '#/components/schemas/ProviderDetailCreate'
tags:
type: object
additionalProperties:
type: string
description: The tags to apply to the connector.
required:
- name
- provider
- providerDetail
example:
name: my-azure-connector
description: Azure subscription scanner
provider: AZURE
providerDetail:
azure:
awsConfigConnectorArn: arn:aws:config:us-east-1:123456789012:connector/azure/a7bc5463-04ce-4b52-901e-f26f7292a4a7/2fbed4bd-5b95-4947-a751-8defc76ecdae
scopeConfiguration:
vmScanning:
scopeType: SUBSCRIPTION
scopeValues:
- 552802f5-1492-4184-bbae-7291c9939b16
azureRegions:
- eastus
autoInstallVMScanner: true
tags:
env: prod
owner: security-team
tags:
- Connector
/connector/delete:
post:
operationId: DeleteConnector
summary: Delete Connector
description: Deletes a connector from your account.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/DeleteConnectorResponse'
example: {}
'403':
description: AccessDeniedException
content:
application/json:
schema:
$ref: '#/components/schemas/AccessDeniedException'
'409':
description: ConflictException
content:
application/json:
schema:
$ref: '#/components/schemas/ConflictException'
'500':
description: InternalServerException
content:
application/json:
schema:
$ref: '#/components/schemas/InternalServerException'
'404':
description: ResourceNotFoundException
content:
application/json:
schema:
$ref: '#/components/schemas/ResourceNotFoundException'
'429':
description: ThrottlingException
content:
application/json:
schema:
$ref: '#/components/schemas/ThrottlingException'
'400':
description: ValidationException
content:
application/json:
schema:
$ref: '#/components/schemas/ValidationException'
requestBody:
content:
application/json:
schema:
type: object
properties:
connectorArn:
type: string
description: The Amazon Resource Name (ARN) of the connector to delete.
required:
- connectorArn
example:
connectorArn: arn:aws:inspector2:us-east-1:123456789012:connector/6ccf8549-b52b-57ca-bf52-a2266da3c53a
tags:
- Connector
/connector/list:
post:
operationId: ListConnectors
summary: List Connectors
description: Lists connectors in your account. Results are paginated. Use the nextToken parameter to retrieve the next
page of results.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/ListConnectorsResponse'
example:
items:
- connectorArn: arn:aws:inspector2:us-east-1:123456789012:connector/6ccf8549-b52b-57ca-bf52-a2266da3c53a
name: my-azure-connector
description: Azure subscription scanner
provider: AZURE
enablementStatus: ENABLED
health:
connectorStatus: CONNECTED
lastCheckedAt: '2026-04-20T21:57:06.400Z'
createdAt: '2026-04-20T21:00:00.000Z'
updatedAt: '2026-04-20T21:57:06.400Z'
azureRegions:
- eastus
awsConfigConnectorArn: arn:aws:config:us-east-1:123456789012:connector/azure/a7bc5463-04ce-4b52-901e-f26f7292a4a7/2fbed4bd-5b95-4947-a751-8defc76ecdae
scopeConfiguration:
vmScanning:
scopeType: SUBSCRIPTION
scopeValues:
- 552802f5-1492-4184-bbae-7291c9939b16
state: ACTIVE
'403':
description: AccessDeniedException
content:
application/json:
schema:
$ref: '#/components/schemas/AccessDeniedException'
'500':
description: InternalServerException
content:
application/json:
schema:
$ref: '#/components/schemas/InternalServerException'
'429':
description: ThrottlingException
content:
application/json:
schema:
$ref: '#/components/schemas/ThrottlingException'
'400':
description: ValidationException
content:
application/json:
schema:
$ref: '#/components/schemas/ValidationException'
requestBody:
content:
application/json:
schema:
type: object
properties:
maxResults:
type: integer
description: The maximum number of results to return in a single call. To retrieve the remaining results,
make another request with the nextToken value returned from this request.
nextToken:
type: string
description: A token to use for paginating results. Set this value to null for the first request. For subsequent
calls, use the nextToken value returned from the previous request.
filterCriteria:
$ref: '#/components/schemas/ConnectorFilterCriteria'
example:
maxResults: 10
filterCriteria:
provider:
- comparison: EQUALS
value: AZURE
connectorType:
- comparison: EQUALS
value: CUSTOMER_MANAGED
tags:
- Connector
/connector/update:
post:
operationId: UpdateConnector
summary: Update Connector
description: Updates the description or provider-specific configuration details of an existing connector.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateConnectorResponse'
example:
connectorArn: arn:aws:inspector2:us-east-1:123456789012:connector/6ccf8549-b52b-57ca-bf52-a2266da3c53a
'403':
description: AccessDeniedException
content:
application/json:
schema:
$ref: '#/components/schemas/AccessDeniedException'
'409':
description: ConflictException
content:
application/json:
schema:
$ref: '#/components/schemas/ConflictException'
'500':
description: InternalServerException
content:
application/json:
schema:
$ref: '#/components/schemas/InternalServerException'
'404':
description: ResourceNotFoundException
content:
application/json:
schema:
$ref: '#/components/schemas/ResourceNotFoundException'
'429':
description: ThrottlingException
content:
application/json:
schema:
$ref: '#/components/schemas/ThrottlingException'
'400':
description: ValidationException
content:
application/json:
schema:
$ref: '#/components/schemas/ValidationException'
requestBody:
content:
application/json:
schema:
type: object
properties:
connectorArn:
type: string
description: The Amazon Resource Name (ARN) of the connector to update.
description:
type: string
description: The updated description of the connector.
providerDetail:
$ref: '#/components/schemas/ProviderDetailUpdate'
required:
- connectorArn
example:
connectorArn: arn:aws:inspector2:us-east-1:123456789012:connector/6ccf8549-b52b-57ca-bf52-a2266da3c53a
providerDetail:
azure:
azureRegions:
- eastus
- westus
tags:
- Connector
components:
securitySchemes:
sigv4:
type: apiKey
in: header
name: Authorization
description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
x-aws-sigv4:
signingName: inspector2
schemas:
AccessDeniedException:
type: object
properties:
message:
type: string
required:
- message
AwsConfigConnectorArnFilter:
type: object
properties:
comparison:
type: string
enum:
- EQUALS
description: The comparison operator for the Amazon Web Services Config connector ARN filter.
value:
type: string
description: The Amazon Web Services Config connector ARN value to filter by.
required:
- comparison
- value
AzureProviderDetailCreate:
type: object
properties:
awsConfigConnectorArn:
type: string
description: The ARN of the Amazon Web Services Config connector to associate with this connector.
scopeConfiguration:
$ref: '#/components/schemas/AzureScopeConfigurationInput'
azureRegions:
type: array
items:
type: string
description: The Azure regions to scan.
autoInstallVMScanner:
type: boolean
description: Specifies whether to automatically install the VM scanner on connected Azure resources. Defaults to
true.
required:
- awsConfigConnectorArn
- scopeConfiguration
- azureRegions
AzureProviderDetailUpdate:
type: object
properties:
azureRegions:
type: array
items:
type: string
description: The updated Azure regions to scan.
scopeConfiguration:
$ref: '#/components/schemas/AzureScopeConfigurationInput'
autoInstallVMScanner:
type: boolean
description: Specifies whether to automatically install the VM scanner on connected Azure resources.
AzureScopeConfiguration:
type: object
properties:
vmScanning:
$ref: '#/components/schemas/ScopeConfiguration'
containerImageScanning:
$ref: '#/components/schemas/ScopeConfiguration'
serverlessScanning:
$ref: '#/components/schemas/ScopeConfiguration'
AzureScopeConfigurationInput:
type: object
properties:
vmScanning:
$ref: '#/components/schemas/ScopeConfigurationInput'
containerImageScanning:
$ref: '#/components/schemas/ScopeConfigurationInput'
serverlessScanning:
$ref: '#/components/schemas/ScopeConfigurationInput'
ConflictException:
type: object
properties:
message:
type: string
resourceId:
type: string
description: The ID of the conflicting resource.
resourceType:
type: string
description: The type of the conflicting resource.
required:
- message
- resourceId
- resourceType
Connector:
type: object
properties:
connectorArn:
type: string
description: The Amazon Resource Name (ARN) of the connector.
name:
type: string
description: The name of the connector.
description:
type: string
description: A description of the connector.
provider:
type: string
enum:
- AZURE
description: The cloud provider for the connector.
enablementStatus:
type: string
enum:
- ENABLED
- PENDING_ENABLEMENT
- FAILED_TO_ENABLE
- PENDING_UPDATE
- FAILED_TO_UPDATE
- PENDING_DELETION
- DELETED
- FAILED_TO_DELETE
description: The enablement status of the connector, which indicates whether the connector is active and scanning
resources.
enablementStatusReason:
type: string
description: Additional information about the current enablement status of the connector.
health:
$ref: '#/components/schemas/ConnectorHealth'
createdAt:
type: string
description: The date and time when the connector was created.
updatedAt:
type: string
description: The date and time when the connector was last updated.
azureRegions:
type: array
items:
type: string
description: The Azure regions configured for the connector.
awsConfigConnectorArn:
type: string
description: The ARN of the Amazon Web Services Config connector associated with this connector.
scopeConfiguration:
$ref: '#/components/schemas/AzureScopeConfiguration'
tags:
type: object
additionalProperties:
type: string
description: The tags associated with the connector.
autoInstallVMScanner:
type: boolean
description: Specifies whether the VM scanner is automatically installed on connected resources.
required:
- connectorArn
- provider
- createdAt
- updatedAt
ConnectorArnFilter:
type: object
properties:
comparison:
type: string
enum:
- EQUALS
description: The comparison operator for the connector ARN filter.
value:
type: string
description: The connector ARN value to filter by.
required:
- comparison
- value
ConnectorFilterCriteria:
type: object
properties:
connectorArns:
type: array
items:
$ref: '#/components/schemas/ConnectorArnFilter'
description: Filter by connector ARNs.
accounts:
type: array
items:
$ref: '#/components/schemas/StringFilter'
description: Filter by Amazon Web Services account IDs.
awsConfigConnectorArns:
type: array
items:
$ref: '#/components/schemas/AwsConfigConnectorArnFilter'
description: Filter by Amazon Web Services Config connector ARNs.
connectorType:
type: array
items:
$ref: '#/components/schemas/ConnectorTypeFilter'
description: Filter by connector type.
provider:
type: array
items:
$ref: '#/components/schemas/ProviderFilter'
description: Filter by cloud provider.
ConnectorHealth:
type: object
properties:
connectorStatus:
type: string
enum:
- CONNECTED
- DEGRADED
- FAILED_TO_CONNECT
- PENDING_AUTHORIZATION
- PENDING_CONFIGURATION
- UNKNOWN
description: The health status of the connector.
lastCheckedAt:
type: string
description: The date and time when the connector health was last checked.
message:
type: string
description: A message providing additional details about the connector health status.
required:
- connectorStatus
- lastCheckedAt
ConnectorTypeFilter:
type: object
properties:
comparison:
type: string
enum:
- EQUALS
description: The comparison operator for the connector type filter.
value:
type: string
enum:
- CUSTOMER_MANAGED
- SERVICE_LINKED
description: The connector type value to filter by.
required:
- comparison
- value
CreateConnectorResponse:
type: object
properties:
connectorArn:
type: string
description: The Amazon Resource Name (ARN) of the created connector.
required:
- connectorArn
DeleteConnectorResponse:
type: object
properties: {}
InternalServerException:
type: object
properties:
message:
type: string
retryAfterSeconds:
type: integer
description: The number of seconds to wait before retrying the request.
required:
- message
ListConnectorsResponse:
type: object
properties:
items:
type: array
items:
$ref: '#/components/schemas/Connector'
description: A list of connectors.
nextToken:
type: string
description: A pagination token. If this value is not null, there are additional results available. Use this token
in the nextToken parameter of a subsequent request to retrieve the next page of results.
required:
- items
ProviderDetailCreate:
type: object
properties:
azure:
$ref: '#/components/schemas/AzureProviderDetailCreate'
description: Exactly one member is set.
ProviderDetailUpdate:
type: object
properties:
azure:
$ref: '#/components/schemas/AzureProviderDetailUpdate'
description: Exactly one member is set.
ProviderFilter:
type: object
properties:
comparison:
type: string
enum:
- EQUALS
description: The comparison operator for the provider filter.
value:
type: string
enum:
- AZURE
description: The cloud provider value to filter by.
required:
- comparison
- value
ResourceNotFoundException:
type: object
properties:
message:
type: string
required:
- message
ScopeConfiguration:
type: object
properties:
scopeType:
type: string
enum:
- TENANT
- SUBSCRIPTION
description: The type of scope. Valid values are TENANT, which scans all resources in the Azure tenant, and SUBSCRIPTION,
which scans only the resources in the specified Azure subscriptions.
scopeValues:
type: array
items:
type: string
description: The list of scope values. For subscription-level scope, these are Azure subscription IDs.
state:
type: string
enum:
- ACTIVE
- PENDING
- ERROR
- DISABLED
description: The current state of the scope configuration.
stateReason:
type: string
description: The reason for the current state of the scope configuration.
required:
- scopeType
ScopeConfigurationInput:
type: object
properties:
scopeType:
type: string
enum:
- TENANT
- SUBSCRIPTION
description: The type of scope. Valid values are TENANT, which scans all resources in the Azure tenant, and SUBSCRIPTION,
which scans only the resources in the specified Azure subscriptions.
scopeValues:
type: array
items:
type: string
description: The list of scope values. For subscription-level scope, these are Azure subscription IDs.
required:
- scopeType
ServiceQuotaExceededException:
type: object
properties:
message:
type: string
resourceId:
type: string
description: The ID of the resource that exceeds a service quota.
required:
- message
- resourceId
StringFilter:
type: object
properties:
comparison:
type: string
description: The operator to use when comparing values in the filter.
value:
type: string
description: The value to filter on.
required:
- comparison
- value
ThrottlingException:
type: object
properties:
message:
type: string
retryAfterSeconds:
type: integer
description: The number of seconds to wait before retrying the request.
required:
- message
UpdateConnectorResponse:
type: object
properties:
connectorArn:
type: string
description: The Amazon Resource Name (ARN) of the updated connector.
ValidationException:
type: object
properties:
message:
type: string
reason:
type: string
description: The reason for the validation failure.
fields:
type: array
items:
$ref: '#/components/schemas/ValidationExceptionField'
description: The fields that failed validation.
required:
- message
- reason
ValidationExceptionField:
type: object
properties:
name:
type: string
description: The name of the validation exception.
message:
type: string
description: The validation exception message.
required:
- name
- message
x-provenance:
method: harvested
publisher: Amazon Web Services
source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/inspector2/service/2020-06-08/inspector2-2020-06-08.json
note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)