Hello professionals
Our organization needs to build its policy on HPE switches; all compliance rules are for CISCO. and we do not use any PCI or HIPAA NIST compliance. actually we need to check if the port is comply with our policy.
So I create a new rule like below:


The result is not clear: I have no configuration on port number 1, and the others are configured well to test the rule if it works fine or not.
The result gives me that interface one has not found the lines of configuration, and that is true. But the result gave me also that the line is found on the other interfaces with the comment "was found" configuration despite my query if the string was not found. Also, I have a problem if I have an empty line in the block. It will give me that pattern "Was not found" despite the line actually existing.

If anyone can help, it will be appreciated.