Update openscap.md

This commit is contained in:
Willy 2026-06-09 19:50:23 +02:00
parent efe289dd02
commit 2462248b36

View file

@ -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
``` ```