Re: collect directory right

1 message Options
Embed this post
Permalink
Danny Haynes

Re: collect directory right

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)

Could you post your OVAL Definition so that I can take a look at it?  Also, it is possible to collect the effective rights of a directory with the win-def:fileeffectiverights53_test.   Below, I have provided two example fileeffectiverights53_objects that will collect the effective rights of a file and a directory.

 

                This object will collect the effective rights of the Administrators group (S-1-5-32-544) for the file whose absolute path is “C:\Test\a.txt”.

<fileeffectiverights53_object id="oval:test:obj:1" version="1" comment="Retrieves the effective rights of the file ‘C:\Test\a.txt’." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows">
    <path>C:\Test</path>
   
<filename>a.txt</filename>
   
<trustee_sid>S-1-5-32-544</trustee_sid>
</fileeffectiverights53_object>

 

              This object will collect the effective rights of the Administrators group (S-1-5-32-544) for the directory whose absolute path is “C:\Test”.  Note that the file entity has been set to nil with xsi:nil=”true”.
           
<fileeffectiverights53_object id="oval:test:obj:2" version="1" comment="Retrieves the effective rights of the directory ‘C:\Test’." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows">
                
<path>C:\Test</path>
                
<filename xsi:nil="true"></filename>
                
<trustee_sid>S-1-5-32-544</trustee_sid>
            
</fileeffectiverights53_object>

 

Thanks,

 

Danny

 

From: moreno gontijo [mailto:[hidden email]]
Sent: Monday, September 14, 2009 12:19 PM
To: oval-discussion-list OVAL Discussion List/Closed Public Discussi
Subject: [OVAL-DISCUSSION-LIST] collect directory right

 

I use "fileeffectiverights53_object" to collect the file effective right associated with Windows. but I can´t collect directory right using "fileeffectiverights53_object".
It is possible to collect the directory right using "fileeffectiverights53_object" or any object


Com o Novo Internet Explorer 8 suas abas se organizam por cor. Baixe agora, é grátis!

To unsubscribe, send an email message to [hidden email] with SIGNOFF OVAL-DISCUSSION-LIST in the BODY of the message. If you have difficulties, write to [hidden email].

To unsubscribe, send an email message to [hidden email] with SIGNOFF OVAL-DISCUSSION-LIST in the BODY of the message. If you have difficulties, write to [hidden email].