WEBVTT

00:00:01.130 --> 00:00:05.990
In this demo, I'll show you just how easy installing OWASP Dependency‑Check is.

00:00:06.980 --> 00:00:09.670
The command line tool is available in two forms, a

00:00:09.670 --> 00:00:12.680
downloadable Java program and a Docker image.

00:00:13.560 --> 00:00:14.760
The Docker image is great.

00:00:14.770 --> 00:00:17.570
It's a very portable way to run Dependency‑Check, and it's

00:00:17.570 --> 00:00:22.260
especially suited for build pipelines. But, so that we can focus on

00:00:22.260 --> 00:00:25.550
the tool itself and not get distracted by Docker stuff, we're going

00:00:25.550 --> 00:00:27.350
to use a downloadable Java version.

00:00:28.700 --> 00:00:30.870
That means that before you can run Dependency‑Check,

00:00:30.880 --> 00:00:33.240
you'll need to have the Java Runtime installed on

00:00:33.240 --> 00:00:35.460
your system, version 8 or newer.

00:00:36.390 --> 00:00:39.590
We can download Dependency‑Check from the official OWASP website.

00:00:40.150 --> 00:00:42.290
The link to the download page is going to be in the

00:00:42.290 --> 00:00:43.920
resources at the end of this course,

00:00:44.020 --> 00:00:48.220
but you can easily find it by going to owasp.org and putting

00:00:48.230 --> 00:00:51.480
Dependency‑Check in the search bar at the top of the page.

00:00:53.390 --> 00:00:56.420
Hit Enter, and click on the first result that comes back.

00:00:58.400 --> 00:01:02.440
That takes us to the main site for the Dependency‑Check project, and it's

00:01:02.440 --> 00:01:06.090
well worth having a read of this page to understand the tool in OWASP's

00:01:06.090 --> 00:01:11.360
own words. Scroll down a bit, and on the right‑hand side you'll see

00:01:11.370 --> 00:01:13.760
Downloads, and you want the first option,

00:01:13.810 --> 00:01:18.810
Command Line. Hit that, and a ZIP file download of the most recent version

00:01:18.820 --> 00:01:24.150
will start. Installing Dependency‑Check is as simple as just unzipping that

00:01:24.150 --> 00:01:26.300
download to wherever you want to install it.

00:01:26.860 --> 00:01:29.280
I'm going to put it at the top of my C drive.

00:01:31.420 --> 00:01:32.430
Once it's unzipped,

00:01:32.440 --> 00:01:36.930
you can go into the bin directory, and you will find both Windows Batch and

00:01:36.930 --> 00:01:40.210
Linux Shell scripts for whichever operating system you're using.

00:01:42.190 --> 00:01:42.770
Finally,

00:01:42.770 --> 00:01:46.180
I recommend adding this bin folder to your path environment

00:01:46.180 --> 00:01:48.640
variable so that you don't need to reference the full

00:01:48.640 --> 00:01:50.960
installation path when you're invoking the tool.

00:01:52.980 --> 00:01:53.990
Once you've done all that,

00:01:53.990 --> 00:01:56.700
you can open a terminal window anywhere you'd like and run

00:01:56.710 --> 00:02:01.990
dependency‑check ‑v, and if the install was successful,

00:02:02.000 --> 00:02:05.550
you'll see the Dependency‑Check version reported back to you.
