cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ICAP rule to bypass archive files with a certain file inside

I am working on creating a rule that will allow uploaded archive files to bypass the scan if they contain a certain .properties file. i am having a hard time finding how to do this. so far i have set to a particular file type, ".jar", but when i am not sure how to have it look for the .properties file and stop the cycle. Any ideas?

1 Reply
asabban
Employee
Employee
Report Inappropriate Content
Message 2 of 2

Re: ICAP rule to bypass archive files with a certain file inside

Hello,

here is an example:

1.) You create a User-Defined property of type boolean, default value "false" with a name like User-Defined.My.BypassFurtherProcessing

2.) You make an exception to the "Composite Opener" and to the "Gateway Anti Malware" rule sets. The first rule should say

"If User-Defined.My.BypassFurtherProcessing equals true => Stop Rule Set"

3.) Into the Composite Opener you make a rule that says

"If Body.FullFileName matches ABC_*.jar|*ABCChecksum.properties => Set Property Value: User-Defined.My.BypassFurtherProcessing"

By doing so MWG will check if the Filename was ABC_*.jar and there is an archive member ABCCHecksum.properties. If so the User-Defined Property is set to true, which will exclude further execution of Composite Opener and GAM filtering.

Best,
Andre

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use our Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from product experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by employees.
Join the Community
Join the Community