Skip to content

Commit ee5ad22

Browse files
committed
Add CSAF data/update security info
1 parent 7ce7cb3 commit ee5ad22

File tree

2 files changed

+59
-22
lines changed

2 files changed

+59
-22
lines changed

docs/.vuepress/routes.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,6 @@
2424
"/els-for-languages/python/#supported-versions": "/els-for-languages/python/#supported-os-and-python-versions",
2525
"/els-for-languages/python/#supported-os": "/els-for-languages/python/#supported-os-and-python-versions",
2626
"/els-for-languages/php/#rpm-based-systems": "/els-for-languages/php/#installation-instructions-for-linux",
27-
"/els-for-languages/php/#deb-based-systems": "/els-for-languages/php/#installation-instructions-for-linux"
27+
"/els-for-languages/php/#deb-based-systems": "/els-for-languages/php/#installation-instructions-for-linux",
28+
"/els-for-languages/php/#introduction": "/els-for-languages/php/#oval-data"
2829
}

docs/els-for-languages/php/README.md

Lines changed: 57 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -262,29 +262,30 @@ To confirm PHP is working:
262262
263263
You can integrate PHP with other tools, for example, IIS or WordPress. For further details and documentation, refer to the [official PHP documentation](https://www.php.net/manual/en/index.php).
264264
265-
## OVAL data
265+
## Security Assurance
266266
267-
### Introduction
267+
### OVAL data
268268
269269
This section contains information about available ELS for PHP OVAL streams that can be used by vulnerability scanners.
270270
271-
### TuxCare PHP ELS OVAL Streams
271+
#### TuxCare PHP ELS OVAL Streams
272272
273273
Currently, we provide OVAL data for the following OS versions:
274274
275-
* EL 6 (CentOS, CloudLinux, OracleLinux, etc.): [centos6-els-php-oval.xml](https://repo.cloudlinux.com/php-els/centos6-els-php-oval.xml)
276-
* EL 7 (CentOS, CloudLinux, OracleLinux, etc.): [centos7-els-php-oval.xml](https://repo.cloudlinux.com/php-els/centos7-els-php-oval.xml)
277-
* EL 8 (AlmaLinux, CentOS, CloudLinux, OracleLinux, etc.): [centos8-els-php-oval.xml](https://repo.cloudlinux.com/php-els/centos8-els-php-oval.xml)
278-
* EL 9 (AlmaLinux, CentOS, CloudLinux, etc.): [centos9-els-php-oval.xml](https://repo.cloudlinux.com/php-els/centos9-els-php-oval.xml)
279-
* Ubuntu 16.04: [ubuntu16.04-els-php-oval.xml](https://repo.cloudlinux.com/php-els/ubuntu16.04-els-php-oval.xml)
280-
* Ubuntu 18.04: [ubuntu18.04-els-php-oval.xml](https://repo.cloudlinux.com/php-els/ubuntu18.04-els-php-oval.xml)
281-
* Ubuntu 20.04: [ubuntu20.04-els-php-oval.xml](https://repo.cloudlinux.com/php-els/ubuntu20.04-els-php-oval.xml)
282-
* Ubuntu 22.04: [ubuntu22.04-els-php-oval.xml](https://repo.cloudlinux.com/php-els/ubuntu22.04-els-php-oval.xml)
283-
* Debian 10: [debian10-els-php-oval.xml](https://repo.cloudlinux.com/php-els/debian10-els-php-oval.xml)
284-
* Debian 11: [debian11-els-php-oval.xml](https://repo.cloudlinux.com/php-els/debian11-els-php-oval.xml)
285-
* Debian 12: [debian12-els-php-oval.xml](https://repo.cloudlinux.com/php-els/debian12-els-php-oval.xml)
286-
287-
### How to use OVAL
275+
* EL 6 (CentOS, CloudLinux, OracleLinux, etc.): [oval.xml](https://security.tuxcare.com/oval/els_lang_php/el6/oval.xml)
276+
* EL 7 (CentOS, CloudLinux, OracleLinux, etc.): [oval.xml](https://security.tuxcare.com/oval/els_lang_php/el7/oval.xml)
277+
* EL 8 (AlmaLinux, CentOS, CloudLinux, OracleLinux, etc.): [oval.xml](https://security.tuxcare.com/oval/els_lang_php/el8/oval.xml)
278+
* EL 9 (AlmaLinux, CentOS, CloudLinux, etc.): [oval.xml](https://security.tuxcare.com/oval/els_lang_php/el9/oval.xml)
279+
* Ubuntu 16.04: [oval.xml](https://security.tuxcare.com/oval/els_lang_php/ubuntu16.04/oval.xml)
280+
* Ubuntu 18.04: [oval.xml](https://security.tuxcare.com/oval/els_lang_php/ubuntu18.04/oval.xml)
281+
* Ubuntu 20.04: [oval.xml](https://security.tuxcare.com/oval/els_lang_php/ubuntu20.04/oval.xml)
282+
* Ubuntu 22.04: [oval.xml](https://security.tuxcare.com/oval/els_lang_php/ubuntu22.04/oval.xml)
283+
* Ubuntu 24.04: [oval.xml](https://security.tuxcare.com/oval/els_lang_php/ubuntu24.04/oval.xml)
284+
* Debian 10: [oval.xml](https://security.tuxcare.com/oval/els_lang_php/debian10/oval.xml)
285+
* Debian 11: [oval.xml](https://security.tuxcare.com/oval/els_lang_php/debian11/oval.xml)
286+
* Debian 12: [oval.xml](https://security.tuxcare.com/oval/els_lang_php/debian12/oval.xml)
287+
288+
#### How to use OVAL
288289
289290
OVAL can be used with the OpenSCAP tool.
290291
@@ -295,14 +296,12 @@ OVAL can be used with the OpenSCAP tool.
295296
{ title: 'deb', content: 'apt-get install libopenscap8 -y' }
296297
]" />
297298
298-
**Note:** The next steps use CentOS 6 as an example. Please, substitute `centos6-els-php-oval.xml` as needed for your distribution.
299-
300-
2. Download an OVAL stream:
299+
2. Download an OVAL stream. For example, EL 6:
301300
302301
<CodeWithCopy>
303302
304303
```text
305-
wget https://repo.cloudlinux.com/php-els/centos6-els-php-oval.xml
304+
wget https://security.tuxcare.com/oval/els_lang_php/el6/oval.xml
306305
```
307306
308307
</CodeWithCopy>
@@ -312,11 +311,48 @@ OVAL can be used with the OpenSCAP tool.
312311
<CodeWithCopy>
313312
314313
```text
315-
oscap oval eval --results result.xml --report report.xml centos6-els-php-oval.xml
314+
oscap oval eval --results result.xml --report report.xml oval.xml
316315
```
317316

318317
</CodeWithCopy>
319318

319+
### Common Security Advisory Framework
320+
321+
Common Security Advisory Framework (CSAF) is a machine-readable format, standardized by [OASIS](https://www.csaf.io/). It's designed to enable consistent and automated sharing of security advisory information.
322+
323+
TuxCare publishes the following CSAF files at [security.tuxcare.com](https://security.tuxcare.com/csaf/v2/):
324+
* CSAF Vulnerability Exploitability eXchange (VEX) files – indexed by CVE VEX documents are available in CSAF 2.0 format, including past CVEs.
325+
* CSAF Security Advisory files – advisories are published in CSAF 2.0 format and indexed by Security Advisory.
326+
327+
`provider-matadata.json` contains information for tools and users about where and how to retrieve CSAF advisories published by TuxCare. By OASIS requirements, it is available at two URLs (both serving the same file):
328+
* [csaf.data.security.tuxcare.com/](https://csaf.data.security.tuxcare.com/)
329+
* [tuxcare.com/.well-known/csaf/provider-metadata.json](https://tuxcare.com/.well-known/csaf/provider-metadata.json)
330+
331+
#### TuxCare CSAF data
332+
333+
Currently, we provide CSAF data for the following OS versions:
334+
335+
* EL 6 (CentOS, CloudLinux, OracleLinux, etc.): [security.tuxcare.com/csaf/v2/els_lang_php/el6/](https://security.tuxcare.com/csaf/v2/els_lang_php/el6/)
336+
* EL 7 (CentOS, CloudLinux, OracleLinux, etc.): [security.tuxcare.com/csaf/v2/els_lang_php/el7/](https://security.tuxcare.com/csaf/v2/els_lang_php/el7/)
337+
* EL 8 (AlmaLinux, CentOS, CloudLinux, OracleLinux, etc.): [security.tuxcare.com/csaf/v2/els_lang_php/el8/](https://security.tuxcare.com/csaf/v2/els_lang_php/el8/)
338+
* EL 9 (AlmaLinux, CentOS, CloudLinux, etc.): [security.tuxcare.com/csaf/v2/els_lang_php/el9/](https://security.tuxcare.com/csaf/v2/els_lang_php/el9/)
339+
* Ubuntu 16.04: [security.tuxcare.com/csaf/v2/els_lang_php/ubuntu16.04/](https://security.tuxcare.com/csaf/v2/els_lang_php/ubuntu16.04/)
340+
* Ubuntu 18.04: [security.tuxcare.com/csaf/v2/els_lang_php/ubuntu18.04/](https://security.tuxcare.com/csaf/v2/els_lang_php/ubuntu18.04/)
341+
* Ubuntu 20.04: [security.tuxcare.com/csaf/v2/els_lang_php/ubuntu20.04/](https://security.tuxcare.com/csaf/v2/els_lang_php/ubuntu20.04/)
342+
* Ubuntu 22.04: [security.tuxcare.com/csaf/v2/els_lang_php/ubuntu22.04/](https://security.tuxcare.com/csaf/v2/els_lang_php/ubuntu22.04/)
343+
* Ubuntu 24.04 [security.tuxcare.com/csaf/v2/els_lang_php/ubuntu24.04/](https://security.tuxcare.com/csaf/v2/els_lang_php/ubuntu24.04/)
344+
* Debian 10: [security.tuxcare.com/csaf/v2/els_lang_php/debian10/](https://security.tuxcare.com/csaf/v2/els_lang_php/debian10/)
345+
* Debian 11: [security.tuxcare.com/csaf/v2/els_lang_php/debian11/](https://security.tuxcare.com/csaf/v2/els_lang_php/debian11/)
346+
* Debian 12: [security.tuxcare.com/csaf/v2/els_lang_php/debian12/](https://security.tuxcare.com/csaf/v2/els_lang_php/debian12/)
347+
348+
#### How to Use CSAF
349+
350+
The CSAF files are published in JSON format which is easy to parse and integrate with other tools - OASIS provides a [list of reference tools](https://www.csaf.io/tools.html) that support CSAF.
351+
352+
### Errata
353+
354+
Published errata for ELS for PHP: [security.tuxcare.com/errata/](https://security.tuxcare.com/errata/).
355+
320356
## PHP extensions list
321357

322358
You can find the list of the supported add-ons [here](https://docs.cloudlinux.com/cloudlinuxos/alt-ea_packages/#bundled-php-extensions).

0 commit comments

Comments
 (0)