Mini Shell
graylist ip list:
help: List item(-s) in Gray List
return_type: ListsAgentResponse
cli:
users:
- root
check_with:
- webshield_is_enabled
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
no_splash_screen:
type: boolean
default: false
graylist ip delete:
help: Remove item(-s) from Gray List
return_type: NoItemsAgentResponse
cli:
users:
- root
check_with:
- webshield_is_enabled
type: dict
schema:
items:
type: list
schema:
type: ip
coerce: ip
check_with:
- enforce64min_subnet_mask_for_ipv6
required: true
positional: true
graylist ip add:
help: Add item(-s) to Gray List
return_type: NoItemsAgentResponse
cli:
users:
- root
check_with:
- webshield_is_enabled
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
default: 0
check_with:
- expiration
coerce: int
scope:
type: string
default: local
allowed:
- local
- group
client_addr:
type: ip
nullable: true
default: null