NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

ONTAP Discussions

Native fpolicy questions

LimorK
3,125 Views

Hello all,

 

Ontap 9.13.1

After enabling native fpolicy we encountered some quiestions:

1) How do we modify the disallowed extensions file. The current kb is a bit unclear about that.

2) After modifying the above file, how do we make sure this is the version used on all enabled svms.

3) What is the path of the original disallowed extensions file?

 

 

 

1 ACCEPTED SOLUTION

ChLokesh
2,916 Views

Hello There, 

Please find the answers below.

 

1) How do we modify the disallowed extensions file. The current kb is a bit unclear about that.
Use the vserver fpolicy policy scope modify -file-extensions-to-include command to add (Block)or remove (Unblock) specific file extentioss.
https://docs.netapp.com/us-en/ontap-cli-98/vserver-fpolicy-policy-scope-modify.html#parameters 

 

2) After modifying the above file, how do we make sure this is the version used on all enabled svms.
Run a vserver fpolicy policy scope show -vserver <VSERVER_NAME> to check the include (Blocked) and exclude (Unblocked) extesnions

 

3) What is the path of the original disallowed extensions file?\
There is no path or file for these disallowed extentions/

View solution in original post

2 REPLIES 2

SpindleNinja
2,958 Views

If this is the same KB I'm thinking about.   IIRC - You basically need to delete the existing native fpolicy config via the CLI and then reapply it via the GUI after making your edits.   

ChLokesh
2,917 Views

Hello There, 

Please find the answers below.

 

1) How do we modify the disallowed extensions file. The current kb is a bit unclear about that.
Use the vserver fpolicy policy scope modify -file-extensions-to-include command to add (Block)or remove (Unblock) specific file extentioss.
https://docs.netapp.com/us-en/ontap-cli-98/vserver-fpolicy-policy-scope-modify.html#parameters 

 

2) After modifying the above file, how do we make sure this is the version used on all enabled svms.
Run a vserver fpolicy policy scope show -vserver <VSERVER_NAME> to check the include (Blocked) and exclude (Unblocked) extesnions

 

3) What is the path of the original disallowed extensions file?\
There is no path or file for these disallowed extentions/

Public