Elastic Container Registry (ECR)
Overview
Performs actions on ECR Scanner artifacts.
Commands
| Command | Description |
|---|---|
regscale ecr import_ecr | Import ECR scans, vulnerabilities and assets to RegScale from ECR JSON files |
regscale ecr show_mapping | Show the mapping file used during ecr imports. |
regscale ecr import_ecr
regscale ecr import_ecrImport ECR scans, vulnerabilities and assets to RegScale from ECR JSON files
regscale ecr import_ecr [OPTIONS]
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
--upload_file, --upload | boolean | No | true | Whether to upload the file to RegScale after processing. Default is True. |
--disable_mapping, -dm | boolean | No | false | Whether to disable the default mapping |
--mappings_path, -m | path | No | ./mappings/ecr | The CLI will use the custom header from the provided mappings directory or file, example is ./mappings/ecr |
--scan_date, -sd | datetime | No | — | The scan date of the file. |
--regscale_ssp_id, -id | integer | Yes | — | The ID number from RegScale of the System Security Plan. |
--folder_path, -f | path | No | — | File path to the folder containing ECR files to process to RegScale.Option is mutually exclusive with s3_bucket, s3_prefix. |
--aws_session_token, --aws-session-token | text | No | — | AWS session token for temporary credentials (optional). |
--aws_secret_access_key, --aws-secret-access-key | text | No | — | AWS secret access key for S3 access (overrides profile). |
--aws_access_key_id, --aws-access-key-id | text | No | — | AWS access key ID for S3 access (overrides profile). |
--aws-profile | text | No | — | AWS profile for S3. If not set, uses direct credentials or config credentials.Option is mutually exclusive with folder_path. |
--s3-prefix | text | No | — | Prefix (folder path) within the S3 bucketOption is mutually exclusive with folder_path. |
--s3-bucket | text | No | — | S3 bucket to download scan files fromOption is mutually exclusive with folder_path. |
regscale ecr show_mapping
regscale ecr show_mappingShow the mapping file used during ecr imports.
regscale ecr show_mapping [OPTIONS]
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
--file_path, -f | file | Yes | — | File path to the mapping file to display |
Updated about 5 hours ago
Did this page help you?
