Conversation
Add "--no-warn-on-updates" option, that returns OK instead of WARNING even when updates are available. This is not recommended from the security standpoint, but may be wanted to disable alerts while the plugin output still shows the number of available updates.
| + "available. This is not recommended from the security" \ | ||
| + "standpoint, but may be wanted to disable alerts while" \ | ||
| + "the plugin output still shows the number of available" \ | ||
| + "updates.") |
There was a problem hiding this comment.
continuation line under-indented for visual indent
indentation contains mixed spaces and tabs
indentation contains tabs
| help="Return OK instead of WARNING even when updates are" \ | ||
| + "available. This is not recommended from the security" \ | ||
| + "standpoint, but may be wanted to disable alerts while" \ | ||
| + "the plugin output still shows the number of available" \ |
There was a problem hiding this comment.
continuation line under-indented for visual indent
indentation contains mixed spaces and tabs
indentation contains tabs
the backslash is redundant between brackets
| dest="no_warn_on_updates", | ||
| help="Return OK instead of WARNING even when updates are" \ | ||
| + "available. This is not recommended from the security" \ | ||
| + "standpoint, but may be wanted to disable alerts while" \ |
There was a problem hiding this comment.
continuation line under-indented for visual indent
indentation contains mixed spaces and tabs
indentation contains tabs
the backslash is redundant between brackets
| action="store_true", | ||
| dest="no_warn_on_updates", | ||
| help="Return OK instead of WARNING even when updates are" \ | ||
| + "available. This is not recommended from the security" \ |
There was a problem hiding this comment.
continuation line under-indented for visual indent
indentation contains mixed spaces and tabs
indentation contains tabs
the backslash is redundant between brackets
| parser.add_option("--no-warn-on-updates", | ||
| action="store_true", | ||
| dest="no_warn_on_updates", | ||
| help="Return OK instead of WARNING even when updates are" \ |
There was a problem hiding this comment.
indentation contains mixed spaces and tabs
line too long (81 > 79 characters)
the backslash is redundant between brackets
|
|
||
| parser.add_option("--no-warn-on-updates", | ||
| action="store_true", | ||
| dest="no_warn_on_updates", |
There was a problem hiding this comment.
continuation line under-indented for visual indent
indentation contains mixed spaces and tabs
indentation contains tabs
| + "yum for package management") | ||
|
|
||
| parser.add_option("--no-warn-on-updates", | ||
| action="store_true", |
There was a problem hiding this comment.
continuation line under-indented for visual indent
indentation contains mixed spaces and tabs
indentation contains tabs
|
Kudos, SonarCloud Quality Gate passed! |
|
I'll fix these. |








This settings will return OK instead of WARNING even when updates are available. This is not recommended from the security standpoint, but may be wanted to disable alerts while the plugin output still shows the number of available updates.