Skip to content

An NVD API Key was not provided message when it has been provided. #200

@brianleemoore

Description

@brianleemoore

I am having trouble getting the dependency check to run during one of our CI pipelines. No matter what I try I keep receiving the warning

[WARN] An NVD API Key was not provided - it is highly recommended to use an NVD API key as the update can take a VERY long time without an API Key

I have tried using the nvdApiKey task parameter and using the additionalArguments parameter both of which provide no solution.

Am I missing something as nobody else seems to be reporting this error.

      - task: dependency-check-build-task@6
        displayName: 'Vulnerability Scan'
        inputs:
          dependencyCheckVersion: 10.0.4
          projectName: 'Rome Api'
          scanPath: '**/*.csproj'
          excludePath: '**/tests/'
          format: 'HTML, JSON, JUNIT'
          uploadReports: true
          failOnCVSS: '8'
          nvdApiKey: '7**********************6'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions