You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: OVERVIEW.md
+56-23Lines changed: 56 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,42 @@ The SCANOSS Code Scan task enhances your software development process by automat
4
4
## Usage
5
5
Before using the SCANOSS Code Scan Task, you need to install it from the Azure Marketplace. You can find it [here](https://marketplace.visualstudio.com/items?itemName=SCANOSS.scanoss-code-scan).
6
6
7
+
## Breaking change v1.0.0
8
+
9
+
- Default runtime container updated to `ghcr.io/scanoss/scanoss-py:v1.26.1`
10
+
- Removed parameters:
11
+
-`sbomEnabled`
12
+
-`sbomFilepath`
13
+
-`sbomType`
14
+
15
+
### Converting from sbom.json to scanoss.json
16
+
The SBOM configuration format has changed and the file name must be updated from **sbom.json** to **scanoss.json**. Here's how to convert your existing configuration:
17
+
18
+
Old format (sbom.json):
19
+
```json
20
+
{
21
+
"components": [
22
+
{
23
+
"purl": "pkg:github/scanoss/scanner.c"
24
+
}
25
+
]
26
+
}
27
+
```
28
+
29
+
New format (scanoss.json):
30
+
```json
31
+
{
32
+
"bom": {
33
+
"include": [
34
+
{
35
+
"purl": "pkg:github/scanoss/scanner.c"
36
+
}
37
+
]
38
+
}
39
+
}
40
+
```
41
+
42
+
7
43
### Set Up
8
44
9
45
The SCANOSS Code Scan Task uses the Azure API to create Checks and Comments on Pull Requests. Once the pipeline is available upstream, ensure you have the correct permissions set up on your repository:
@@ -106,29 +142,26 @@ When the pipeline is manually triggered or runs on a schedule, the results are u
| licensesCopyleftInclude | List of Copyleft licenses to append to the default list. Provide licenses as a comma-separated list. | Optional | - |
125
-
| licensesCopyleftExclude | List of Copyleft licenses to remove from default list. Provide licenses as a comma-separated list. | Optional | - |
126
-
| licensesCopyleftExplicit | Explicit list of Copyleft licenses to consider. Provide licenses as a comma-separated list. | Optional | - |
127
-
| skipSnippets | Skip the generation of snippets. (scan_files option must be enabled) | Optional | `false` |
128
-
| scanFiles | Enable or disable file and snippet scanning | Optional | `true` |
129
-
| scanossSettings | Settings file to use for scanning. See the SCANOSS settings [documentation](https://scanoss.readthedocs.io/projects/scanoss-py/en/latest/#settings-file) | Optional | `true` |
130
-
| settingsFilepath | Filepath of the SCANOSS settings to be used for scanning | Optional | `scanoss.json` |
| licensesCopyleftInclude | List of Copyleft licenses to append to the default list. Provide licenses as a comma-separated list. | Optional | - |
158
+
| licensesCopyleftExclude | List of Copyleft licenses to remove from default list. Provide licenses as a comma-separated list. | Optional | - |
159
+
| licensesCopyleftExplicit | Explicit list of Copyleft licenses to consider. Provide licenses as a comma-separated list. | Optional | - |
160
+
| skipSnippets | Skip the generation of snippets. (scan_files option must be enabled) | Optional | `false` |
161
+
| scanFiles | Enable or disable file and snippet scanning | Optional | `true` |
162
+
| scanossSettings | Settings file to use for scanning. See the SCANOSS settings [documentation](https://scanoss.readthedocs.io/projects/scanoss-py/en/latest/#settings-file) | Optional | `true` |
163
+
| settingsFilepath | Filepath of the SCANOSS settings to be used for scanning | Optional | `scanoss.json` |
164
+
| debug | Enable debugging | Optional | `false` |
132
165
133
166
## Policy Checks
134
167
The SCANOSS Code Scan Task includes two configurable policies:
0 commit comments