Create a Self-built Security Check¶
POST /api/v1/self_built_checker/create
Overview¶
Create a self-built security check
Body Request Parameters¶
Parameter Name | Type | Required | Description |
---|---|---|---|
monitorUUID | string | Alert strategy UUID Allow empty string: True |
|
alertPolicyUUIDs | array | List of alert strategy UUIDs Allow empty: False |
|
refKey | string | Y | Custom identifier for the self-built security check (cannot be changed after creation) Example: ref-xxx Allow empty: False |
title | string | Y | Associated function title Example: ref-xxx Allow empty: False |
refFuncInfo | json | Y | Associated function configuration information Allow empty: False |
refFuncInfo.funcId | string | Y | Associated function ID Example: ref-xxx Allow empty: False |
refFuncInfo.description | string | Associated function description (i.e., function documentation) Example: ref-xxx Allow empty: False Allow empty string: True |
|
refFuncInfo.definition | string | Associated function definition Example: ref-xxx Allow empty: False Allow empty string: True |
|
refFuncInfo.category | string | Associated function category Example: ref-xxx Allow empty: False |
|
refFuncInfo.args | array | Associated function argument list Example: ref-xxx Allow empty: False |
|
refFuncInfo.kwargs | json | Associated function argument details Example: ref-xxx Allow empty: False |
|
isDisabled | boolean | Whether it is disabled Example: ref-xxx Allow empty: False |
Additional Parameter Notes¶
None