Added logging to list of allowed operations to verify-cicd-operation.py
@@ -37,7 +37,7 @@ logger.addHandler(logging.handlers.SysLogHandler('/dev/log'))
keyname = sys.argv[1] if len(sys.argv) >= 2 else "<none specified>"
cmd = os.environ.get("SSH_ORIGINAL_COMMAND", "")
-match = re.match(r"(?P<operation>install|delete|upgrade|status)", cmd)
+match = re.match(r"(?P<operation>install|delete|upgrade|status|logs)", cmd)
if match:
logger.info("%s Restricted key '%s' running command: %s" % (os.path.basename(__file__), keyname, cmd))
