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.

  • assessmentDays
  • aws
  • azure365TenantId
  • azureCloudClientId
  • azureCloudSecret
  • azureCloudSubscriptionId
  • azureCloudTenantId
  • cisaKev
  • crowdstrikeAuthRetries
  • crowdstrikeAuthRetrySleep
  • crowdstrikeBaseUrl
  • crowdstrikeClientId
  • crowdstrikeClientSecret
  • databricksAccessToken
  • databricksHostname
  • databricksPath
  • dependabotId
  • dependabotOwner
  • dependabotRepo
  • dependabotToken
  • domain
  • findingFromMapping
  • githubDomain
  • issues
  • jcamAgencyDefinedHandling
  • jcamFieldMapping
  • jcamMappingProfile
  • jcamValueMapping
  • jiraApiToken
  • jiraUrl
  • jiraUserName
  • maxThreads
  • nistCpeApiKey
  • oktaApiToken
  • oktaClientId
  • oktaUrl
  • otx
  • preventAutoClose
  • qradar
  • qualysPassword
  • qualysUrl
  • qualysUserName
  • salesforcePassword
  • salesforceToken
  • salesforceUserName
  • snowPassword
  • snowUrl
  • snowUserName
  • sonarToken
  • sonarUrl
  • tenableMinimumSeverityFilter
  • timeout
  • token
  • userId
  • wizAccessToken
  • wizAuthUrl
  • wizReportAge
  • wizScope
  • wizUrl

Commands

CommandDescription
regscale import_all runImport scans, vulnerabilities and assets to RegScale from scan export files

regscale import_all run

Import scans, vulnerabilities and assets to RegScale from scan export files

regscale import_all run [OPTIONS]
FlagTypeRequiredDefaultDescription
--upload_file, --uploadbooleanNotrueWhether to upload the file to RegScale after processing. Default is True.
--disable_mapping, -dmbooleanNofalseWhether to disable the default mapping
--mappings_path, -mpathNo./mappings/allThe CLI will use the custom header from the provided mappings directory or file, example is ./mappings/all
--scan_date, -sddatetimeNoThe scan date of the file.
--regscale_ssp_id, -idintegerYesThe ID number from RegScale of the System Security Plan.
--folder_path, -fpathNoFolder path containing scan files to process to RegScale.Option is mutually exclusive with s3_bucket, s3_prefix.
--aws_session_token, --aws-session-tokentextNoAWS session token for temporary credentials (optional).
--aws_secret_access_key, --aws-secret-access-keytextNoAWS secret access key for S3 access (overrides profile).
--aws_access_key_id, --aws-access-key-idtextNoAWS access key ID for S3 access (overrides profile).
--aws-profiletextNoAWS profile for S3. If not set, uses direct credentials or config credentials.Option is mutually exclusive with folder_path.
--s3-prefixtextNoPrefix (folder path) within the S3 bucketOption is mutually exclusive with folder_path.
--s3-buckettextNoS3 bucket to download scan files fromOption is mutually exclusive with folder_path.

Did this page help you?