mirror of
https://github.com/splunk/security_content
synced 2026-06-08 17:32:49 +00:00
3.6 KiB
3.6 KiB
Macro Manifest Schema
https://api.splunkresearch.com/schemas/macros.json
An object that defines the parameters for a Splunk Macro
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|---|---|---|---|---|---|---|---|
| Can be instantiated | No | Unknown status | No | Forbidden | Allowed | none | macros.spec.json |
Macro Manifest Type
object (Macro Manifest)
Macro Manifest Properties
| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
| arguments | array |
Optional | cannot be null | Macro Manifest |
| definition | string |
Optional | cannot be null | Macro Manifest |
| description | string |
Required | cannot be null | Macro Manifest |
| name | string |
Required | cannot be null | Macro Manifest |
arguments
A list of the arguments being passed to this macro
arguments
-
is optional
-
Type:
string[] -
cannot be null
-
defined in: Macro Manifest
arguments Type
string[]
arguments Constraints
minimum number of items: the minimum number of items for this array is: 0
unique items: all items in this array must be unique. Duplicates are not allowed.
definition
The macro definition
definition
-
is optional
-
Type:
string -
cannot be null
-
defined in: Macro Manifest
definition Type
string
definition Examples
(query=fls-na* AND query = www* AND query=images*)
description
What the macro is intended to filter
description
-
is required
-
Type:
string -
cannot be null
-
defined in: Macro Manifest
description Type
string
description Examples
Use this macro to filter out known good objects
name
The name of the macro
name
-
is required
-
Type:
string -
cannot be null
-
defined in: Macro Manifest
name Type
string
name Examples
detection_search_output_filter