How can we help you today? How can we help you today?

include/exclude not working

Hi,

I run: R:\Tim van Loosbroek\code guard>SqlCodeGuard30.Cmd.exe /server:** /database:** /outfile:**.xml /include:ME003 /log:**.log

The log:
Use of SQL Code Guard is subject to the terms described in License.rtf
[2018-06-06 10:06:57.634][000][INF]Server:**
[2018-06-06 10:06:57.638][003][INF]Database:**
[2018-06-06 10:06:57.639][000][INF]Starting
Rules specified for inclusion:ME003
Rules specified for exclusion:
[2018-06-06 10:06:57.811][171][INF]Connecting to server
[2018-06-06 10:06:57.851][039][INF]Loading objects
[2018-06-06 10:06:58.109][258][INF]All objects loaded
[2018-06-06 10:06:58.109][000][INF]Processing
[2018-06-06 10:07:02.561][4452][INF]Analysis completed
[2018-06-06 10:07:02.562][000][INF]Finished

But the XML output files contains all rules?
tim_vl
0

Comments

2 comments

  • tulla01

    It looks like SQL Code Guard didn't filter out the rules correctly. Have you tried explicitly specifying exclusions using /exclude:ME001,ME002? Also, does the log confirm only ME003 was applied?

    tulla01
    0
  • Saim01

    You’re right to check the exclusions explicitly. I’ll try using /exclude:ME001,ME002 and review the log to confirm if only ME003 was applied. If the issue persists, I’ll investigate further or adjust the configuration. Thanks for the suggestion!

    Saim01
    0

Add comment

Please sign in to leave a comment.