Import All
Overview
Import scans, vulnerabilities and assets to RegScale from scan export files.
Configuration
This command reads the following keys from init.yaml. Any of them can also be supplied as an environment variable of the same name. See CLI Configuration File for the full reference.
assessmentDaysawsazure365TenantIdazureCloudClientIdazureCloudSecretazureCloudSubscriptionIdazureCloudTenantIdcisaKevcrowdstrikeAuthRetriescrowdstrikeAuthRetrySleepcrowdstrikeBaseUrlcrowdstrikeClientIdcrowdstrikeClientSecretdatabricksAccessTokendatabricksHostnamedatabricksPathdependabotIddependabotOwnerdependabotRepodependabotTokendomainfindingFromMappinggithubDomainissuesjcamAgencyDefinedHandlingjcamFieldMappingjcamMappingProfilejcamValueMappingjiraApiTokenjiraUrljiraUserNamemaxThreadsnistCpeApiKeyoktaApiTokenoktaClientIdoktaUrlotxpreventAutoCloseqradarqualysPasswordqualysUrlqualysUserNamesalesforcePasswordsalesforceTokensalesforceUserNamesnowPasswordsnowUrlsnowUserNamesonarTokensonarUrltenableMinimumSeverityFiltertimeouttokenuserIdwizAccessTokenwizAuthUrlwizReportAgewizScopewizUrl
Commands
| Command | Description |
|---|---|
regscale import_all run | Import scans, vulnerabilities and assets to RegScale from scan export files |
regscale import_all run
regscale import_all runImport scans, vulnerabilities and assets to RegScale from scan export files
regscale import_all run [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/all | The CLI will use the custom header from the provided mappings directory or file, example is ./mappings/all |
--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 | — | Folder path containing scan 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. |
Updated about 5 hours ago
Did this page help you?
