Actions
Bug #14651
closedAdd hammer command to download the ARF report
Difficulty:
Triaged:
No
Description
THis should include exporting reports for hosts.
Updated by Marek Hulán about 8 years ago
- Subject changed from Add hammer commands for openscap to Add hammer command to download the ARF report
- Target version set to 115
This was already added https://github.com/theforeman/foreman-packaging/pull/1315 (1.13 will have the plugin), this ticket mentions reports downloading which is not implemented and I think will required some changes in hammer. So we'll use this ticket to track this.
Updated by Marek Hulán about 8 years ago
Martin said hammer should have builtin support for this, we should just add API endpoint which sends a file and hammer command that uses apipie #raw to get the content and saves it somewhere. That would imply only changes in foreman_openscap and hammer_cli_foreman_openscap.
Updated by Marek Hulán about 8 years ago
Few more info:
https://github.com/theforeman/hammer-cli/commit/d44637f502759523c228aee2faaa0b994ddef43f this commit allows it
- redefine #request_optionsto return {:response => :raw}
- redefine transform_format(data) to return data
- redefine print_data to save the file
Updated by Ondřej Pražák about 8 years ago
- Related to Feature #16694: Add API endpoint for Arf report download added
Updated by Marek Hulán about 8 years ago
- Status changed from New to Ready For Testing
- Assignee set to Ondřej Pražák
- Target version changed from 115 to 1.5.3
- Pull request https://github.com/theforeman/hammer_cli_foreman_openscap/pull/5 added
Updated by Marek Hulán about 8 years ago
- Target version changed from 1.5.3 to 1.5.0
Updated by Marek Hulán about 8 years ago
- Status changed from Ready For Testing to Closed
Actions