06-16-2010 08:34 AM
Struct parse error: Attribute name expected
I finally got through the API specification doc to at least understand where the fields are coming from class wise. I can't figure out what the error above means though.
Is there is way of running commands and the output tells where and what you're missing in relation to a VO argument ?
The following is the script:
description="Test Audit - API Created"
script="ls /tmp; exit 0"
06-23-2010 12:17 PM
No not yet. Apparently the scObjectPolicy object is read-only and you can't update it ... go figure.
I haven't touched this topic in a a bit but an idea I have is looking at how Audit Policies with CMDOUTPUT scripts applied to them could possibly be used here. Maybe defined the Audit Policy via the GUI and then use a script to "link" the Audit Policy into a new Audit.
Or even look at how to create an Audit Policy via the CLI and then link it.
Granted this isn't created an audit from scratch with a rule defined within the audit itself via the CLI but it's better than nothing. I haven't tried this yet but plan to once I get a few things off my plate.
06-23-2010 12:29 PM