Skip to content

Commit

Permalink
fix: replace deprecated foreman-rake task
Browse files Browse the repository at this point in the history
`foreman-rake foreman_openscap:bulk_upload:default` returns "DEPRECATION
WARNING: Uploading scap contents using rake task is deprecated and will be
removed in a future version. Please use API or CLI.", replace with
Hammer CLI command.
  • Loading branch information
d1nuc0m authored and ekohl committed Nov 15, 2024
1 parent d013905 commit 84b347c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/foreman_openscap/1.0/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ __Creating default SCAP content__

* Install smart_proxy_openscap on one (or more) of your proxies
* Refresh features of that proxy (so it will register with OpenSCAP feature on the Foreman)
* from terminal run `foreman-rake foreman_openscap:bulk_upload:default`
* from terminal run `hammer scap-content bulk-upload --type default`

This will search for scap-security-guide SCAP contents and create SCAP content on the Foreman.

Expand Down

0 comments on commit 84b347c

Please sign in to comment.