Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #17347: update openscap technique to improve technique documentation #298

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,35 +2,20 @@
"type": "ncf_technique",
"version": 1,
"data": {
"bundle_args": [
"profile",
"scap_file"
],
"bundle_name": "plugin_openscap_policies",
"category": "OpenSCAP_Policies_plugin",
"description": "This technique triggers an OpenSCAP audit every day, between 2:00 and 8:00 by default, and sends the report to the Rudder Server to be displayed on the Node Details.This Technique takes 2 parameters: - profile: the name of the profile to check (e.g. RHEL6-Default) - scap_file: the XCCDF Checklist file (e.g XCCDF Checklist)",
"description": "## Summary\n\nThis technique triggers an OpenSCAP audit every day, between 2:00 and 8:00 by default, and sends the report to the Rudder Server to be displayed on the Node Details.\n\n## Usage\n\nThis Technique takes 2 parameters:\n\n* *profile*: name of the profile to check (e.g. RHEL6-Default)\n* *scap_file*: XCCDF Checklist file (e.g XCCDF Checklist)\n\nWhen a Directive based on this Technique is applied on a Node, a new tab _OpenSCAP_ is available for this node, displaying a sanitized (no JS, no CSS) version of the reports, plus a link to download the raw version.\n\n## Resource\n\nAn introduction to OpenSCAP is available [here](https://www.open-scap.org/getting-started/) that explains the concepts of profile, and checklist file",
"name": "plugin_openscap_policies",
"version": "1.0",
"parameter": [
{
"constraints": {
"allow_empty_string": false,
"allow_whitespace_string": false,
"max_length": 16384
},
"id": "0bad6c1e-59c9-44ca-a935-210af4188643",
"name": "profile",
"type": "string"
"description": "name of the profile to check (e.g. RHEL7-Default)"
},
{
"constraints": {
"allow_empty_string": false,
"allow_whitespace_string": false,
"max_length": 16384
},
"id": "182dffe7-4310-4e01-bdd0-3f7db8272e2f",
"name": "scap_file",
"type": "string"
"description": "XCCDF Checklist file (e.g. /path/to//U_RHEL_7_V2R7_STIG_SCAP_1-2_Benchmark.xml)"
}
],
"method_calls": [
Expand Down