From 1b5e011ad909b9fd15bf4a0795bf900ea13ba930 Mon Sep 17 00:00:00 2001 From: anish-mudaraddi Date: Tue, 10 Oct 2023 13:21:27 +0100 Subject: [PATCH] BUG: modify stackstorm server actions to pass as_admin meta-param --- actions/server.list.yaml | 4 ++++ actions/server.search.by.datetime.yaml | 4 ++++ actions/server.search.by.property.yaml | 4 ++++ actions/server.search.by.regex.yaml | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/actions/server.list.yaml b/actions/server.list.yaml index 774553a21..e396200b9 100644 --- a/actions/server.list.yaml +++ b/actions/server.list.yaml @@ -10,6 +10,10 @@ parameters: default: "search_all" immutable: true type: string + as_admin: + default: True + immutable: true + type: boolean cloud_account: description: "The clouds.yaml account to use whilst performing this action" required: true diff --git a/actions/server.search.by.datetime.yaml b/actions/server.search.by.datetime.yaml index 35a33a083..74f09e4a2 100644 --- a/actions/server.search.by.datetime.yaml +++ b/actions/server.search.by.datetime.yaml @@ -10,6 +10,10 @@ parameters: default: "search_by_datetime" immutable: true type: string + as_admin: + default: True + immutable: true + type: boolean cloud_account: description: "The clouds.yaml account to use whilst performing this action" required: true diff --git a/actions/server.search.by.property.yaml b/actions/server.search.by.property.yaml index 98b648a81..819d6b94b 100644 --- a/actions/server.search.by.property.yaml +++ b/actions/server.search.by.property.yaml @@ -10,6 +10,10 @@ parameters: default: "search_by_property" immutable: true type: string + as_admin: + default: True + immutable: true + type: boolean cloud_account: description: The clouds.yaml account to use whilst performing this action required: true diff --git a/actions/server.search.by.regex.yaml b/actions/server.search.by.regex.yaml index dd4d3cb33..1a0e844f1 100644 --- a/actions/server.search.by.regex.yaml +++ b/actions/server.search.by.regex.yaml @@ -10,6 +10,10 @@ parameters: default: "search_by_regex" immutable: true type: string + as_admin: + default: True + immutable: true + type: boolean cloud_account: description: The clouds.yaml account to use whilst performing this action required: true