Added inputs to globalConfig

This commit is contained in:
victor
2024-06-15 01:04:12 +02:00
parent 46c4a12851
commit cb67004b2c
3 changed files with 47 additions and 16 deletions

8
.gitignore vendored
View File

@@ -1,5 +1,3 @@
bin/* .venv
lib/* detelete_old_clients_ds/output/
lib64 detelete_old_clients_ds/detelete_old_clients_ds-*.tar.gz
include/*
pyvenv.cfg

View File

@@ -1,3 +1,5 @@
# Splunk Add-on to delete old clients from Deployment Server # Splunk Add-on to delete old clients from Deployment Server
Interesting Commands:
- Build Add-on: ucc-gen build --ta-version=<Tag version>
- Package Add-on:ucc-gen package -o . --path <path to app.manifest>

View File

@@ -52,13 +52,6 @@
"help": "Password", "help": "Password",
"required": true, "required": true,
"encrypted": true "encrypted": true
},
{
"type": "text",
"label": "Deployment Server URL",
"field": "url",
"help": "URL of the DS instance",
"required": true
} }
], ],
"title": "Accounts" "title": "Accounts"
@@ -70,6 +63,43 @@
"title": "Configuration", "title": "Configuration",
"description": "Set up your add-on" "description": "Set up your add-on"
}, },
"inputs": {
"title": "Inputs",
"description": "Manage your data inputs",
"services": [
{
"name": "example_input_one",
"title": "Example Input",
"entity": [
{
"type": "text",
"label": "Deployment Server URL",
"field": "url",
"help": "URL of the DS instance",
"required": true
},
{
"type": "interval",
"field": "interval",
"label": "Interval",
"help": "Time interval of the data input, in seconds .",
"required": true
}
]
}
],
"table": {
"actions": [
"edit",
"enable",
"delete",
"search",
"clone"
],
"header": [],
"moreInfo": []
}
},
"dashboard": { "dashboard": {
"panels": [ "panels": [
{ {
@@ -81,8 +111,9 @@
"meta": { "meta": {
"name": "detelete_old_clients_ds", "name": "detelete_old_clients_ds",
"restRoot": "detelete_old_clients_ds", "restRoot": "detelete_old_clients_ds",
"version": "0.0.1", "version": "0.0.0",
"displayName": "DS Add-on Delete old clients", "displayName": "DS Add-on Delete old clients",
"schemaVersion": "0.0.3" "schemaVersion": "0.0.7",
"_uccVersion": "5.46.0"
} }
} }