Skip to content

Commit 828531d

Browse files
authored
Merge pull request #62 from dependency-check/develop
Cross Platform v6.0
2 parents 35fe5a1 + a875519 commit 828531d

39 files changed

+2363
-5854
lines changed

.gitignore

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@ node_modules
2929
.vscode
3030
*.vsix
3131

32+
.taskkey
33+
3234
# Dep check data directory files
33-
src/Tasks/dependency-check-build-task/dependency-check/data/*.json
34-
src/Tasks/dependency-check-build-task/dependency-check/data/*.db
35-
src/Tasks/dependency-check-build-task/dependency-check-*.zip
35+
src/Tasks/dependency-check-build-task/dependency-check/*
36+
src/Tasks/dependency-check-build-task/dependency-check/data/*
37+
src/Tasks/dependency-check-build-task/dependency-check-build-task.js
38+
!src/Tasks/dependency-check-build-task/dependency-check/data
39+
!src/Tasks/dependency-check-build-task/dependency-check/data/README.md

CODEOWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Default administrators group
2+
* @dependency-check/administrators

build/build.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@
44
# Unfortunately can't include cached data in the VSIX, exceeds max size for package upload (booooo).
55
#./src/Tasks/dependency-check-build-task/dependency-check/bin/dependency-check.sh --updateonly
66

7+
srcPath=`pwd`
8+
9+
# build the task
10+
cd ./src/Tasks/dependency-check-build-task/
11+
npm install
12+
npm run build
13+
714
# build the extension
15+
cd $srcPath
816
npm install
9-
npm run build
17+
npm run build

overview.md

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,16 @@ Dependency-Check is a software composition analysis utility that identifies proj
44

55
The OWASP Dependency Check Azure DevOps Extension enables the following features in an Azure Build Pipeline:
66

7-
- Software composition analysis runs against package references during each build
7+
- Software composition analysis runs against package references during build on both Windows and Linux build agents.
88

99
- Export vulnerability data to HTML, JSON, XML, CSV, JUnit formatted reports
1010

1111
- Download vulnerability reports from the build's artifacts
1212

13+
## GitHub Repository
14+
15+
The extension maintainers do not monitor the Marketplace Question & Answers. please use the [Azure DevOps Dependency Check](https://github.com/dependency-check/azuredevops) repository for questions, issues, or enhancements.
16+
1317
## Installation and Configuration
1418

1519
- Install the [OWASP Dependency Check](https://marketplace.visualstudio.com/items?itemName=dependency-check.dependencycheck) extension into your Azure DevOps Organization.
@@ -20,53 +24,53 @@ The OWASP Dependency Check Azure DevOps Extension enables the following features
2024

2125
- Press the **+** icon to add a new **OWASP Dependency Check** build task.
2226

23-
<img src="https://raw.githubusercontent.com/dependency-check/azuredevops/master/screenshots/buildtask-new.png">
27+
<img src="https://raw.githubusercontent.com/dependency-check/azuredevops/main/screenshots/buildtask-new.png">
2428

2529
- Search for the **OWASP Dependency Check** task and press the **Add** button.
2630

27-
<img src="https://raw.githubusercontent.com/dependency-check/azuredevops/master/screenshots/buildtask-add.png">
31+
<img src="https://raw.githubusercontent.com/dependency-check/azuredevops/main/screenshots/buildtask-add.png">
2832

2933
- Configure the build task with the appropriate [Dependency Check Command Line Arguments](https://jeremylong.github.io/DependencyCheck/dependency-check-cli/arguments.html).
3034

31-
<img src="https://raw.githubusercontent.com/dependency-check/azuredevops/master/screenshots/buildtask-configure.png">
35+
<img src="https://raw.githubusercontent.com/dependency-check/azuredevops/main/screenshots/buildtask-configure.png">
3236

3337
## Executing Dependency Check
3438

3539
- Execute the pipeline and wait for the build to complete.
3640

3741
- Review the build logs and ensure the the Dependency Check task successfully completed.
3842

39-
<img src="https://raw.githubusercontent.com/dependency-check/azuredevops/master/screenshots/build-success.png">
43+
<img src="https://raw.githubusercontent.com/dependency-check/azuredevops/main/screenshots/build-success.png">
4044

4145
- Click on the Dependency Check build task to view the build output.
4246

43-
<img src="https://raw.githubusercontent.com/dependency-check/azuredevops/master/screenshots/build-output.png">
47+
<img src="https://raw.githubusercontent.com/dependency-check/azuredevops/main/screenshots/build-output.png">
4448

4549
## Dependency Check Reports
4650

4751
- Each of the selected report formats are uploaded to the **Artifacts** for downloading.
4852

49-
<img src="https://raw.githubusercontent.com/dependency-check/azuredevops/master/screenshots/build-artifacts.png">
53+
<img src="https://raw.githubusercontent.com/dependency-check/azuredevops/main/screenshots/build-artifacts.png">
5054

5155
- Select **Dependency Check** to open the **Artifact Explorer** and download the Dependency Check reports.
5256

53-
<img src="https://raw.githubusercontent.com/dependency-check/azuredevops/master/screenshots/build-artifacts-explorer.png">
57+
<img src="https://raw.githubusercontent.com/dependency-check/azuredevops/main/screenshots/build-artifacts-explorer.png">
5458

5559
- Dependency Check supports exporting the results to JUNIT formatted test results. To parse the JUNIT test results, create a new **Publish Test Results** build task with the following configuration.
5660

57-
<img src="https://raw.githubusercontent.com/dependency-check/azuredevops/master/screenshots/buildtask-tests.png">
61+
<img src="https://raw.githubusercontent.com/dependency-check/azuredevops/main/screenshots/buildtask-tests.png">
5862

5963
- View the **Tests** screen to view the passing and failing Dependency Check tests.
6064

61-
<img src="https://raw.githubusercontent.com/dependency-check/azuredevops/master/screenshots/build-tests.png">
65+
<img src="https://raw.githubusercontent.com/dependency-check/azuredevops/main/screenshots/build-tests.png">
6266

6367
## Learn More
6468

6569
More details on configuring and running Dependency Check can be found at [https://jeremylong.github.io/DependencyCheck/](https://jeremylong.github.io/DependencyCheck/).
6670

6771
## Supported Environments
6872

69-
- Azure DevOps Agents must be running a Windows agent with Powershell to execute the build task.
73+
- The Dependency Check Azure DevOps extension has been converted to TypeScript as of version 6.0. With this update, both Linux and Windows build agents are supported.
7074

7175
## Contributors
7276

@@ -77,3 +81,5 @@ The following contributor(s) help maintain the Azure DevOps extension:
7781
- Eric Johnson ([@emjohn20](https://twitter.com/emjohn20)) - Principal Security Engineer, Puma Security
7882

7983
- Even Schjølberg, Upheads
84+
85+
- [Alain Croisetiere](https://github.com/alaincroisetiere)

0 commit comments

Comments
 (0)