The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.

For a list of other such plugins, see the Pipeline Steps Reference page.

InsightVM Container Image Scanner

step([$class: 'ContainerAssessmentBuilder']): Assess Container Image with Rapid7 InsightVM

  • failOnPluginError (optional)
    Enable this option to fail the build if the plugin encountered any errors.
    • Type: boolean
  • imageId (optional)
    Provide a Docker image ID or name which can be referenced by the Docker daemon (e.g. my-repo/my-image:my-tag).
    • Type: String
  • nameRules (optional)
      Array / List of Nested Choice of Objects
    • $class: 'PackageNameDescribable'
      • action
        Select Fail to set the build status to Fail. Select Mark Unstable to set the build status to Unstable.
        • Type: String
      • contains
        Set the name that will trigger the selected action.
        • Type: String
    • $class: 'VulnerabilityCategoryDescribable'
      • action
        Select Fail to set the build status to Fail. Select Mark Unstable to set the build status to Unstable.
        • Type: String
      • contains
        Set the name that will trigger the selected action.
        • Type: String
    • $class: 'VulnerabilityTitleDescribable'
      • action
        Select Fail to set the build status to Fail. Select Mark Unstable to set the build status to Unstable.
        • Type: String
      • contains
        Set the name that will trigger the selected action.
        • Type: String
    • $class: 'VulnerablePackageNameDescribable'
      • action
        Select Fail to set the build status to Fail. Select Mark Unstable to set the build status to Unstable.
        • Type: String
      • contains
        Set the name that will trigger the selected action.
        • Type: String
  • thresholdRules (optional)
      Array / List of Nested Choice of Objects
    • $class: 'CriticalVulnerabilitiesDescribable'
      • action
        Select Fail to set the build status to Fail. Select Mark Unstable to set the build status to Unstable.
        • Type: String
      • threshold
        Set the numeric threshold value that will trigger the selected action.
        • Type: String
    • $class: 'CvssV2ScoreDescribable'
      • action
        Select Fail to set the build status to Fail. Select Mark Unstable to set the build status to Unstable.
        • Type: String
      • threshold
        Set the numeric threshold value that will trigger the selected action.
        • Type: String
    • $class: 'ExploitableVulnerabilitiesDescribable'
      • action
        Select Fail to set the build status to Fail. Select Mark Unstable to set the build status to Unstable.
        • Type: String
      • threshold
        Set the numeric threshold value that will trigger the selected action.
        • Type: String
    • $class: 'MalwareKitsDescribable'
      • action
        Select Fail to set the build status to Fail. Select Mark Unstable to set the build status to Unstable.
        • Type: String
      • threshold
        Set the numeric threshold value that will trigger the selected action.
        • Type: String
    • $class: 'ModerateVulnerabilitiesDescribable'
      • action
        Select Fail to set the build status to Fail. Select Mark Unstable to set the build status to Unstable.
        • Type: String
      • threshold
        Set the numeric threshold value that will trigger the selected action.
        • Type: String
    • $class: 'PackageRiskScoreDescribable'
      • action
        Select Fail to set the build status to Fail. Select Mark Unstable to set the build status to Unstable.
        • Type: String
      • threshold
        Set the numeric threshold value that will trigger the selected action.
        • Type: String
    • $class: 'RiskScoreDescribable'
      • action
        Select Fail to set the build status to Fail. Select Mark Unstable to set the build status to Unstable.
        • Type: String
      • threshold
        Set the numeric threshold value that will trigger the selected action.
        • Type: String
    • $class: 'SevereVulnerabilitiesDescribable'
      • action
        Select Fail to set the build status to Fail. Select Mark Unstable to set the build status to Unstable.
        • Type: String
      • threshold
        Set the numeric threshold value that will trigger the selected action.
        • Type: String
    • $class: 'TotalVulnerabilitiesDescribable'
      • action
        Select Fail to set the build status to Fail. Select Mark Unstable to set the build status to Unstable.
        • Type: String
      • threshold
        Set the numeric threshold value that will trigger the selected action.
        • Type: String
  • treatWarningsAsErrors (optional)
    Enable this option to treat warnings as errors, which will fail the build.
    • Type: boolean
  • workspaceDir (optional)
    • Type: String

Was this page helpful?

Please submit your feedback about this page through this quick form.

Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?

    


See existing feedback here.