CSAF-ROLIE(1p)
π CSAF-ROLIE π
okay bestie, gather round, because this one is so good. this is the manual page for csaf-rolie, and it lives in the User Contributed Perl Documentation section of the manual (that's the 1p vibe, iykyk). she builds ROLIE feeds. she's iconic. let's go π
β¨ NAME β¨
csaf-rolie β build a ROLIE (Resource-Oriented Lightweight Information Exchange) feed. periodt. π
πΈ SYNOPSIS πΈ
csaf-rolie --csaf DIRECTORY [--tlp-label STRING|--feed-id STRING|--feed-title STRING|--base-url URL|--output PATH]
csaf-rolie [--help|--man|-v]
Options:
-c, --conf PATH YAML config path
-d, --csaf DIR CSAF documents directory
--output PATH Feed output file path (default {csaf}/{feed-id}.json)
--tlp-label TLP (Traffic Light Protocol) label (default "WHITE")
--base-url Feed base URL (default "https://psirt.domain.tld/advisories/csaf")
--feed-id Feed ID (default "csaf-feed-tlp-{tlp-label}")
--feed-title Feed title (default "CSAF feed (TLP:{tlp-label})")
--stdout Write ROLIE feed in STDOUT
--verbose Print verbose messages
--test Test the configuration and exit
--help Brief help message
--man Full documentation
-v, --version Print version
and here's the same energy, one bullet at a time, so your brain can actually hold it π
-c,--conf PATHβ the path to your YAML config, bestie π-d,--csaf DIRβ the directory where your CSAF documents live π--output PATHβ where the feed file gets written (default is{csaf}/{feed-id}.json) β¨--tlp-labelβ the TLP (Traffic Light Protocol) label (default"WHITE") π¦--base-urlβ the feed's base URL (default"https://psirt.domain.tld/advisories/csaf") π--feed-idβ the feed ID (default"csaf-feed-tlp-{tlp-label}") π--feed-titleβ the feed title (default"CSAF feed (TLP:{tlp-label})") π·οΈ--stdoutβ writes the ROLIE feed straight to STDOUT π¨οΈ--verboseβ prints verbose messages so you can watch the whole thing happen π£οΈ--testβ tests the configuration and then dips out π§ͺ--helpβ a brief help message, for when you just need a lil hint π--manβ the full documentation, aka the whole lore π-v,--versionβ prints the version β
π¦ DESCRIPTION π¦
so, csaf-rolie builds a ROLIE (Resource-Oriented Lightweight Information Exchange) feed using your CSAF documents. that's the whole job. she eats CSAF docs and serves a feed π
https://docs.oasis-open.org/csaf/csaf/v2.0/os/csaf-v2.0-os.html
the Resource Oriented Lightweight Information Exchange (ROLIE for short, bestie) is a standard (RFC-8322) for exchanging security automation information between two machines, or between a machine and a human operator. machine to machine, machine to human, no cap π€
https://tools.ietf.org/html/rfc8322
π EXAMPLES π
π§ Create a new ROLIE feed
$ csaf-rolie --csaf /var/www/html/advisories/csaf \
--base-url https://security.acme.tld/advisories/csaf \
--feed-title "ACME CSAF feed (TLP:WHITE)" \
--verbose
CSAF directory : /var/www/html/advisories/csaf
TLP label : WHITE
Base URL : https://security.acme.tld/advisories/csaf
Feed ID : csaf-feed-tlp-white
Feed title : CSAF feed (TLP:WHITE)
Feed filename : csaf-feed-tlp-white.json
Output file : /var/www/html/advisories/csaf/csaf-feed-tlp-white.json
[*] Add ACMESA-2024:0001 in ROLIE feed
[*] Add ACMESA-2024:1337 in ROLIE feed
[...]
ROLIE feed saved in /var/www/html/advisories/csaf/csaf-feed-tlp-white.json
look at her go π the little [*] Add ... lines are lowkey my favorite part. she's adding advisories one by one and telling you about it. main character energy fr fr π
π Create a new ROLIE feed using a config file
available config items, so you know exactly what you're working with:
csafβ CSAF documents directoryoutputβ Feed output file path (default{csaf}/{feed-id}.json)tlp-labelβ TLP (Traffic Light Protocol) label (default"WHITE")base-urlβ Feed base URL (default"https://psirt.domain.tld/advisories/csaf")feed-idβ Feed ID (default"csaf-feed-tlp-{tlp-label}")feed-titleβ Feed title (default"CSAF feed (TLP:{tlp-label})")
ROLIE config file (rolie.conf) looking like this:
---
csaf: /var/www/html/advisories/csaf
base_url: https://security.acme.tld/advisories/csaf
tlp_label: WHITE
feed_id: acme-csaf-feed-tlp-white
feed_title: ACME CSAF feed (TLP:WHITE)
then use rolie.conf with the csaf-rolie command like so:
$ csaf-rolie --config /etc/csaf/rolie.conf
and if you wanna schedule the refresh of the ROLIE feed in crontab (set it and forget it era π):
*/2 * * * * csaf-rolie --config /etc/csaf/rolie.conf 2> /dev/null
π SEE ALSO π
csaf-validatorβ her bestie π«Ά
β AUTHOR β
Giuseppe Di Terlizzi https://metacpan.org/author/gdt β the icon, the legend π
π COPYRIGHT AND LICENSE π
Copyright Β© 2023-2025 Giuseppe Di Terlizzi https://metacpan.org/author/gdt
you may use and distribute this module according to the same terms that Perl is distributed under. so, like, the Perl terms. no need to reinvent the license bestie, it's already cute π
and that's the whole page, angel π¦
this wasperl v5.40.1, dated2025-09-03βCSAF-ROLIE(1p), signing off π β¨ mwah, go build a feed π
π¦ where this page comes from
- ubuntu resolute: libcsaf-perl 0.26-1 Β· Artistic-2.0
- ubuntu stonking: libcsaf-perl 0.26-1 Β· Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms