Skip to content

Conversation

@chkp-ofirs
Copy link
Contributor

  1. Added a pre-commit code
  2. Formating: dot net format
  3. Added new logic to optimize policy based on comments
  4. SmartConnector : Adding the option to reuse a group name rather than creating a new one so all the data will be added to the existing name
  5. slicing custom-fields.field-1 in case exceeded 250 chars

themichaelasher and others added 28 commits September 21, 2022 09:00
1. Added a new command line switch:
'--ignore-conversion-comments', default="false",
                         help="The argument indicates that SmartConnector should not add conversion comments into custom-fields.field-1 [true, false]")
2. Check overflow for custom-fields.field-1 , if needed slice
Revert "SmartConnector: Override character limitation of custom-fields"
dotnet format whitespace --no-restore
format whitespace
Update .pre-commit-config.yaml
1. fixing all pre-commit issues
2. upgrade SmartMove/SmartConnector/smartconnector.py to py 3.7
Detect hardcoded secrets
Adding the option to optimize by comments for Cisco and FirePower:
CheckPointObjects/RuleBaseOptimizer.cs 
            if (IsOptimizeByComments && rule1.Comments != rule2.Comments || IsOptimizeByComments && string.IsNullOrEmpty(rule1.Comments))
Logic:
        1. rules can be merged if they have the same comments
        2. both the source and destination columns match
         3. both the source and service columns match
        4.  both the destination and service columns match
Enabled by a checkbox
 a command line argument that default value false ( '-obc | --optimize-by-comments')
Reuse group name
added command line argument that SmartConnector should use reuse the group by name instead of creating a new group.
--reuse-group-name', default="false"
increased from 150 to 250, limit is 255
update to version 9.40
Update CheckPointObjects.cs
@chkp-ofirs chkp-ofirs merged commit 8535716 into master Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants