Update openscap.md
This commit is contained in:
parent
efe289dd02
commit
2462248b36
1 changed files with 10 additions and 1 deletions
11
openscap.md
11
openscap.md
|
|
@ -1,5 +1,14 @@
|
||||||
|
## Installation d'OpenSCAP sur Debian12
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo apt update
|
||||||
|
sudo apt install openscap-scanner openscap-utils ssg-debian
|
||||||
|
```
|
||||||
|
## Execution d'un audit de sécurité
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
wget https://www.debian.org/security/oval/oval-definitions-$(lsb_release -cs).xml.bz2
|
wget https://www.debian.org/security/oval/oval-definitions-$(lsb_release -cs).xml.bz2
|
||||||
bunzip2 oval-definitions-$(lsb_release -cs).xml.bz2
|
bunzip2 oval-definitions-$(lsb_release -cs).xml.bz2
|
||||||
oscap oval eval --report rapport-vulns.html oval-definitions-$(lsb_release -cs).xml
|
oscap oval eval --report rapport-vulns.html oval-definitions-$(lsb_release -cs).xml
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue