Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How is the jaudit report in xml format parsed to get the violations?

nikhil.yogendraJan 23 2013 — edited Jan 23 2013
Hi,

I am working on an application which generates the report based on the jaudit output. I understand that there is a format style called "audit-html", which gives the output directly as a html file. But my requirement is I need to check for all violations against a local db table and report only those which are not present. I checked the jaudit command parameters and found that, if we do no specify any parameter as "-style", it will give an xml file as an output.

I am unable to figure out how this xml file can be correctly parsed, since there is no specific tree structure. Any pointers on how is this output formatting done by jaudit command?

Regards,
Nikhil Y

Edited by: 962334 on Jan 23, 2013 1:58 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 20 2013
Added on Jan 23 2013
0 comments
282 views