Audit Stream access via pytwist
Just to be honest, no. But doing some research found a script on the following location
Have you tried to play around with that one?
SW Support Technical Consultant
San Jose, Costa Rica
Hewlett Packard Enterprise
If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the post and show your appreciation”
You may try something like this:
env PYTHONPATH=/opt/opsware/pylibs2 /opt/opsware/bin/python2 -c 'import pytwist,getpass,sys;ts=pytwist.twistserver.TwistServer();ts.authenticate(sys.argv,getpass.getpass("password:"));pytwist.streamable.StreamableClient(ts).exportToFile(pytwist.com.opsware.compliance.sco.AuditResultRef(sys.argv),filename="AuditResult%s.xml" % sys.argv)' username_here audit_id_here
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
In addition, you'll probably want to reference both the SA Platform Developers Guide for the version of SA you are running, as well as the API documentation found in the twister webpages, accessible by pointing to your SA core with the
Of particular note for this issue would be the information/sections found by clicking on "Streamableclient" and
"AuditTaskService" on the bottom left-hand side of main webpage.