Skip to content

Commit 20ab468

Browse files
committed
feat(scan):SP-4027 add support for scan tuning parameters
1 parent 4853d0b commit 20ab468

9 files changed

Lines changed: 24 additions & 11 deletions

File tree

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.6.0] - 2026-02-10
11+
### Added
12+
- Added support for scan tuning parameters
13+
### Changed
14+
- Upgraded scanoss-py version to v1.45.0
15+
1016
## [1.5.0] - 2026-01-19
1117
### Added
1218
- Mark policy threads as fixed when policy checks pass (copyleft, undeclared, and dependency track)
@@ -44,4 +50,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4450
[1.2.0]: https://github.com/scanoss/ado-code-scan/compare/v1.1.0...v1.2.0
4551
[1.3.0]: https://github.com/scanoss/ado-code-scan/compare/v1.2.0...v1.3.0
4652
[1.4.0]: https://github.com/scanoss/ado-code-scan/compare/v1.3.0...v1.4.0
47-
[1.5.0]: https://github.com/scanoss/ado-code-scan/compare/v1.4.0...v1.5.0
53+
[1.5.0]: https://github.com/scanoss/ado-code-scan/compare/v1.4.0...v1.5.0
54+
[1.6.0]: https://github.com/scanoss/ado-code-scan/compare/v1.5.0...v1.6.0

OVERVIEW.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ When the pipeline is manually triggered or runs on a schedule, the results are u
169169
| depTrackProjectVersion | Dependency Track project version (required if projectId not provided). | Optional | - |
170170
| apiUrl | SCANOSS API URL | Optional | `https://api.osskb.org/scan/direct` |
171171
| apiKey | SCANOSS API Key | Optional | - |
172-
| runtimeContainer | Runtime URL | Optional | `ghcr.io/scanoss/scanoss-py:v1.37.1` |
172+
| runtimeContainer | Runtime URL | Optional | `ghcr.io/scanoss/scanoss-py:v1.45.0` |
173173
| licensesCopyleftInclude | List of Copyleft licenses to append to the default list. Provide licenses as a comma-separated list. | Optional | - |
174174
| licensesCopyleftExclude | List of Copyleft licenses to remove from default list. Provide licenses as a comma-separated list. | Optional | - |
175175
| licensesCopyleftExplicit | Explicit list of Copyleft licenses to consider. Provide licenses as a comma-separated list. | Optional | - |
@@ -214,6 +214,12 @@ Additionally, if it is a Pull Request, a comment with a summary of the report wi
214214

215215
![Comments on PR Copyleft licenses](https://github.com/scanoss/integration-azure-DevOps/blob/main/.github/assets/pr_comment_copyleft.png?raw=true)
216216

217+
## Scan Tuning Parameters
218+
219+
The SCANOSS scan engine supports [scan tuning parameters](https://github.com/scanoss/scanoss.py/blob/main/docs/source/scanoss_settings_schema.rst#scan-tuning-parameters) for snippet matching.
220+
221+
> **Important:** Scan tuning parameters must be configured through the `scanoss.json`. They are **not** configured as SCANOSS ADO input parameters.
222+
217223
## Dependency Track Integration
218224

219225
The SCANOSS Code Scan Task integrates with Dependency Track to provide enhanced vulnerability tracking and policy enforcement. This integration consists of two main features:

codescantask/app.input.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export const API_URL = tl.getInput('apiUrl');
3434
export const OUTPUT_FILEPATH = tl.getInput('outputFilepath') || "scanoss-raw.json";
3535
export const REPO_DIR = tl.getVariable('Build.Repository.LocalPath') || ''; // Get repository path
3636
export const POLICIES_HALT_ON_FAILURE = tl.getInput('policiesHaltOnFailure') === 'true';
37-
export const RUNTIME_CONTAINER = tl.getInput('runtimeContainer') || "ghcr.io/scanoss/scanoss-py:v1.40.1";
37+
export const RUNTIME_CONTAINER = tl.getInput('runtimeContainer') || "ghcr.io/scanoss/scanoss-py:v1.45.0";
3838
export const SKIP_SNIPPETS = tl.getInput('skipSnippets') === 'true';
3939
export const SCAN_FILES = tl.getInput('scanFiles') === 'true';
4040
export const SCANOSS_SETTINGS = tl.getInput('scanossSettings') === 'true';

codescantask/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

codescantask/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "azure-devops-integration",
3-
"version": "1.5.0",
3+
"version": "1.6.0",
44
"description": "",
55
"main": "index.js",
66
"scripts": {

codescantask/services/scan.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export interface Options {
7171
inputFilepath: string;
7272

7373
/**
74-
* Runtime container to perform scan. Default [ghcr.io/scanoss/scanoss-py:v1.26.3]
74+
* Runtime container to perform scan. Default [ghcr.io/scanoss/scanoss-py:v1.45.0]
7575
*/
7676
runtimeContainer: string;
7777

codescantask/task.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"author": "SCANOSS",
1010
"version": {
1111
"Major": 1,
12-
"Minor": 5,
12+
"Minor": 6,
1313
"Patch": 0
1414
},
1515
"instanceNameFormat": "SCANOSS Code Scan",
@@ -82,7 +82,7 @@
8282
"name": "runtimeContainer",
8383
"type": "string",
8484
"label": "Runtime container",
85-
"defaultValue": "ghcr.io/scanoss/scanoss-py:v1.40.1",
85+
"defaultValue": "ghcr.io/scanoss/scanoss-py:v1.45.0",
8686
"required": false,
8787
"helpMarkDown": "Specify runtime container to perform the scan."
8888
},

vss-extension-dev.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"manifestVersion": 1,
33
"id": "scanoss-code-scan-dev",
44
"name": "SCANOSS Code Scan DEV",
5-
"version": "0.21.71",
5+
"version": "0.21.72",
66
"publisher": "SCANOSS",
77
"public": false,
88
"targets": [

vss-extension.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"manifestVersion": 1,
33
"id": "scanoss-code-scan",
44
"name": "SCANOSS Code Scan",
5-
"version": "1.5.0",
5+
"version": "1.6.0",
66
"publisher": "SCANOSS",
77
"public": true,
88
"targets": [

0 commit comments

Comments
 (0)