HOME


5h-3LL 1.0
DIR: /opt/imunify360/venv/lib/python3.11/site-packages/defence360agent/simple_rpc/schema
/opt/imunify360/venv/lib/python3.11/site-packages/defence360agent/simple_rpc/schema/
Upload File:
Current File : /opt/imunify360/venv/lib/python3.11/site-packages/defence360agent/simple_rpc/schema/login.yaml
login pam:
  help: Uses PAM to check the provided credential and returns a token for USERNAME if PASSWORD is correct
  cli:
    users:
      - root
  schema:
    username:
      type: string
      required: true
      empty: false
    password:
      type: string
      required: true
      empty: false
      envvar: 'PASSWORD'
  return_type: TokenAgentResponse

login get:
  help: Returns a token for USERNAME (must be executed by admin)
  cli:
    users:
      - root
  schema:
    username:
      type: string
      required: true
      empty: false
  return_type: TokenAgentResponse