Fix: Use NEXUS_TARGET_BUILD in Nexus IQ CLI scanner
[releng/global-jjb.git] / releasenotes / notes / nexus-python-cli-build-target-f54c9b07b4181ba4.yaml
1 ---
2 fixes:
3   - |
4     Replace Nexus IQ build Target from "${REQUIREMENTS_FILE}" to "${NEXUS_TARGET_BUILD}".
5     The scanner is only including the requirements.txt file in its scan which
6     should not contain other information than python package requirements.
7     Instead, use a "${NEXUS_TARGET_BUILD}" parameter which the user can optionally provide to
8     the scanner to indicate a file or directory to include in the scan. By default, this
9     variable is configured to scan all files in the repo.