ok

Mini Shell

Direktori : /opt/imunify360/venv/lib/python3.11/site-packages/im360/simple_rpc/schema/lists/ip/
Upload File :
Current File : //opt/imunify360/venv/lib/python3.11/site-packages/im360/simple_rpc/schema/lists/ip/white.yaml

whitelist ip list:
  help: List item(-s) in White List
  return_type: ListsAgentResponse
  cli:
    users:
      - root
  type: dict
  schema:
    by_ip:
      type: string
      nullable: true

    by_country_code:
      type: string
      nullable: true

    by_comment:
      type: string
      nullable: true
      empty: false

    limit:
      type: integer
      coerce: int
      default: 50
    offset:
      type: integer
      coerce: int
      default: 0
    order_by:
      type: list
      schema:
        type: order_by
        coerce: order_by
      nullable: true

whitelist ip delete:
  help: Remove item(-s) from White List
  return_type: NoItemsAgentResponse
  cli:
    users:
      - root
  type: dict
  schema:
    items:
      type: list
      schema:
        type: ip
        coerce: ip
        check_with:
          - enforce64min_subnet_mask_for_ipv6
      required: true
      positional: true

whitelist ip add:
  help: Add item(-s) from White List
  return_type: NoItemsAgentResponse
  cli:
    users:
      - root
  type: dict
  schema:
    items:
      type: list
      schema:
        type: ip
        coerce: ip
        check_with:
          - enforce64min_subnet_mask_for_ipv6
      required: true
      positional: true
    comment:
      type: string
    expiration:
      help: allows specifying expiration time for the listed IP (in seconds since epoch)
      type: integer
      coerce: int
      default: 0
      check_with:
        - expiration
    full_access:
      help: Allow access to all blocked ports as well
      type: boolean
      default: false
    scope:
      type: string
      default: local
      allowed:
        - local
        - group
    client_addr:
      help: (internal)
      type: ip
      nullable: true
      default: null


whitelist ip move:
  return_type: NoItemsAgentResponse
  cli:
    users:
      - root
  type: dict
  schema:
    items:
      type: list
      schema:
        type: ip
        coerce: ip
        check_with:
          - enforce64min_subnet_mask_for_ipv6
      required: true
      positional: true
    full_access:
      help: Allow access to all blocked ports as well
      type: boolean
      default: false

whitelist ip edit:
  return_type: NoItemsAgentResponse
  cli:
    users:
      - root
  type: dict
  schema:
    items:
      type: list
      schema:
        type: ip
        coerce: ip
        check_with:
          - enforce64min_subnet_mask_for_ipv6
      required: true
      positional: true
    comment:
      type: string
    expiration:
      help: allows specifying expiration time for the listed IP (in seconds since epoch)
      type: integer
      coerce: int
      check_with:
        - expiration
    full_access:
      help: Allow access to all blocked ports as well
      type: boolean
    scope:
      type: string
      allowed:
        - local
        - group

Zerion Mini Shell 1.0