From cab03e033b7956fc8f76da8485dfa4de1a81f69a Mon Sep 17 00:00:00 2001 From: Tyler Pitruzzello Date: Thu, 8 Dec 2022 09:09:16 -0800 Subject: [PATCH] Merge commit GitOrigin-RevId: 032fedb48f979e35f4f3d402932e31f16c6de9e0 --- com/strongdm/api/NodeState.java | 14 ++++++++++++++ com/strongdm/api/PermissionLevel.java | 18 ++++++++++++++++++ com/strongdm/api/Provider.java | 15 +++++++++++++++ 3 files changed, 47 insertions(+) create mode 100755 com/strongdm/api/NodeState.java create mode 100755 com/strongdm/api/PermissionLevel.java create mode 100755 com/strongdm/api/Provider.java diff --git a/com/strongdm/api/NodeState.java b/com/strongdm/api/NodeState.java new file mode 100755 index 00000000..5a81a93c --- /dev/null +++ b/com/strongdm/api/NodeState.java @@ -0,0 +1,14 @@ +// This file was generated by constgen. DO NOT EDIT. + +package com.strongdm.api; + +// Node Lifecycle States, defining whether a node was last reported online, offline, restarting, etc. +public final class NodeState { + public final static String NEW = "new"; + public final static String VERIFYING_RESTART = "verifying_restart"; + public final static String AWAITING_RESTART = "awaiting_restart"; + public final static String RESTARTING = "restarting"; + public final static String STARTED = "started"; + public final static String STOPPED = "stopped"; + public final static String DEAD = "dead"; +} diff --git a/com/strongdm/api/PermissionLevel.java b/com/strongdm/api/PermissionLevel.java new file mode 100755 index 00000000..315d8988 --- /dev/null +++ b/com/strongdm/api/PermissionLevel.java @@ -0,0 +1,18 @@ +// This file was generated by constgen. DO NOT EDIT. + +package com.strongdm.api; + +// Permission Levels, shared by all entities capable of making authenticated requests against StrongDM. +public final class PermissionLevel { + public final static String ROOT_ADMIN = "root-admin"; + public final static String ADMIN = "admin"; + public final static String DATABASE_ADMIN = "database-admin"; + public final static String TEAM_LEADER = "multi-team-leader"; + public final static String USER = "user"; + public final static String RELAY = "relay"; + public final static String ADMIN_TOKEN = "admin-token"; + public final static String SCIM_TOKEN = "scim-token"; + public final static String SERVICE = "service"; + public final static String SUSPENDED = "suspended"; + public final static String EMPTY = ""; +} diff --git a/com/strongdm/api/Provider.java b/com/strongdm/api/Provider.java new file mode 100755 index 00000000..13702c2f --- /dev/null +++ b/com/strongdm/api/Provider.java @@ -0,0 +1,15 @@ +// This file was generated by constgen. DO NOT EDIT. + +package com.strongdm.api; + +// Providers responsible for managing roles and users. +// None, or an empty string, implies the user is managed by strongDM. +public final class Provider { + public final static String NONE = ""; + public final static String OKTA = "okta"; + public final static String SAIL_POINT = "sailpoint"; + public final static String AZURE = "azure"; + public final static String GENERIC = "generic"; + public final static String ONE_LOGIN = "onelogin"; + public final static String GOOGLE = "google"; +}