Check-gmp.gmp.py does not provide right informations

Hi,
when i am going to run the following command from my nagios side
gvm-script --gmp-username=<un> --gmp-password=<pw> tls --hostname <ip> check-gmp.gmp.py -F <ip> --last-report -T <task>" --status

i get the output:
<string>:902: SyntaxWarning: "is" with a literal. Did you mean "=="? GMP OK: 0 vulnerabilities found - High: 0 Medium: 0 Low: 0 Report did not contain any vulnerabilities |High=0 Medium=0 Low=0

But the actual task finished with a serverity=10.

So i am wondering why the output says it did not find any vulnerabilities, or am i handling check-gmp.gmp.py in a wrong way?

best regards

Oh and i wanted to know if theres a way to hide the syntaxwarning by any chance?

Sorry…it works perfect…I gave a wrong IP for check-gmp… my bad

But still, is it possible to hide the warning?

1 Like

Yes. you can replace the is in line 902 by ==.
Refactoring the script is on the task list.

1 Like