Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/4] package/compliance-as-code: introduce new package
@ 2025-07-30 12:47 Alexis Lothoré via buildroot
  2025-07-30 12:47 ` [Buildroot] [PATCH 1/4] package/libxmlsec1: Add libxmlsec1 used by openSCAP Alexis Lothoré via buildroot
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Alexis Lothoré via buildroot @ 2025-07-30 12:47 UTC (permalink / raw)
  To: buildroot
  Cc: tim.hammer, nicolas.carrier, Thomas Petazzoni,
	Alexis Lothoré

Hello,
this series brings in new packages in order to enable building
Compliance As Code policies [1] (CaC) on a target. This project aims to
provide security policy content on systems: this content brings data
files describing checks standards and automations for system
configuration.  Those files come in various formats (XCCDF, OVAL, SCAP).
This project is tightly coupled to the OpenSCAP tool [2]:
- to build the data files to embed on the target system
- and to perform analysis on the system, by consuming the data files

CaC then depends on both openscap and host-openscap.
The series brings in the following commits:
- commit 1 brings libxmsec1, one of openscap dependencies
- commit 2 brings back host-libcurl (which has been supported and later
  removed from BR, as there was no user anymore), since host-openscap
  needs host-libcurl
- commit 3 brings openscap package
- commit 4 brings CaC package

The new CaC package brings a minimal feature set for now: it only brings
the security policy data files (ie: XML files) on the target. It can be
extended later as needed to bring in for example generated bash script,
ansible playbooks, etc.

Testing output:
$ ./utils/test-pkg -c cac.config -p compliance-as-code
   bootlin-armv5-uclibc [1/6]: OK
   bootlin-armv7-glibc [2/6]: OK
   bootlin-armv7m-uclibc [3/6]: SKIPPED
   bootlin-x86-64-musl [4/6]: OK
   br-arm-full-static [5/6]: SKIPPED
   arm-aarch64 [6/6]: OK

[1] https://github.com/ComplianceAsCode/content
[2] https://github.com/OpenSCAP/openscap

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
---
Alexis Lothoré (4):
      package/libxmlsec1: Add libxmlsec1 used by openSCAP
      package/libcurl: Reapply "libcurl: add host variant"
      package/openscap: add openscap package
      package/compliance-as-code: add new package

 package/Config.in                                  |  3 ++
 package/compliance-as-code/Config.in               | 35 +++++++++++++++
 package/compliance-as-code/compliance-as-code.hash |  5 +++
 package/compliance-as-code/compliance-as-code.mk   | 34 ++++++++++++++
 package/libcurl/libcurl.mk                         | 13 ++++++
 package/libxmlsec1/Config.in                       | 13 ++++++
 package/libxmlsec1/libxmlsec1.hash                 |  4 ++
 package/libxmlsec1/libxmlsec1.mk                   | 28 ++++++++++++
 package/openscap/Config.in                         | 18 ++++++++
 package/openscap/openscap.hash                     |  6 +++
 package/openscap/openscap.mk                       | 52 ++++++++++++++++++++++
 11 files changed, 211 insertions(+)
---
base-commit: 0461043a51322ebcf7cdd90b0d2f9b59df17bb9c
change-id: 20250724-openscap-7166fbe1571e

Best regards,
-- 
Alexis Lothoré, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2025-07-31 14:39 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-30 12:47 [Buildroot] [PATCH 0/4] package/compliance-as-code: introduce new package Alexis Lothoré via buildroot
2025-07-30 12:47 ` [Buildroot] [PATCH 1/4] package/libxmlsec1: Add libxmlsec1 used by openSCAP Alexis Lothoré via buildroot
2025-07-30 16:53   ` Thomas Petazzoni via buildroot
2025-07-30 17:18     ` Alexis Lothoré via buildroot
2025-07-30 12:47 ` [Buildroot] [PATCH 2/4] package/libcurl: Reapply "libcurl: add host variant" Alexis Lothoré via buildroot
2025-07-30 16:55   ` Thomas Petazzoni via buildroot
2025-07-30 12:47 ` [Buildroot] [PATCH 3/4] package/openscap: add openscap package Alexis Lothoré via buildroot
2025-07-30 17:02   ` Thomas Petazzoni via buildroot
2025-07-31 12:34     ` Alexis Lothoré via buildroot
2025-07-31 12:48       ` Thomas Petazzoni via buildroot
2025-07-31 13:14         ` Alexis Lothoré via buildroot
2025-07-31 14:39           ` Thomas Petazzoni via buildroot
2025-07-30 12:47 ` [Buildroot] [PATCH 4/4] package/compliance-as-code: add new package Alexis Lothoré via buildroot
2025-07-30 17:18   ` Thomas Petazzoni via buildroot
2025-07-30 18:09     ` Alexis Lothoré via buildroot
2025-07-30 19:29       ` Thomas Petazzoni via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox