Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
CP-Shark
Collaborator

Smart Exclusions - Syntax

Hello,

I found the following SK for Smart Exclusions - Syntax and Supported Capabilities for Exclusion Types (Smart Exclusions - Syntax and Supported Capabilities for Exclusion Types (checkpoint.com))

Itßs kind of "not clear" how to handle some kinds of syntax.

Long short: 

Is this a valid syntax for a Smart Exclusion for File path?

**\folder\app\version**\common\bin\**

In my opinion two * means that this can contain zero or more characters. For example my example should cover:

  • \\share\test\\folder\app\version**\common\bin\**
  • \\share\test\\folder\app\version123\common\bin\process.exe
  • \\share\test\\folder\app\version457\common\bin\doc.doc
  • etc.

Hope my question is clear 😃

Best regards,
Oliver

CCES / CCSA / CCSE
0 Kudos
3 Replies
JonnyRabinowitz
Employee
Employee

Do not claim to be the expert here on exclusions syntax and so ask two people who know much better

Answer from both I got is says that it is valid. Also some additional comments:

However in some cases you can use single “*” which is equivalent to any character expect for slashes “\/”, for example if you want to wildcard characters on the one level of folder hierarchy, e.g.

**\folder*\test

Covers:

\\share\folder123\test

C:\folderfolder\test

But not covers:

\\share\folder\inner\test

0 Kudos
lluner
Advisor

@JonnyRabinowitz 

Therefore putting
\folder\**

Covers:

\folder\test\folder\

\folder\test\folder\test

correct ?

0 Kudos
JonnyRabinowitz
Employee
Employee

Got confirmation that this is correct!!

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events