Hi
I am doing my first baby steps with the IBM Security Verify Governance Management VA RESTAPI (10.0.1.0), and I am encountering 2 odd behaviors:
a) Trying to fetch the value of a specific property but obtaining the full list of all properties/values instead for the given property file (ui.properties).
curl -k --user admin:password -H "Content-Type:application/json" -H "Accept: application/json" -X GET
https://appliance/v1/property?PropertyFile=ui.properties&PropertyName=enrole.ui.errorPage.verbosity
[
{
"PropertyName":"enrole.ui.errorPage.verbosity",
"PropertyValue":"0"
},
...
{
"PropertyName":"enrole.java.entWflowHeightIE",
"PropertyValue":"600"
}
]
b) Trying to delete an existing property (newly added) but will fail with access_denied
curl -k --user admin:password -H "Content-Type:application/json" -H "Accept: application/json" -X DELETE
https://appliance/v1/property?PropertyFile=ui.properties&PropertyName=enrole.java.new
{"result":"access_denied"}
I understand I would get this error if I had tried to delete an OOTB property, but this is not the case here.
I am able however to update successfully value for an existing property or add a new property and value as can be demonstrated below (no error).
c) Update existing property value (OK)
curl -k --user admin:password -H "Content-Type:application/json" -H "Accept: application/json" -X PUT https://appliance/v1/property -d "{PropertyFile: "ui.properties",PropertyName: "enrole.java.entWflowWidthMZ",PropertyValue: "700"}"
d) Add new property/value (OK)
curl -k --user admin: password -H "Content-Type:application/json" -H "Accept: application/json" -X POST https://appliance/v1/property -d "{PropertyFile: "ui.properties",PropertyName: "enrole.java.new",PropertyValue: "700"}"
Any help appreciated.
------------------------------
Sylvain Gilbert
------------------------------