{
  "version": "1.0",
  "examples": {
    "BatchGetFindingDetails": [
      {
        "input": {
          "findingArns": [
            "arn:aws:inspector2:eu-west-1:123456789012:finding/78b88cc9aa1d78b6e14fde90d774dde7",
            "arn:aws:inspector2:eu-west-1:111111111111:finding/78b88cc9aa1d78b6e14fde90d874dde7"
          ]
        },
        "output": {
          "errors": [
            {
              "errorCode": "ACCESS_DENIED",
              "errorMessage": "You don't have permission to access this finding",
              "findingArn": "arn:aws:inspector2:eu-west-1:111111111111:finding/78b88cc9aa1d78b6e14fde90d874dde7"
            }
          ],
          "findingDetails": [
            {
              "cisaData": {
                "action": "For all affected software assets for which updates exist, the only acceptable remediation actions are: 1) Apply updates; OR 2) remove affected assets from agency networks.",
                "dateAdded": 1688580990,
                "dateDue": 1688580999
              },
              "cwes": [
                "cwe-1234"
              ],
              "epssScore": 0.85,
              "evidences": [
                {
                  "evidenceDetail": "2 sightings on 1 source",
                  "evidenceRule": "Historically Linked to Penetration Testing Tools",
                  "severity": "Low"
                }
              ],
              "exploitObserved": {
                "firstSeen": 1688580800,
                "lastSeen": 1688580990
              },
              "findingArn": "arn:aws:inspector2:eu-west-1:123456789012:finding/78b88cc9aa1d78b6e14fde90d774dde7",
              "referenceUrls": [
                "https://nvd.nist.gov/vuln/detail/CVE-2019-20367"
              ],
              "riskScore": 66,
              "tools": [
                "Metasploit"
              ],
              "ttps": [
                "TA0001",
                "TA0002"
              ]
            }
          ]
        },
        "id": "example-1",
        "title": "Sample BatchGetFindingDetails Call"
      }
    ],
    "CreateCisScanConfiguration": [
      {
        "input": {
          "scanName": "sample",
          "schedule": {
            "daily": {
              "startTime": {
                "timeOfDay": "12:34",
                "timezone": "UTC"
              }
            }
          },
          "securityLevel": "LEVEL_1",
          "targets": {
            "accountIds": [
              "SELF"
            ],
            "targetResourceTags": {
              "key": [
                "value"
              ]
            }
          }
        },
        "output": {
          "scanConfigurationArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-configuration/624b746d-e080-44ae-8c1d-48e653365a38"
        },
        "id": "example-1",
        "title": "Sample CreateCisScanConfiguration Call"
      }
    ],
    "CreateConnector": [
      {
        "input": {
          "name": "my-azure-connector",
          "description": "Azure subscription scanner",
          "provider": "AZURE",
          "providerDetail": {
            "azure": {
              "autoInstallVMScanner": true,
              "awsConfigConnectorArn": "arn:aws:config:us-east-1:123456789012:connector/azure/a7bc5463-04ce-4b52-901e-f26f7292a4a7/2fbed4bd-5b95-4947-a751-8defc76ecdae",
              "azureRegions": [
                "eastus"
              ],
              "scopeConfiguration": {
                "vmScanning": {
                  "scopeType": "SUBSCRIPTION",
                  "scopeValues": [
                    "552802f5-1492-4184-bbae-7291c9939b16"
                  ]
                }
              }
            }
          },
          "tags": {
            "env": "prod",
            "owner": "security-team"
          }
        },
        "output": {
          "connectorArn": "arn:aws:inspector2:us-east-1:123456789012:connector/6ccf8549-b52b-57ca-bf52-a2266da3c53a"
        },
        "id": "example-1",
        "title": "Create an Azure customer-managed connector for VM scanning at SUBSCRIPTION scope"
      }
    ],
    "DeleteCisScanConfiguration": [
      {
        "input": {
          "scanConfigurationArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-configuration/624b746d-e080-44ae-8c1d-48e653365a38"
        },
        "output": {
          "scanConfigurationArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-configuration/624b746d-e080-44ae-8c1d-48e653365a38"
        },
        "id": "example-1",
        "title": "Sample DeleteCisScanConfiguration Call"
      }
    ],
    "DeleteConnector": [
      {
        "input": {
          "connectorArn": "arn:aws:inspector2:us-east-1:123456789012:connector/6ccf8549-b52b-57ca-bf52-a2266da3c53a"
        },
        "output": {},
        "id": "example-1",
        "title": "Delete a customer-managed connector"
      }
    ],
    "GetCisScanReport": [
      {
        "input": {
          "reportFormat": "PDF",
          "scanArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-scan/624b746d-e080-44ae-8c1d-48e653365a38"
        },
        "output": {
          "status": "SUCCEEDED",
          "url": "www.s3.amazon.com/abcdef"
        },
        "id": "example-1",
        "title": "Sample GetCisScanReport Call"
      }
    ],
    "GetCisScanResultDetails": [
      {
        "input": {
          "accountId": "123412341234",
          "scanArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-scan/624b746d-e080-44ae-8c1d-48e653365a38",
          "targetResourceId": "i-12341234"
        },
        "output": {
          "scanResultDetails": [
            {
              "accountId": "123412341234",
              "checkDescription": "description",
              "checkId": "1.1.1.1",
              "level": "LEVEL_1",
              "platform": "AMAZON_LINUX_2",
              "remediation": "fix",
              "scanArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-scan/624b746d-e080-44ae-8c1d-48e653365a38",
              "status": "PASSED",
              "targetResourceId": "i-12341234",
              "title": "title1"
            }
          ]
        },
        "id": "example-1",
        "title": "Sample GetCisScanResultDetails Call"
      }
    ],
    "ListCisScanConfigurations": [
      {
        "input": {},
        "output": {
          "scanConfigurations": [
            {
              "ownerId": "123412341234",
              "scanConfigurationArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-configuration/624b746d-e080-44ae-8c1d-48e653365a38",
              "scanName": "sample",
              "schedule": {
                "daily": {
                  "startTime": {
                    "timeOfDay": "12:34",
                    "timezone": "UTC"
                  }
                }
              },
              "securityLevel": "LEVEL_1",
              "targets": {
                "accountIds": [
                  "123412341234"
                ],
                "targetResourceTags": {
                  "key": [
                    "value"
                  ]
                }
              }
            }
          ]
        },
        "id": "example-1",
        "title": "Sample ListCisScanConfigurations Call"
      }
    ],
    "ListCisScanResultsAggregatedByChecks": [
      {
        "input": {
          "scanArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-scan/624b746d-e080-44ae-8c1d-48e653365a38"
        },
        "output": {
          "checkAggregations": [
            {
              "accountId": "123412341234",
              "checkDescription": "description",
              "checkId": "1.1.1.1",
              "level": "LEVEL_1",
              "platform": "AMAZON_LINUX_2",
              "scanArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-scan/624b746d-e080-44ae-8c1d-48e653365a38",
              "statusCounts": {
                "failed": 0,
                "passed": 2,
                "skipped": 1
              },
              "title": "title1"
            }
          ]
        },
        "id": "example-1",
        "title": "Sample ListCisScanResultsAggregatedByChecks Call"
      }
    ],
    "ListCisScanResultsAggregatedByTargetResource": [
      {
        "input": {
          "scanArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-scan/624b746d-e080-44ae-8c1d-48e653365a38"
        },
        "output": {
          "targetResourceAggregations": [
            {
              "accountId": "123412341234",
              "platform": "AMAZON_LINUX_2",
              "scanArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-scan/624b746d-e080-44ae-8c1d-48e653365a38",
              "statusCounts": {
                "failed": 0,
                "passed": 2,
                "skipped": 1
              },
              "targetResourceId": "i-12341234",
              "targetResourceTags": {
                "key": [
                  "value"
                ]
              },
              "targetStatus": "COMPLETED"
            }
          ]
        },
        "id": "example-1",
        "title": "Sample ListCisScanResultsAggregatedByTargetResource Call"
      }
    ],
    "ListCisScans": [
      {
        "input": {},
        "output": {
          "scans": [
            {
              "failedChecks": 2,
              "scanArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-scan/624b746d-e080-44ae-8c1d-48e653365a38",
              "scanConfigurationArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-configuration/624b746d-e080-44ae-8c1d-48e653365a38",
              "scanDate": "2023-04-12T23:20:50.52Z",
              "scanName": "sample",
              "scheduledBy": "Delegated Admin",
              "securityLevel": "LEVEL_1",
              "status": "COMPLETED",
              "targets": {
                "accountIds": [
                  "123412341234"
                ],
                "targetResourceTags": {
                  "key": [
                    "value"
                  ]
                }
              },
              "totalChecks": 150
            }
          ]
        },
        "id": "example-1",
        "title": "Sample ListCisScans Call"
      }
    ],
    "ListConnectorScanConfigurations": [
      {
        "input": {
          "awsConfigConnectorArns": [
            "arn:aws:config:us-east-1:123456789012:connector/azure/a7bc5463-04ce-4b52-901e-f26f7292a4a7/2fbed4bd-5b95-4947-a751-8defc76ecdae"
          ],
          "maxResults": 10
        },
        "output": {
          "scanConfigurations": [
            {
              "awsConfigConnectorArn": "arn:aws:config:us-east-1:123456789012:connector/azure/a7bc5463-04ce-4b52-901e-f26f7292a4a7/2fbed4bd-5b95-4947-a751-8defc76ecdae",
              "connectorArns": [
                "arn:aws:inspector2:us-east-1:123456789012:connector/6ccf8549-b52b-57ca-bf52-a2266da3c53a"
              ],
              "scanConfiguration": {
                "containerImageScanning": {
                  "pullDuration": "DAYS_14",
                  "pushDuration": "DAYS_30"
                }
              }
            }
          ]
        },
        "id": "example-1",
        "title": "List scan configurations for a specific AWS Config connector"
      }
    ],
    "ListConnectors": [
      {
        "input": {
          "filterCriteria": {
            "connectorType": [
              {
                "value": "CUSTOMER_MANAGED",
                "comparison": "EQUALS"
              }
            ],
            "provider": [
              {
                "value": "AZURE",
                "comparison": "EQUALS"
              }
            ]
          },
          "maxResults": 10
        },
        "output": {
          "items": [
            {
              "name": "my-azure-connector",
              "awsConfigConnectorArn": "arn:aws:config:us-east-1:123456789012:connector/azure/a7bc5463-04ce-4b52-901e-f26f7292a4a7/2fbed4bd-5b95-4947-a751-8defc76ecdae",
              "azureRegions": [
                "eastus"
              ],
              "connectorArn": "arn:aws:inspector2:us-east-1:123456789012:connector/6ccf8549-b52b-57ca-bf52-a2266da3c53a",
              "createdAt": "2026-04-20T21:00:00.000Z",
              "description": "Azure subscription scanner",
              "enablementStatus": "ENABLED",
              "health": {
                "connectorStatus": "CONNECTED",
                "lastCheckedAt": "2026-04-20T21:57:06.400Z"
              },
              "provider": "AZURE",
              "scopeConfiguration": {
                "vmScanning": {
                  "scopeType": "SUBSCRIPTION",
                  "scopeValues": [
                    "552802f5-1492-4184-bbae-7291c9939b16"
                  ],
                  "state": "ACTIVE"
                }
              },
              "updatedAt": "2026-04-20T21:57:06.400Z"
            }
          ]
        },
        "id": "example-1",
        "title": "List all Azure customer-managed connectors"
      }
    ],
    "SendCisSessionHealth": [
      {
        "input": {
          "scanJobId": "624b746d-e080-44ae-8c1d-48e653365a38",
          "sessionToken": "624b746d-e080-44ae-8c1d-48e653365a31"
        },
        "output": {},
        "id": "example-1",
        "title": "Sample SendCisSessionHealth Call"
      }
    ],
    "SendCisSessionTelemetry": [
      {
        "input": {
          "messages": [
            {
              "cisRuleDetails": "dGVzdCBleGFtcGxlCg==",
              "ruleId": "1.12.1",
              "status": "FAILED"
            },
            {
              "cisRuleDetails": "dGVzdCBleGFtcGxlCg==dGVzdCBleGFtcGxlCg",
              "ruleId": "1.2.1",
              "status": "PASSED"
            }
          ],
          "scanJobId": "624b746d-e080-44ae-8c1d-48e653365a38",
          "sessionToken": "624b746d-e080-44ae-8c1d-48e653365a31"
        },
        "output": {},
        "id": "example-1",
        "title": "Sample SendCisSessionTelemetry Call"
      }
    ],
    "StartCisSession": [
      {
        "input": {
          "message": {
            "sessionToken": "624b746d-e080-44ae-8c1d-48e653365a31"
          },
          "scanJobId": "624b746d-e080-44ae-8c1d-48e653365a38"
        },
        "output": {},
        "id": "example-1",
        "title": "Sample SendCisSessionHealth Call"
      }
    ],
    "StopCisSession": [
      {
        "input": {
          "message": {
            "benchmarkProfile": "xccdf_org.cisecurity.benchmarks_profile_Level_1",
            "benchmarkVersion": "2.0.0",
            "computePlatform": {
              "version": "20.04",
              "product": "ubuntu",
              "vendor": "canonical"
            },
            "progress": {
              "errorChecks": 1,
              "failedChecks": 0,
              "informationalChecks": 1,
              "notApplicableChecks": 0,
              "notEvaluatedChecks": 2,
              "successfulChecks": 5,
              "totalChecks": 10,
              "unknownChecks": 0
            },
            "reason": "Failure Reason",
            "status": "FAILED"
          },
          "scanJobId": "624b746d-e080-44ae-8c1d-48e653365a38",
          "sessionToken": "624b746d-e080-44ae-8c1d-48e653365a31"
        },
        "output": {},
        "id": "example-1",
        "title": "Sample StopCisSession Call"
      }
    ],
    "UpdateCisScanConfiguration": [
      {
        "input": {
          "scanConfigurationArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-configuration/624b746d-e080-44ae-8c1d-48e653365a38",
          "scanName": "sample_new",
          "schedule": {
            "daily": {
              "startTime": {
                "timeOfDay": "12:56",
                "timezone": "UTC"
              }
            }
          },
          "securityLevel": "LEVEL_2",
          "targets": {
            "accountIds": [
              "SELF"
            ],
            "targetResourceTags": {
              "key2": [
                "value2"
              ]
            }
          }
        },
        "output": {
          "scanConfigurationArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-configuration/624b746d-e080-44ae-8c1d-48e653365a38"
        },
        "id": "example-1",
        "title": "Sample UpdateCisScanConfiguration Call"
      }
    ],
    "UpdateConnector": [
      {
        "input": {
          "connectorArn": "arn:aws:inspector2:us-east-1:123456789012:connector/6ccf8549-b52b-57ca-bf52-a2266da3c53a",
          "providerDetail": {
            "azure": {
              "azureRegions": [
                "eastus",
                "westus"
              ]
            }
          }
        },
        "output": {
          "connectorArn": "arn:aws:inspector2:us-east-1:123456789012:connector/6ccf8549-b52b-57ca-bf52-a2266da3c53a"
        },
        "id": "example-1",
        "title": "Expand the Azure regions covered by a connector"
      }
    ],
    "UpdateConnectorScanConfiguration": [
      {
        "input": {
          "awsConfigConnectorArn": "arn:aws:config:us-east-1:123456789012:connector/azure/a7bc5463-04ce-4b52-901e-f26f7292a4a7/2fbed4bd-5b95-4947-a751-8defc76ecdae",
          "scanConfiguration": {
            "containerImageScanning": {
              "pullDuration": "DAYS_14",
              "pushDuration": "DAYS_30"
            }
          }
        },
        "output": {},
        "id": "example-1",
        "title": "Set 30-day push and 14-day pull rescan durations for an Azure container registry connector"
      }
    ]
  }
}
