> ## Documentation Index > Fetch the complete documentation index at: https://support.fortanix.com/llms.txt > Use this file to discover all available pages before exploring further. # Get Scan Keys report > Get Scan Keys report. ## OpenAPI ````json GET /api/v1/discovery/scans/{id}/key_usage_report/aws { "openapi": "3.0.0", "info": { "description": "**API of the Fortanix Unified Data and AI Security Platform**\n\nThe API client *must* follow HTTP redirects, including 308 redirects. Many HTTP libraries (such as Python Requests, JavaScript fetch) do this by default. With cURL, you must pass `--location`.\n", "title": "Armor API", "version": "0.1.0" }, "servers": [ { "url": "https://api.armor.fortanix.com" } ], "tags": [ { "description": "APIs regarding creating or ending a session.", "name": "Authentication" }, { "description": "APIs regarding obtaining details about the connection.", "name": "DiscoveryConnection" }, { "description": "APIs regarding obtaining details about the policies.", "name": "DiscoveryPolicies" }, { "description": "APIs regarding obtaining details about the scans.", "name": "DiscoveryScan" }, { "description": "APIs regarding obtaining the reports related to AWS.", "name": "DiscoveryAwsReports" }, { "description": "APIs regarding obtaining the reports related to Azure.", "name": "DiscoveryAzureReports" }, { "description": "APIs regarding obtaining the reports for Services.", "name": "DiscoveryServicesReports" }, { "description": "APIs regarding obtaining the PQC reports.", "name": "DiscoveryPqcReports" }, { "description": "APIs regarding obtaining the reports related to DSM.", "name": "DiscoveryDsmReports" }, { "description": "APIs regarding obtaining the details about the inventory objects.", "name": "DiscoveryInventory" }, { "description": "APIs regarding obtaining the reports related to On-Prem infrastructure.", "name": "DiscoveryOnPremReports" }, { "description": "APIs regarding obtaining the details about the inventory objects associated to a scan.", "name": "DiscoveryScanInventory" } ], "paths": { "/api/v1/discovery/scans/{id}/key_usage_report/aws": { "get": { "description": "Get Scan Keys report.", "operationId": "GetAwsScanKeyUsageReport", "parameters": [ { "in": "path", "name": "id", "required": true, "schema": { "format": "uuid", "type": "string" } }, { "$ref": "#/components/parameters/DiscoveryAwsKeyUsageParams" } ], "responses": { "2XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DiscoveryAwsKeyUsageResponse" } } }, "description": "Success result" } }, "security": [ { "Oauth2ClientCredentials": [] } ], "summary": "Get Scan Keys report.", "tags": [ "DiscoveryAwsReports" ] } } }, "components": { "parameters": { "DiscoveryAwsKeyUsageParams": { "explode": true, "in": "query", "name": "DiscoveryAwsKeyUsageParams", "schema": { "$ref": "#/components/schemas/DiscoveryAwsKeyUsageParams" } } }, "schemas": { "DiscoveryAwsKeyUsageResponse": { "allOf": [ { "properties": { "items": { "items": { "$ref": "#/components/schemas/DiscoveryAwsKeyUsageDetails" }, "type": "array" } }, "required": [ "items" ], "type": "object" } ] }, "DiscoveryAwsKeyUsageParams": { "allOf": [ { "properties": { "filter": { "type": "string" }, "limit": { "type": "integer" }, "previous_id": { "type": "string" }, "previous_sort_value": { "type": "string" }, "sort_by": { "type": "string" } }, "type": "object" } ] }, "DiscoveryAwsKeyUsageDetails": { "allOf": [ { "properties": { "key": { "$ref": "#/components/schemas/DiscoveryAwsObject" }, "key_id": { "type": "string" }, "protected_services": { "items": { "$ref": "#/components/schemas/DiscoveryAwsObject" }, "type": "array" } }, "required": [ "key_id", "key", "protected_services" ], "type": "object" } ] }, "DiscoveryAwsObject": { "allOf": [ { "properties": { "account": { "$ref": "#/components/schemas/DiscoveryAwsAccount" }, "arn": { "type": "string" }, "details": { "$ref": "#/components/schemas/DiscoveryAwsObjectDetails" }, "region": { "$ref": "#/components/schemas/DiscoveryAwsRegion" } }, "required": [ "arn", "region", "account", "details" ], "type": "object" } ] }, "DiscoveryAwsAccount": { "allOf": [ { "properties": { "details": { "$ref": "#/components/schemas/DiscoveryAwsAccountDetails" }, "id": { "type": "string" } }, "required": [ "id" ], "type": "object" } ] }, "DiscoveryAwsObjectDetails": { "discriminator": { "mapping": { "acm": "DiscoveryAwsObjectDetailsVariantAcm", "dynamo_db": "DiscoveryAwsObjectDetailsVariantDynamoDb", "ebs": "DiscoveryAwsObjectDetailsVariantEbs", "efs": "DiscoveryAwsObjectDetailsVariantEfs", "eks": "DiscoveryAwsObjectDetailsVariantEks", "kms": "DiscoveryAwsObjectDetailsVariantKms", "rds": "DiscoveryAwsObjectDetailsVariantRds", "redshift": "DiscoveryAwsObjectDetailsVariantRedshift", "s3": "DiscoveryAwsObjectDetailsVariantS3" }, "propertyName": "$type" }, "oneOf": [ { "$ref": "#/components/schemas/DiscoveryAwsObjectDetailsVariantAcm" }, { "$ref": "#/components/schemas/DiscoveryAwsObjectDetailsVariantEbs" }, { "$ref": "#/components/schemas/DiscoveryAwsObjectDetailsVariantKms" }, { "$ref": "#/components/schemas/DiscoveryAwsObjectDetailsVariantS3" }, { "$ref": "#/components/schemas/DiscoveryAwsObjectDetailsVariantRds" }, { "$ref": "#/components/schemas/DiscoveryAwsObjectDetailsVariantDynamoDb" }, { "$ref": "#/components/schemas/DiscoveryAwsObjectDetailsVariantEks" }, { "$ref": "#/components/schemas/DiscoveryAwsObjectDetailsVariantEfs" }, { "$ref": "#/components/schemas/DiscoveryAwsObjectDetailsVariantRedshift" } ] }, "DiscoveryAwsRegion": { "description": "Reference: https://docs.aws.amazon.com/general/latest/gr/rande.html", "enum": [ "us-east-2", "us-east-1", "us-west-1", "us-west-2", "af-south-1", "ap-east-1", "ap-south-2", "ap-southeast-3", "ap-southeast-4", "ap-south-1", "ap-northeast-3", "ap-northeast-2", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ca-central-1", "ca-west-1", "eu-central-1", "eu-west-1", "eu-west-2", "eu-south-1", "eu-west-3", "eu-south-2", "eu-north-1", "eu-central-2", "il-central-1", "me-south-1", "me-central-1", "sa-east-1", "us-gov-east-1", "us-gov-west-1" ], "type": "string" }, "DiscoveryAwsAccountDetails": { "allOf": [ { "properties": { "name": { "nullable": true, "type": "string" } }, "type": "object" } ] }, "DiscoveryAwsObjectDetailsVariantAcm": { "allOf": [ { "properties": { "$type": { "enum": [ "acm" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryAcmCertificate" } ] }, "DiscoveryAwsObjectDetailsVariantEbs": { "allOf": [ { "properties": { "$type": { "enum": [ "ebs" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryAwsEbsVolume" } ] }, "DiscoveryAwsObjectDetailsVariantKms": { "allOf": [ { "properties": { "$type": { "enum": [ "kms" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryAwsKmsKey" } ] }, "DiscoveryAwsObjectDetailsVariantS3": { "allOf": [ { "properties": { "$type": { "enum": [ "s3" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryAwsS3Bucket" } ] }, "DiscoveryAwsObjectDetailsVariantRds": { "allOf": [ { "properties": { "$type": { "enum": [ "rds" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryAwsRdsDbInstance" } ] }, "DiscoveryAwsObjectDetailsVariantDynamoDb": { "allOf": [ { "properties": { "$type": { "enum": [ "dynamo_db" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryAwsDynamoDbInstance" } ] }, "DiscoveryAwsObjectDetailsVariantEks": { "allOf": [ { "properties": { "$type": { "enum": [ "eks" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryAwsEksCluster" } ] }, "DiscoveryAwsObjectDetailsVariantEfs": { "allOf": [ { "properties": { "$type": { "enum": [ "efs" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryAwsEfsFileSystem" } ] }, "DiscoveryAwsObjectDetailsVariantRedshift": { "allOf": [ { "properties": { "$type": { "enum": [ "redshift" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryAwsRedshiftCluster" } ] }, "DiscoveryAcmCertificate": { "allOf": [ { "properties": { "analysis": { "$ref": "#/components/schemas/DiscoveryAcmCertificateAnalysis" }, "certificate_arn": { "type": "string" }, "created_at": { "example": "20170509T070912Z", "pattern": "^\\d{4}\\d{2}\\d{2}T\\d{2}\\d{2}\\d{2}Z$", "type": "string" }, "domain_name": { "type": "string" }, "extended_key_usages": { "items": { "$ref": "#/components/schemas/DiscoveryAcmCertificateExtendedKeyUsage" }, "nullable": true, "type": "array" }, "issuer": { "type": "string" }, "key_algorithm": { "$ref": "#/components/schemas/DiscoveryAcmCertificateKeyAlgorithm" }, "not_valid_after": { "example": "20170509T070912Z", "pattern": "^\\d{4}\\d{2}\\d{2}T\\d{2}\\d{2}\\d{2}Z$", "type": "string" }, "not_valid_before": { "example": "20170509T070912Z", "pattern": "^\\d{4}\\d{2}\\d{2}T\\d{2}\\d{2}\\d{2}Z$", "type": "string" }, "renewal_eligibility": { "$ref": "#/components/schemas/DiscoveryAcmCertificateRenewalEligibility" }, "serial": { "type": "string" }, "signature_algorithm": { "$ref": "#/components/schemas/DiscoveryAcmCertificateSignatureAlgorithm" }, "status": { "$ref": "#/components/schemas/DiscoveryAcmCertificateStatus" }, "subject_alternative_names": { "items": { "type": "string" }, "nullable": true, "type": "array" }, "used_by_services": { "items": { "type": "string" }, "type": "array" } }, "required": [ "certificate_arn", "domain_name", "status", "renewal_eligibility", "issuer", "key_algorithm", "signature_algorithm", "serial", "used_by_services", "analysis" ], "type": "object" } ] }, "DiscoveryAwsEbsVolume": { "allOf": [ { "description": "Internal model to describe an AWS EBS volume.\n\nThis is a selection of the fields most relevant for the current dashboard and could be\nupdated to include more fields in the future.", "properties": { "analysis": { "$ref": "#/components/schemas/DiscoveryAwsEbsVolumeAnalysis" }, "availability_zone": { "description": "The region this volume will be available", "type": "string" }, "kms_key_id": { "description": "The arn of the key in KMS that encrypts this drive", "nullable": true, "type": "string" }, "volume_id": { "description": "The ARN of the volume", "nullable": true, "type": "string" }, "volume_size": { "description": "The storage limit (in GB) of the volume", "format": "int32", "nullable": true, "type": "integer" }, "volume_state": { "$ref": "#/components/schemas/DiscoveryAwsEbsVolumeState" }, "volume_type": { "$ref": "#/components/schemas/DiscoveryAwsEbsVolumeType" } }, "required": [ "availability_zone", "analysis" ], "type": "object" } ] }, "DiscoveryAwsKmsKey": { "allOf": [ { "properties": { "analysis": { "$ref": "#/components/schemas/DiscoveryAwsKmsKeyAnalysis" }, "external_key_stores": { "items": { "$ref": "#/components/schemas/DiscoveryAwsKmsExternalKeyStore" }, "nullable": true, "type": "array" }, "key_aliases": { "items": { "type": "string" }, "type": "array" }, "key_creation_date": { "example": "20170509T070912Z", "pattern": "^\\d{4}\\d{2}\\d{2}T\\d{2}\\d{2}\\d{2}Z$", "type": "string" }, "key_id": { "nullable": true, "type": "string" }, "key_manager": { "$ref": "#/components/schemas/DiscoveryAwsKmsKeyManager" }, "key_origin": { "$ref": "#/components/schemas/DiscoveryAwsKmsKeyOrigin" }, "key_rotation_status": { "$ref": "#/components/schemas/DiscoveryAwsKmsKeyRotationStatus" }, "key_spec": { "$ref": "#/components/schemas/DiscoveryAwsKmsKeySpec" }, "key_state": { "$ref": "#/components/schemas/DiscoveryAwsKmsKeyState" }, "key_tags": { "additionalProperties": { "type": "string" }, "nullable": true, "type": "object" }, "key_usage": { "$ref": "#/components/schemas/DiscoveryAwsKmsKeyUsage" }, "key_valid_to": { "example": "20170509T070912Z", "pattern": "^\\d{4}\\d{2}\\d{2}T\\d{2}\\d{2}\\d{2}Z$", "type": "string" }, "last_rotated_at": { "example": "20170509T070912Z", "pattern": "^\\d{4}\\d{2}\\d{2}T\\d{2}\\d{2}\\d{2}Z$", "type": "string" }, "source_scan_inventory_object": { "$ref": "#/components/schemas/DiscoveryScanInventoryObjectReference" } }, "required": [ "key_aliases", "analysis" ], "type": "object" } ] }, "DiscoveryAwsS3Bucket": { "allOf": [ { "properties": { "analysis": { "$ref": "#/components/schemas/DiscoveryAwsS3BucketAnalysis" }, "name": { "type": "string" }, "server_side_encryption_rules": { "items": { "$ref": "#/components/schemas/DiscoveryAwsServerSideEncryptionRule" }, "type": "array" } }, "required": [ "name", "server_side_encryption_rules", "analysis" ], "type": "object" } ] }, "DiscoveryAwsRdsDbInstance": { "allOf": [ { "properties": { "analysis": { "$ref": "#/components/schemas/DiscoveryAwsRdsDbInstanceAnalysis" }, "engine": { "nullable": true, "type": "string" }, "engine_version": { "nullable": true, "type": "string" }, "identifier": { "nullable": true, "type": "string" }, "kms_key_id": { "nullable": true, "type": "string" } }, "required": [ "analysis" ], "type": "object" } ] }, "DiscoveryAwsDynamoDbInstance": { "allOf": [ { "properties": { "analysis": { "$ref": "#/components/schemas/DiscoveryAwsDynamoDbInstanceAnalysis" }, "identifier": { "nullable": true, "type": "string" }, "kms_key_id": { "nullable": true, "type": "string" } }, "required": [ "analysis" ], "type": "object" } ] }, "DiscoveryAwsEksCluster": { "allOf": [ { "properties": { "analysis": { "$ref": "#/components/schemas/DiscoveryAwsEksClusterAnalysis" }, "encryption_status": { "$ref": "#/components/schemas/DiscoveryAwsEksEncryptionStatus" }, "kms_key_id": { "nullable": true, "type": "string" }, "name": { "type": "string" }, "status": { "$ref": "#/components/schemas/DiscoveryAwsEksClusterStatus" } }, "required": [ "name", "encryption_status", "status", "analysis" ], "type": "object" } ] }, "DiscoveryAwsEfsFileSystem": { "allOf": [ { "properties": { "analysis": { "$ref": "#/components/schemas/DiscoveryAwsEfsFileSystemAnalysis" }, "file_system_id": { "type": "string" }, "kms_key_id": { "nullable": true, "type": "string" }, "life_cycle_state": { "$ref": "#/components/schemas/DiscoveryAwsEfsLifeCycleState" }, "size": { "format": "int64", "nullable": true, "type": "integer" } }, "required": [ "file_system_id", "life_cycle_state", "analysis" ], "type": "object" } ] }, "DiscoveryAwsRedshiftCluster": { "allOf": [ { "properties": { "analysis": { "$ref": "#/components/schemas/DiscoveryAwsRedshiftClusterAnalysis" }, "encryption_status": { "$ref": "#/components/schemas/DiscoveryAwsRedshiftEncryptionStatus" }, "kms_key_id": { "nullable": true, "type": "string" }, "name": { "type": "string" }, "status": { "$ref": "#/components/schemas/DiscoveryAwsRedshiftClusterStatus" } }, "required": [ "name", "encryption_status", "status", "analysis" ], "type": "object" } ] }, "DiscoveryAcmCertificateAnalysis": { "allOf": [ { "properties": { "is_expired": { "type": "boolean" }, "is_shared": { "type": "boolean" }, "key_algo_crypto_policy_compliance": { "$ref": "#/components/schemas/DiscoveryAwsCryptoPolicyCompliance" }, "overly_permissive_usage_violation": { "type": "boolean" }, "signature_crypto_policy_compliance": { "$ref": "#/components/schemas/DiscoveryAwsCryptoPolicyCompliance" } }, "required": [ "is_shared", "is_expired", "overly_permissive_usage_violation" ], "type": "object" } ] }, "DiscoveryAcmCertificateExtendedKeyUsage": { "allOf": [ { "properties": { "name": { "$ref": "#/components/schemas/DiscoveryAcmCertificateExtendedKeyUsageName" }, "object_identifier": { "nullable": true, "type": "string" } }, "required": [ "name" ], "type": "object" } ] }, "DiscoveryAcmCertificateKeyAlgorithm": { "enum": [ "rsa2048", "rsa3072", "rsa4096", "unknown" ], "type": "string" }, "DiscoveryAcmCertificateRenewalEligibility": { "enum": [ "ineligible", "eligible", "unknown" ], "type": "string" }, "DiscoveryAcmCertificateSignatureAlgorithm": { "enum": [ "sha256_with_rsa", "sha512_with_rsa", "unknown" ], "type": "string" }, "DiscoveryAcmCertificateStatus": { "enum": [ "expired", "pending", "issued", "failed", "inactive", "revoked", "validation_timed_out", "unknown" ], "type": "string" }, "DiscoveryAwsEbsVolumeAnalysis": { "allOf": [ { "properties": { "encrypted_with_expired_key": { "nullable": true, "type": "boolean" }, "encrypted_with_noncompliant_key": { "type": "boolean" }, "encrypted_with_overly_permissive_management_key": { "nullable": true, "type": "boolean" }, "encrypted_with_overly_permissive_usage_key": { "nullable": true, "type": "boolean" }, "encrypted_with_quantum_vulnerable_key": { "nullable": true, "type": "boolean" }, "encrypted_with_shared_key": { "nullable": true, "type": "boolean" }, "encryption_status": { "$ref": "#/components/schemas/DiscoveryAwsEncryptionStatus" }, "key_availability": { "$ref": "#/components/schemas/DiscoveryKeyAvailability" } }, "required": [ "encrypted_with_noncompliant_key" ], "type": "object" } ] }, "DiscoveryAwsEbsVolumeState": { "description": "Enumeration of the states that a volume may occupy.\n\nThis enum will default to the `Other` variant when a new variant is\nfound as the SDK from AWS marks their enum as \"non-exhaustive\"", "enum": [ "available", "creating", "deleted", "deleting", "error", "in_use", "other" ], "type": "string" }, "DiscoveryAwsEbsVolumeType": { "description": "Enumeration of the various types of volumes supported.\n\nThis enum will default to the `Other` variant when a new variant is\nfound as the SDK from AWS marks their enum as \"non-exhaustive\"", "enum": [ "gp2", "gp3", "io1", "io2", "sc1", "st1", "standard", "other" ], "type": "string" }, "DiscoveryAwsKmsKeyAnalysis": { "allOf": [ { "properties": { "crypto_policy_compliance": { "$ref": "#/components/schemas/DiscoveryAwsCryptoPolicyCompliance" }, "is_cross_account_key": { "nullable": true, "type": "boolean" }, "is_shared": { "type": "boolean" }, "overly_permissive_violations": { "$ref": "#/components/schemas/DiscoveryOverlyPermissiveViolations" }, "usage_details": { "$ref": "#/components/schemas/DiscoveryKeyUsageDetails" }, "usages": { "items": { "$ref": "#/components/schemas/DiscoveryKeyUsage" }, "nullable": true, "type": "array", "uniqueItems": true } }, "required": [ "is_shared" ], "type": "object" } ] }, "DiscoveryAwsKmsExternalKeyStore": { "allOf": [ { "properties": { "id": { "type": "string" }, "name": { "type": "string" } }, "required": [ "id", "name" ], "type": "object" } ] }, "DiscoveryAwsKmsKeyManager": { "enum": [ "aws", "customer", "other" ], "type": "string" }, "DiscoveryAwsKmsKeyOrigin": { "enum": [ "kms", "imported", "cloud_hsm", "xks", "fortanix", "other" ], "type": "string" }, "DiscoveryAwsKmsKeyRotationStatus": { "discriminator": { "mapping": { "disabled": "DiscoveryAwsKmsKeyRotationStatusVariantDisabled", "enabled": "DiscoveryAwsKmsKeyRotationStatusVariantEnabled", "unknown": "DiscoveryAwsKmsKeyRotationStatusVariantUnknown" }, "propertyName": "$type" }, "oneOf": [ { "$ref": "#/components/schemas/DiscoveryAwsKmsKeyRotationStatusVariantUnknown" }, { "$ref": "#/components/schemas/DiscoveryAwsKmsKeyRotationStatusVariantEnabled" }, { "$ref": "#/components/schemas/DiscoveryAwsKmsKeyRotationStatusVariantDisabled" } ] }, "DiscoveryAwsKmsKeySpec": { "enum": [ "rsa2048", "rsa3072", "rsa4096", "ecc_nist_p256", "ecc_nist_p384", "ecc_nist_p521", "ecc_secg_p256k1", "symmetric_default", "hmac224", "hmac256", "hmac384", "hmac512", "sm2", "other" ], "type": "string" }, "DiscoveryAwsKmsKeyState": { "enum": [ "creating", "enabled", "disabled", "pending_deletion", "pending_import", "pending_replica_deletion", "unavailable", "updating", "other" ], "type": "string" }, "DiscoveryAwsKmsKeyUsage": { "enum": [ "sign_verify", "encrypt_decrypt", "generate_verify_mac", "other" ], "type": "string" }, "DiscoveryScanInventoryObjectReference": { "allOf": [ { "properties": { "id": { "format": "uuid", "type": "string" }, "scan_id": { "format": "uuid", "type": "string" } }, "required": [ "id", "scan_id" ], "type": "object" } ] }, "DiscoveryAwsS3BucketAnalysis": { "allOf": [ { "properties": { "encrypted_with_expired_key": { "nullable": true, "type": "boolean" }, "encrypted_with_noncompliant_key": { "type": "boolean" }, "encrypted_with_overly_permissive_management_key": { "nullable": true, "type": "boolean" }, "encrypted_with_overly_permissive_usage_key": { "nullable": true, "type": "boolean" }, "encrypted_with_quantum_vulnerable_key": { "nullable": true, "type": "boolean" }, "encrypted_with_shared_key": { "nullable": true, "type": "boolean" }, "encryption_status": { "$ref": "#/components/schemas/DiscoveryAwsEncryptionStatus" }, "key_availability": { "$ref": "#/components/schemas/DiscoveryKeyAvailability" } }, "required": [ "encrypted_with_noncompliant_key" ], "type": "object" } ] }, "DiscoveryAwsServerSideEncryptionRule": { "allOf": [ { "properties": { "bucket_key_enabled": { "type": "boolean" }, "default_sse": { "$ref": "#/components/schemas/DiscoveryAwsDefaultServerSideEncryption" } }, "required": [ "bucket_key_enabled" ], "type": "object" } ] }, "DiscoveryAwsRdsDbInstanceAnalysis": { "allOf": [ { "properties": { "encrypted_with_expired_key": { "nullable": true, "type": "boolean" }, "encrypted_with_noncompliant_key": { "type": "boolean" }, "encrypted_with_overly_permissive_management_key": { "nullable": true, "type": "boolean" }, "encrypted_with_overly_permissive_usage_key": { "nullable": true, "type": "boolean" }, "encrypted_with_quantum_vulnerable_key": { "nullable": true, "type": "boolean" }, "encrypted_with_shared_key": { "nullable": true, "type": "boolean" }, "encryption_status": { "$ref": "#/components/schemas/DiscoveryAwsEncryptionStatus" }, "key_availability": { "$ref": "#/components/schemas/DiscoveryKeyAvailability" } }, "required": [ "encrypted_with_noncompliant_key" ], "type": "object" } ] }, "DiscoveryAwsDynamoDbInstanceAnalysis": { "allOf": [ { "properties": { "encrypted_with_expired_key": { "nullable": true, "type": "boolean" }, "encrypted_with_noncompliant_key": { "type": "boolean" }, "encrypted_with_overly_permissive_management_key": { "nullable": true, "type": "boolean" }, "encrypted_with_overly_permissive_usage_key": { "nullable": true, "type": "boolean" }, "encrypted_with_quantum_vulnerable_key": { "nullable": true, "type": "boolean" }, "encrypted_with_shared_key": { "nullable": true, "type": "boolean" }, "encryption_status": { "$ref": "#/components/schemas/DiscoveryAwsEncryptionStatus" }, "key_availability": { "$ref": "#/components/schemas/DiscoveryKeyAvailability" } }, "required": [ "encrypted_with_noncompliant_key" ], "type": "object" } ] }, "DiscoveryAwsEksClusterAnalysis": { "allOf": [ { "properties": { "encrypted_with_expired_key": { "nullable": true, "type": "boolean" }, "encrypted_with_noncompliant_key": { "type": "boolean" }, "encrypted_with_overly_permissive_management_key": { "nullable": true, "type": "boolean" }, "encrypted_with_overly_permissive_usage_key": { "nullable": true, "type": "boolean" }, "encrypted_with_quantum_vulnerable_key": { "nullable": true, "type": "boolean" }, "encrypted_with_shared_key": { "nullable": true, "type": "boolean" }, "encryption_status": { "$ref": "#/components/schemas/DiscoveryAwsEncryptionStatus" }, "key_availability": { "$ref": "#/components/schemas/DiscoveryKeyAvailability" } }, "required": [ "encrypted_with_noncompliant_key" ], "type": "object" } ] }, "DiscoveryAwsEksEncryptionStatus": { "enum": [ "encrypted", "unencrypted" ], "type": "string" }, "DiscoveryAwsEksClusterStatus": { "enum": [ "active", "creating", "deleting", "failed", "pending", "updating", "unknown" ], "type": "string" }, "DiscoveryAwsEfsFileSystemAnalysis": { "allOf": [ { "properties": { "encrypted_with_expired_key": { "nullable": true, "type": "boolean" }, "encrypted_with_noncompliant_key": { "type": "boolean" }, "encrypted_with_overly_permissive_management_key": { "nullable": true, "type": "boolean" }, "encrypted_with_overly_permissive_usage_key": { "nullable": true, "type": "boolean" }, "encrypted_with_quantum_vulnerable_key": { "nullable": true, "type": "boolean" }, "encrypted_with_shared_key": { "nullable": true, "type": "boolean" }, "encryption_status": { "$ref": "#/components/schemas/DiscoveryAwsEncryptionStatus" }, "key_availability": { "$ref": "#/components/schemas/DiscoveryKeyAvailability" } }, "required": [ "encrypted_with_noncompliant_key" ], "type": "object" } ] }, "DiscoveryAwsEfsLifeCycleState": { "enum": [ "available", "creating", "deleted", "deleting", "error", "updating", "unknown" ], "type": "string" }, "DiscoveryAwsRedshiftClusterAnalysis": { "allOf": [ { "properties": { "encrypted_with_expired_key": { "nullable": true, "type": "boolean" }, "encrypted_with_noncompliant_key": { "type": "boolean" }, "encrypted_with_overly_permissive_management_key": { "type": "boolean" }, "encrypted_with_overly_permissive_usage_key": { "type": "boolean" }, "encrypted_with_quantum_vulnerable_key": { "nullable": true, "type": "boolean" }, "encrypted_with_shared_key": { "type": "boolean" }, "encryption_status": { "$ref": "#/components/schemas/DiscoveryAwsEncryptionStatus" }, "key_availability": { "$ref": "#/components/schemas/DiscoveryKeyAvailability" } }, "required": [ "encrypted_with_noncompliant_key", "encrypted_with_overly_permissive_usage_key", "encrypted_with_overly_permissive_management_key", "encrypted_with_shared_key" ], "type": "object" } ] }, "DiscoveryAwsRedshiftEncryptionStatus": { "enum": [ "encrypted", "unencrypted" ], "type": "string" }, "DiscoveryAwsRedshiftClusterStatus": { "enum": [ "available", "available_prep_for_resize", "available_resize_cleanup", "canceling_resize", "creating", "deleting", "final_snapshot", "hardware_failure", "incompatible_hsm", "incompatible_network", "incompatible_parameters", "incompatible_restore", "modifying", "paused", "rebooting", "renaming", "resizing", "rotating_keys", "storage_full", "updating_hsm", "pausing", "resuming", "restoring", "unknown" ], "type": "string" }, "DiscoveryAwsCryptoPolicyCompliance": { "allOf": [ { "properties": { "is_compliant": { "type": "boolean" }, "violation_reason": { "nullable": true, "type": "string" } }, "required": [ "is_compliant" ], "type": "object" } ] }, "DiscoveryAcmCertificateExtendedKeyUsageName": { "enum": [ "any", "code_signing", "custom", "email_protection", "ipsec_end_system", "ipsec_tunnel", "ipsec_user", "none", "ocsp_signing", "time_stamping", "tls_web_server_authentication", "tls_web_client_authentication", "unknown" ], "type": "string" }, "DiscoveryAwsEncryptionStatus": { "enum": [ "unencrypted", "encrypted_with_csp_generated_key", "encrypted_with_platform_managed_key", "encrypted_with_customer_managed_key" ], "type": "string" }, "DiscoveryKeyAvailability": { "description": "This enum will be used for denoting key availability for all services in all cloud providers.\nEach variant corresponds to different states of key used to encrypt the service. If a service is\nnot encrypted, the key will me marked as Unknown", "enum": [ "available", "soft_deleted", "purged", "cross_account", "unknown" ], "type": "string" }, "DiscoveryOverlyPermissiveViolations": { "allOf": [ { "properties": { "management_violations": { "items": { "$ref": "#/components/schemas/DiscoveryKeyPolicyId" }, "type": "array" }, "usage_violations": { "items": { "$ref": "#/components/schemas/DiscoveryKeyPolicyId" }, "type": "array" } }, "required": [ "usage_violations", "management_violations" ], "type": "object" } ] }, "DiscoveryKeyUsageDetails": { "allOf": [ { "properties": { "encrypt": { "$ref": "#/components/schemas/DiscoveryKeyEncryptUsageDetails" } }, "type": "object" } ] }, "DiscoveryKeyUsage": { "enum": [ "encrypt", "unused" ], "type": "string" }, "DiscoveryAwsKmsKeyRotationStatusVariantUnknown": { "allOf": [ { "properties": { "$type": { "enum": [ "unknown" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "properties": {}, "type": "object" } ] }, "DiscoveryAwsKmsKeyRotationStatusVariantEnabled": { "allOf": [ { "properties": { "$type": { "enum": [ "enabled" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryAwsKmsKeyRotationStatusEnabled" } ] }, "DiscoveryAwsKmsKeyRotationStatusVariantDisabled": { "allOf": [ { "properties": { "$type": { "enum": [ "disabled" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "properties": {}, "type": "object" } ] }, "DiscoveryAwsDefaultServerSideEncryption": { "allOf": [ { "properties": { "kms_master_key": { "nullable": true, "type": "string" }, "sse_algorithm": { "$ref": "#/components/schemas/DiscoveryAwsSseAlgorithm" } }, "type": "object" } ] }, "DiscoveryKeyPolicyId": { "discriminator": { "mapping": { "aws_grant_id": "DiscoveryKeyPolicyIdVariantAwsGrantId", "aws_key_policy_sid": "DiscoveryKeyPolicyIdVariantAwsKeyPolicySid" }, "propertyName": "$type" }, "oneOf": [ { "$ref": "#/components/schemas/DiscoveryKeyPolicyIdVariantAwsKeyPolicySid" }, { "$ref": "#/components/schemas/DiscoveryKeyPolicyIdVariantAwsGrantId" } ] }, "DiscoveryKeyEncryptUsageDetails": { "allOf": [ { "properties": { "service_count": { "type": "integer" } }, "required": [ "service_count" ], "type": "object" } ] }, "DiscoveryAwsKmsKeyRotationStatusEnabled": { "allOf": [ { "properties": { "next_rotation_date": { "example": "20170509T070912Z", "pattern": "^\\d{4}\\d{2}\\d{2}T\\d{2}\\d{2}\\d{2}Z$", "type": "string" }, "rotation_period": { "maximum": 4294967295, "minimum": 0, "type": "integer" } }, "required": [ "next_rotation_date", "rotation_period" ], "type": "object" } ] }, "DiscoveryAwsSseAlgorithm": { "enum": [ "aes256", "kms", "aws:kms_dsse", "other" ], "type": "string" }, "DiscoveryKeyPolicyIdVariantAwsKeyPolicySid": { "allOf": [ { "properties": { "$type": { "enum": [ "aws_key_policy_sid" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryKeyPolicyIdAwsKeyPolicySid" } ] }, "DiscoveryKeyPolicyIdVariantAwsGrantId": { "allOf": [ { "properties": { "$type": { "enum": [ "aws_grant_id" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryKeyPolicyIdAwsGrantId" } ] }, "DiscoveryKeyPolicyIdAwsKeyPolicySid": { "allOf": [ { "properties": { "sid": { "type": "string" } }, "required": [ "sid" ], "type": "object" } ] }, "DiscoveryKeyPolicyIdAwsGrantId": { "allOf": [ { "properties": { "id": { "type": "string" } }, "required": [ "id" ], "type": "object" } ] } }, "securitySchemes": { "Oauth2ClientCredentials": { "description": "OAuth 2.0 client credential flow, see https://datatracker.ietf.org/doc/html/rfc6749#section-4.4.", "flows": { "clientCredentials": { "scopes": {}, "tokenUrl": "https://api.armor.fortanix.com/api/v1/iam/session/oauth2/token" } }, "type": "oauth2" } } } } ````