Bug #20406
closed
# curl --silent -k --header "Content-type: application/json" --header "X-API-Token: $(cat /var/rudder/run/api-token)" --request PUT https://localhost/rudder/api/latest/internal/techniques --data "@${CONFIGURATION_PATH}/techniques/plugin_openscap_policies.json"
<!DOCTYPE html>
<html> <body>The Requested URL /rudder/api/latest/internal/techniques was not found on this server</body> </html>
root@server:/var/rudder/configuration-repository/techniques/OpenSCAP_Policies_plugin#
removing the "internal" fails later
curl --silent -k --header "Content-type: application/json" --header "X-API-Token: $(cat /var/rudder/run/api-token)" --request PUT https://localhost/rudder/api/latest/techniques --data "@/opt/rudder/share/plugins/openscap/techniques/plugin_openscap_policies.json"
{"action":"CreateTechnique","result":"error","errorDetails":"Could not create ncf technique <- Error when looking for key 'id' <- parameter id cannot be empty <- parameter 'id' cannot be empty <- Error when looking for key 'bundle_name' <- parameter bundle_name cannot be empty <- parameter 'bundle_name' cannot be empty <- No key match"}
- Status changed from New to In progress
- Assignee set to Nicolas CHARLES
- Status changed from In progress to Pending technical review
- Assignee changed from Nicolas CHARLES to Félix DALLIDET
- Pull Request set to https://github.com/Normation/rudder-plugins/pull/431
- Status changed from Pending technical review to Pending release
- Status changed from Pending release to Released
Also available in: Atom
PDF