strongdm.constants
1# Copyright 2020 StrongDM Inc 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14# 15# @internal Code generated by constgen. DO NOT EDIT. 16 17 18# Permission Levels, shared by all entities capable of making authenticated requests against StrongDM. 19class PermissionLevel: 20 ROOT_ADMIN = "root-admin" 21 ADMIN = "admin" 22 DATABASE_ADMIN = "database-admin" 23 TEAM_LEADER = "multi-team-leader" 24 USER = "user" 25 AUDITOR = "auditor" 26 RELAY = "relay" 27 ADMIN_TOKEN = "admin-token" 28 SCIM_TOKEN = "scim-token" 29 SERVICE_NOW_TOKEN = "servicenow-token" 30 SERVICE = "service" 31 SUSPENDED = "suspended" 32 EMPTY = "" 33 34 35# Node Lifecycle States, defining whether a node was last reported online, offline, restarting, etc. 36class NodeState: 37 NEW = "new" 38 VERIFYING_RESTART = "verifying_restart" 39 AWAITING_RESTART = "awaiting_restart" 40 RESTARTING = "restarting" 41 STARTED = "started" 42 STOPPED = "stopped" 43 DEAD = "dead" 44 45 46# Providers responsible for managing roles and users. 47# None, or an empty string, implies the user is managed by strongDM. 48# Deprecated: Please use SCIMProvider instead. 49class Provider: 50 NONE = "" 51 OKTA = "okta" 52 SAIL_POINT = "sailpoint" 53 AZURE = "azure" 54 GENERIC = "generic" 55 ONE_LOGIN = "onelogin" 56 GOOGLE = "google" 57 58 59# Providers responsible for managing roles and users. 60# None, or an empty string, implies the user is managed by strongDM. 61class SCIMProvider: 62 NONE = "" 63 OKTA = "okta" 64 SAIL_POINT = "sailpoint" 65 AZURE = "azure" 66 GENERIC = "generic" 67 ONE_LOGIN = "onelogin" 68 GOOGLE = "google" 69 70 71# Providers responsible for SSO authentication. 72class AuthProvider: 73 AZURE = "azure" 74 BITIUM = "bitium" 75 GOOGLE = "google" 76 OKTA = "okta" 77 STRONG_DM = "strongdm" 78 ACTIVE_DIRECTORY = "active directory" 79 GENERIC_OIDC = "generic oidc" 80 ONE_LOGIN_OIDC = "oneloginv2" 81 KEYCLOAK = "keycloak" 82 SHIBBOLETH = "shibboleth" 83 AUTH_0 = "auth0" 84 WORKSPACE_ONE = "workspace one" 85 ONE_LOGIN_SAML = "onelogin-saml" 86 GENERIC_SAML = "generic-saml" 87 PING_IDSAML = "ping-identity-saml" 88 PING_IDOIDC = "ping-identity-oidc" 89 90 91# Providers responsible for multi-factor authentication 92class MFAProvider: 93 NONE = "" 94 DUO = "duo" 95 TOTP = "totp" 96 OKTA = "okta" 97 98 99# Activity Entities, all entity types that can be part of an activity. 100class ActivityEntityType: 101 USER = "user" 102 ROLE = "role" 103 LEGACY_COMPOSITE_ROLE = "composite_role" 104 DATASOURCE = "datasource" 105 ORGANIZATION = "organization" 106 INSTALLATION = "installation" 107 SECRET_STORE = "secretstore" 108 SECRET_ENGINE = "secretengine" 109 REMOTE_IDENTITY_GROUP = "remote_identity_group" 110 REMOTE_IDENTITY = "remote_identity" 111 IDENTITY_SET = "identity_set" 112 IDENTITY_ALIAS = "identity_alias" 113 ACCESS_REQUEST = "access_request" 114 WORKFLOW = "workflow" 115 APPROVAL_FLOW = "approval_flow" 116 APPROVAL_FLOW_STEP = "approval_flow_step" 117 APPROVAL_FLOW_APPROVER = "approval_flow_approver" 118 MANAGED_SECRET = "managed_secret" 119 NODE = "node" 120 PEERING_GROUP = "peering_group" 121 PEERING_GROUP_NODE = "peering_group_node" 122 PEERING_GROUP_RESOURCE = "peering_group_resource" 123 PEERING_GROUP_PEER = "peering_group_peer" 124 125 126# Activity Verbs, describe which kind of activity has taken place. 127class ActivityVerb: 128 USER_ADDED = "user added" 129 USER_DELETED = "user deleted" 130 USER_UPDATED = "user updated" 131 USER_SIGNUP = "user signup" 132 USER_TYPE_CHANGED = "user type changed" 133 USER_PASSWORD_CHANGED = "user password changed" 134 USER_TEMPORARY_ACCESS_GRANTED = "user temporary access granted" 135 USER_TEMPORARY_ACCESS_REVOKED = "user temporary access revoked" 136 USER_TEMPORARY_ACCESS_EXPIRED = "user temporary access expired" 137 USER_ADDED_TO_ROLE = "user added to role" 138 USER_DELETED_FROM_ROLE = "user deleted from role" 139 USER_SUSPENDED = "user suspended" 140 USER_REINSTATED = "user reinstated" 141 USER_LOGGED_INTO_THE_UI = "user logged into the Admin UI" 142 PARENT_ADMIN_LOGGED_INTO_CHILD_ORG = "parent admin logged into the child org" 143 USER_LOGGED_INTO_THE_CLIENT = "user logged into the local client" 144 SERVICE_ACCOUNT_CREATED = "service account created" 145 SERVICE_ACCOUNT_EXPIRED = "service account expired" 146 ADMIN_TOKEN_ADDED = "admin token created" 147 ADMIN_TOKEN_DELETED = "admin token deleted" 148 ADMIN_TOKEN_EXPIRED = "admin token expired" 149 ADMIN_TOKEN_REKEYED = "admin token rekeyed" 150 ADMIN_TOKEN_CLONED = "admin token cloned" 151 ADMIN_TOKEN_SUSPENDED = "admin token suspended" 152 ADMIN_TOKEN_REINSTATED = "admin token reinstated" 153 SSO_USER_LOGGED_INTO_THE_UI = "user logged into the Admin UI using SSO" 154 SSO_USER_LOGGED_INTO_THE_CLIENT = "user logged into the local client using SSO" 155 USER_LOGGED_OUT_FROM_THE_CLIENT = "user logged out from the local client" 156 USER_LOGGED_OUT_FROM_THE_UI = "user logged out from the Admin UI" 157 FAILED_LOGIN_FROM_THE_UI = "failed login attempt from the Admin UI" 158 FAILED_LOGIN_FROM_THE_CLIENT = "failed login attempt from the local client" 159 MFA_DENIED_FROM_THE_UI = "MFA denied access for the Admin UI" 160 MFA_DENIED_FROM_THE_CLIENT = "MFA denied access for the local client" 161 TOO_MANY_ATTEMPTS_LOCKOUT = "user account locked due to failed login attempts" 162 ATTEMPT_COUNTER_RESET = "failed login attempt counter reset" 163 SUSPENDED_USER_LOGIN_ATTEMPT_FROM_THE_CLIENT = "attempt to login by a suspended user from the local client" 164 SUSPENDED_USER_LOGIN_ATTEMPT_FROM_THE_UI = "attempt to login by a suspended user from the Admin UI" 165 SERVICE_ACCOUNT_LOGIN_ATTEMPT_FROM_THE_UI = "attempted to login by a service account from the Admin UI" 166 SUSPENDED_SERVICE_ACCOUNT_LOGIN_ATTEMPT_FROM_THE_UI = "attempted to login by a suspended service account from the Admin UI" 167 SUSPENDED_SERVICE_ACCOUNT_LOGIN_ATTEMPT_FROM_THE_CLIENT = "attempt to login by a suspended service account from the local client" 168 USER_SET_A_PASSWORD = "user set a password" 169 USER_RESET_A_PASSWORD = "user reset their password" 170 USER_CHANGED_PASSWORD = "user changed their password" 171 USER_INVITED = "user invited" 172 USER_CLICKED_INVITATION = "user clicked on their invitation" 173 USER_CLICKED_PASSWORD_RESET = "user clicked on their password reset" 174 USER_ALLOW_PASSWORD_LOGIN = "user allowed to login via password" 175 USER_REQUIRE_SSO_LOGIN = "user required to login via SSO" 176 USER_PROVISIONING_ENABLED = "user provisioning enabled" 177 USER_PROVISIONING_DISABLED = "user provisioning disabled" 178 ADMIN_INITIATED_PASSWORD_RESET = "admin initiated password reset" 179 ROLE_ADDED = "role added" 180 ROLE_DELETED = "role deleted" 181 ROLE_UPDATED = "role updated" 182 ROLE_ACCESS_RULES_UPDATED = "access rules updated" 183 ROLE_ACCESS_RULES_CREATED = "access rules created" 184 ROLE_ACCESS_RULES_DELETED = "access rules deleted" 185 ROLE_PROVISIONING_ENABLED = "role provisioning enabled" 186 ROLE_PROVISIONING_DISABLED = "role provisioning disabled" 187 DATASOURCE_ADDED = "datasource added" 188 DATASOURCE_CLONED = "datasource cloned" 189 DATASOURCE_DELETED = "datasource deleted" 190 DATASOURCE_UPDATED = "datasource updated" 191 DATASOURCE_PORT_OVERRIDE = "datasource connection port overriden" 192 MULTIPLE_DATASOURCE_PORT_OVERRIDE = "multiple datasource ports overriden" 193 SERVER_ADDED = "server added" 194 SERVER_CLONED = "server cloned" 195 SERVER_DELETED = "server deleted" 196 SERVER_UPDATED = "server updated" 197 SERVER_PORT_OVERRIDE = "server connection port overriden" 198 MULTIPLE_SERVER_PORT_OVERRIDE = "multiple server ports overriden" 199 CLUSTER_ADDED = "cluster added" 200 CLUSTER_CLONED = "cluster cloned" 201 CLUSTER_DELETED = "cluster deleted" 202 CLUSTER_UPDATED = "cluster updated" 203 CLUSTER_PORT_OVERRIDE = "cluster connection port overriden" 204 MULTIPLE_CLUSTER_PORT_OVERRIDE = "multiple cluster ports overriden" 205 CLOUD_ADDED = "cloud added" 206 CLOUD_CLONED = "cloud cloned" 207 CLOUD_DELETED = "cloud deleted" 208 CLOUD_UPDATED = "cloud updated" 209 WEBSITE_ADDED = "website added" 210 WEBSITE_CLONED = "website cloned" 211 WEBSITE_DELETED = "website deleted" 212 WEBSITE_UPDATED = "website updated" 213 INSTALLATION_CREATED = "installation created" 214 RELAY_INSTALLATION_CREATED = "installation created for relay" 215 INSTALLATION_APPROVED = "installation approved" 216 INSTALLATION_REVOKED = "installation revoked" 217 RELAY_CREATED = "relay created" 218 RELAY_UPDATED_NAME = "relay name updated" 219 RELAY_DELETED = "relay deleted" 220 ORG_PUBLIC_KEY_UPDATED = "public key updated" 221 ORG_DISCARD_REPLAYS_UPDATED = "discard replays updated" 222 ORG_ENFORCE_PORT_OVERRIDES_UPDATED = "port override enforcement updated" 223 ORG_SERVICE_AUTO_CONNECT_UPDATED = "service account auto-connect updated" 224 ORG_SELF_REGISTRATION_ACTIVATED = "self-registration activated" 225 ORG_SELF_REGISTRATION_DEACTIVATED = "self-registration deactivated" 226 ORG_NAME_UPDATED = "organization name updated" 227 ORG_SETTING_UPDATED = "organization setting updated" 228 ORG_LOG_SYNC_SETTING_UPDATED = "organization log stream setting updated" 229 ORG_WORKFLOW_SETTING_UPDATED = "organization workflow setting updated" 230 ORG_CREATED = "organization created" 231 ORG_SCIM_PROVISIONING_UPDATED = "SCIM provider set" 232 ORG_SCIM_PROVISIONING_DELETED = "SCIM provider deleted" 233 ORG_CUSTOM_PROVISIONING_UPDATED = "Provisioning provider set" 234 ORG_CUSTOM_PROVISIONING_DELETED = "Provisioning provider deleted" 235 CHILD_ORG_ADMIN_INVITED = "child organization admin invited" 236 SERVICE_ACCOUNT_REKEYED = "service account rekeyed" 237 SCIM_TOKEN_ADDED = "SCIM token created" 238 SCIM_TOKEN_DELETED = "SCIM token deleted" 239 SCIM_TOKEN_REKEYED = "SCIM token rekeyed" 240 API_KEY_DELETED = "API key deleted" 241 ORG_SSH_CERTIFICATE_AUTHORITY_ROTATED = "organization SSH certificate authority rotated" 242 ORG_SSH_ALLOW_PORT_FORWARDING = "allowed SSH port forwarding" 243 ORG_SSH_DISALLOW_PORT_FORWARDING = "disallowed SSH port forwarding" 244 ORG_ADD_CHILD = "add child organization" 245 ORG_REMOVE_CHILD = "remove child organization" 246 ORG_EXTEND_TRIAL = "trial extended" 247 SECRET_STORE_ADDED = "secret store added" 248 SECRET_STORE_UPDATED = "secret store updated" 249 SECRET_STORE_DELETED = "secret store deleted" 250 SECRET_ENGINE_ADDED = "secret engine added" 251 SECRET_ENGINE_UPDATED = "secret engine updated" 252 SECRET_ENGINE_ROTATED = "secret engine's credentials updated" 253 SECRET_ENGINE_DELETED = "secret engine deleted" 254 REMOTE_IDENTITY_GROUP_CREATED = "remote identity group created" 255 REMOTE_IDENTITY_GROUP_UPDATED = "remote identity group updated" 256 REMOTE_IDENTITY_GROUP_DELETED = "remote identity group deleted" 257 IDENTITY_SET_CREATED = "identity set created" 258 IDENTITY_SET_UPDATED = "identity set updated" 259 IDENTITY_SET_DELETED = "identity set deleted" 260 IDENTITY_SET_PROVISIONING_ENABLED = "identity set provisioning enabled" 261 IDENTITY_SET_PROVISIONING_DISABLED = "identity set provisioning disabled" 262 REMOTE_IDENTITY_CREATED = "remote identity created" 263 REMOTE_IDENTITY_UPDATED = "remote identity updated" 264 REMOTE_IDENTITY_DELETED = "remote identity deleted" 265 IDENTITY_ALIAS_CREATED = "identity alias created" 266 IDENTITY_ALIAS_UPDATED = "identity alias updated" 267 IDENTITY_ALIAS_DELETED = "identity alias deleted" 268 IDENTITY_ALIAS_PROVISIONING_ENABLED = "identity alias provisioning enabled" 269 IDENTITY_ALIAS_PROVISIONING_DISABLED = "identity alias provisioning disabled" 270 ACCESS_REQUESTED_TO_RESOURCE = "access requested to resource" 271 ACCESS_REQUEST_TO_RESOURCE_APPROVAL_ADDED = "access request to resource approval added" 272 ACCESS_REQUEST_TO_RESOURCE_STEP_SKIPPED = "access request to resource step skipped" 273 ACCESS_REQUEST_TO_RESOURCE_CANCELED = "access request to resource canceled" 274 ACCESS_REQUEST_TO_RESOURCE_DENIED = "access request to resource denied" 275 ACCESS_REQUEST_TO_RESOURCE_TIMED_OUT = "access request to resource timed out" 276 ACCESS_REQUEST_TO_RESOURCE_GRANTED = "access request to resource granted" 277 ACCESS_REQUEST_TO_RESOURCE_GRANTED_AUTOMATICALLY = "access request to resource granted automatically" 278 ACCESS_REQUEST_TO_RESOURCE_APPROVED_VIA_SERVICE_NOW = "access request to resource approved via ServiceNow" 279 ACCESS_REQUEST_TO_RESOURCE_APPROVED_VIA_JIRA = "access request to resource approved via Jira" 280 WORKFLOW_DELETED = "workflow deleted" 281 WORKFLOW_ADDED = "workflow added" 282 DEPRECATED_WORKFLOW_RESOURCE_ASSIGNED = "resource assigned to workflow" 283 DEPRECATED_WORKFLOW_RESOURCE_UNASSIGNED = "resource unassigned from workflow" 284 DEPRECATED_WORKFLOW_RESOURCE_MULTIPLE_ASSIGNED = "multiple resources assigned to workflow" 285 DEPRECATED_WORKFLOW_RESOURCE_MULTIPLE_UNASSIGNED = "multiple resources unassigned from workflow" 286 DEPRECATED_WORKFLOW_APPROVERS_UPDATED = "workflow approvers updated" 287 DEPRECATED_WORKFLOW_AUTO_GRANT_UPDATED = "workflow auto grant updated" 288 DEPRECATED_WORKFLOW_APPROVAL_CRITERIA_UPDATED = "workflow approval criteria updated" 289 WORKFLOW_ROLES_UPDATED = "workflow roles updated" 290 WORKFLOW_NAME_UPDATED = "workflow name updated" 291 WORKFLOW_DESCRIPTION_UPDATED = "workflow description updated" 292 WORKFLOW_REQUIRES_REASON_UPDATED = "workflow requires reason updated" 293 WORKFLOW_SETTINGS_UPDATED = "workflow settings updated" 294 WORKFLOW_ACCESS_RULES_UPDATED = "workflow access rules updated" 295 WORKFLOW_ACCESS_RULES_DELETED = "workflow access rules deleted" 296 WORKFLOW_ACCESS_RULES_CREATED = "workflow access rules created" 297 WORKFLOW_ENABLED = "workflow enabled" 298 WORKFLOW_DISABLED = "workflow disabled" 299 APPROVAL_FLOW_ADDED = "approval workflow added" 300 APPROVAL_FLOW_DELETED = "approval workflow deleted" 301 APPROVAL_FLOW_UPDATED = "approval workflow updated" 302 APPROVAL_FLOW_STEP_ADDED = "approval workflow step added" 303 APPROVAL_FLOW_STEP_DELETED = "approval workflow step deleted" 304 APPROVAL_FLOW_STEP_UPDATED = "approval workflow step updated" 305 APPROVAL_FLOW_APPROVER_ADDED = "approval workflow approver added" 306 APPROVAL_FLOW_APPROVER_DELETED = "approval workflow approver deleted" 307 ORG_VNM_SUBNET_UPDATED = "organization VNM subnet updated" 308 ORG_VNM_RESOURCES_ALLOCATED = "organization resources allocated within VNM subnet" 309 DEPRECATED_ORG_ACTIVATE_DEVICE_APPROVAL = "activate device approval" 310 DEPRECATED_ORG_DEACTIVATE_DEVICE_APPROVAL = "deactivate device approval" 311 EMULATION_MIGRATION_COMPLETED = "emulation migration completed" 312 ACCESS_OVERHAUL_MIGRATION_COMPLETED = "access overhaul migration completed" 313 ACTIVATED_SSH_PORT_FORWARDING_ALL_SERVER = "enabled SSH port forwarding on all servers" 314 TOTP_ENROLLMENT_ADDED = "user enrolled a totp device" 315 TOTP_ENROLLMENT_DELETED = "user reset their totp enrollment" 316 SUSPENDED_USER_ENROLL_ATTEMPT_FROM_THE_UI = "attempt to enroll by a suspended user from the Admin UI" 317 RESOURCE_LOCKED = "user locked a resource" 318 RESOURCE_UNLOCKED = "user unlocked a resource" 319 RESOURCE_FORCE_UNLOCKED = "admin force-unlocked a resource" 320 CONCURRENT_AUTHENTICATION_REVOKED_PER_ORG_SETTING = "concurrent authentications revoked per organization settings" 321 ORG_INTEGRATION_INSTALLED = "org integration installed" 322 USER_INTEGRATION_AUTHORIZED = "user authorized integration" 323 ORG_INTEGRATION_UNINSTALLED = "org integration uninstalled" 324 USER_INTEGRATION_DEAUTHORIZED = "user deauthorized integration" 325 SERVICE_NOW_TOKEN_ADDED = "ServiceNow token created" 326 SERVICE_NOW_TOKEN_DELETED = "ServiceNow token deleted" 327 MANAGED_SECRET_CREATED = "managed secret created" 328 MANAGED_SECRET_UPDATED = "managed secret updated" 329 MANAGED_SECRET_EXPIRATION_TIME_UPDATED = "managed secret expiration time updated" 330 MANAGED_SECRET_CONFIG_UPDATED = "managed secret config updated" 331 MANAGED_SECRET_DELETED = "managed secret deleted" 332 333 334# Permissions, all permissions that may be granted to an account. 335class Permission: 336 RELAY_LIST = "relay:list" 337 RELAY_CREATE = "relay:create" 338 DATASOURCE_LIST = "datasource:list" 339 DATASOURCE_CREATE = "datasource:create" 340 DATASOURCE_HEALTHCHECK = "datasource:healthcheck" 341 DEPRECATED_DATASOURCE_GRANT = "datasource:grant" 342 DATASOURCE_DELETE = "datasource:delete" 343 DATASOURCE_UPDATE = "datasource:update" 344 RESOURCE_LOCK_DELETE = "resourcelock:delete" 345 RESOURCE_LOCK_LIST = "resourcelock:list" 346 SECRET_ENGINE_CREATE = "secretengine:create" 347 SECRET_ENGINE_LIST = "secretengine:list" 348 SECRET_ENGINE_DELETE = "secretengine:delete" 349 SECRET_ENGINE_UPDATE = "secretengine:update" 350 SECRET_ENGINE_STATUS = "secretengine:status" 351 SECRET_STORE_CREATE = "secretstore:create" 352 SECRET_STORE_LIST = "secretstore:list" 353 SECRET_STORE_DELETE = "secretstore:delete" 354 SECRET_STORE_UPDATE = "secretstore:update" 355 SECRET_STORE_STATUS = "secretstore:status" 356 REMOTE_IDENTITY_GROUP_WRITE = "remoteidentitygroup:write" 357 REMOTE_IDENTITY_GROUP_READ = "remoteidentitygroup:read" 358 REMOTE_IDENTITY_WRITE = "remoteidentity:write" 359 REMOTE_IDENTITY_READ = "remoteidentity:read" 360 USER_CREATE = "user:create" 361 USER_LIST = "user:list" 362 USER_UPDATE_ADMIN = "user:update_admin" 363 USER_CREATE_ADMIN_TOKEN = "user:create_admin_token" 364 USER_CREATE_SERVICE_ACCOUNT = "user:create_service_account" 365 USER_SET_PERMISSION_LEVEL = "user:set_strong_role" 366 USER_UPDATE = "user:update" 367 USER_INITIATE_PASSWORD_RESET = "user:initiate_password_reset" 368 USER_DELETE = "user:delete" 369 USER_ASSIGN = "user:assign" 370 USER_SUSPEND = "user:suspend" 371 USER_SET_PASSWORD = "user:set_password" 372 ROLE_LIST = "role:list" 373 ROLE_CREATE = "role:create" 374 ROLE_DELETE = "role:delete" 375 ROLE_UPDATE = "role:update" 376 ORG_VIEW_SETTINGS = "organization:view_settings" 377 ORG_EDIT_SETTINGS = "organization:edit_settings" 378 ORG_DEPLOYMENT_DOCTOR = "organization:deployment_doctor" 379 ORG_LIST_CHILDREN = "organization:list_children" 380 ORG_CREATE_CHILD_ORGANIZATION = "organization:create_child_organization" 381 ORG_AUDIT_USERS = "audit:users" 382 ORG_AUDIT_ROLES = "audit:roles" 383 ORG_AUDIT_DATASOURCES = "audit:datasources" 384 ORG_AUDIT_NODES = "audit:nodes" 385 ORG_AUDIT_PERMISSIONS = "audit:permissions" 386 ORG_AUDIT_QUERIES = "audit:queries" 387 ORG_AUDIT_ACTIVITIES = "audit:activities" 388 ORG_AUDIT_SSH = "audit:ssh" 389 ORG_AUDIT_ACCOUNT_GRANTS = "audit:accountgrants" 390 ORG_AUDIT_ORG = "audit:organization" 391 ORG_AUDIT_REMOTE_IDENTITIES = "audit:remoteidentities" 392 ORG_AUDIT_REMOTE_IDENTITY_GROUPS = "audit:remoteidentitygroups" 393 ORG_AUDIT_SECRET_ENGINES = "audit:secretengines" 394 ORG_AUDIT_SECRET_STORES = "audit:secretstores" 395 ORG_AUDIT_WORKFLOWS = "audit:workflows" 396 ORG_AUDIT_APPROVAL_FLOWS = "audit:approvalflows" 397 ORG_AUDIT_ACCESS_REQUESTS = "audit:accessrequests" 398 ORG_AUDIT_POLICIES = "audit:policies" 399 WORKFLOW_LIST = "workflow:list" 400 WORKFLOW_EDIT = "workflow:edit" 401 ACCESS_REQUEST_LIST = "accessrequest:list" 402 ACCESS_REQUEST_REQUESTER = "accessrequest:requester" 403 APPROVAL_FLOW_EDIT = "approvalflow:edit" 404 APPROVAL_FLOW_LIST = "approvalflow:list" 405 INSTALLATION_BLESS = "installation:bless" 406 INSTALLATION_CREATE = "installation:create" 407 INSTALLATION_REVOKE = "installation:revoke" 408 TESTING_ORG_CREATE = "testing:organization:create" 409 TESTING_ORG_DELETE = "testing:organization:delete" 410 TESTING_NO_PERMISSIONS = "testing:noperms" 411 TESTING_FETCH_QUERIES = "testing:queries:get" 412 GRANT_READ = "grant:read" 413 GRANT_WRITE = "grant:write" 414 REPORT_READ = "report:read" 415 BILLING_READ = "billing:read" 416 CREDENTIAL_READ = "credential:read" 417 CREDENTIAL_WRITE = "credential:write" 418 MANAGED_SECRET_CREATE = "managedsecret:create" 419 MANAGED_SECRET_LIST = "managedsecret:list" 420 MANAGED_SECRET_DELETE = "managedsecret:delete" 421 MANAGED_SECRET_UPDATE = "managedsecret:update" 422 MANAGED_SECRET_READ = "managedsecret:read" 423 424 425# Query Categories, all the categories of resource against which queries are logged. 426class QueryCategory: 427 KUBERNETES = "k8s" 428 DATASOURCES = "queries" 429 RDP = "rdp" 430 SSH = "ssh" 431 WEB = "web" 432 CLOUD = "cloud" 433 ALL = "all" 434 435 436# LogRemoteEncoder defines the encryption encoder for the queries are stored in the API. 437class LogRemoteEncoder: 438 STRONG_DM = "strongdm" 439 PUB_KEY = "pubkey" 440 HASH = "hash" 441 442 443# LogLocalStorage defines how queries are stored locally. 444class LogLocalStorage: 445 STDOUT = "stdout" 446 FILE = "file" 447 TCP = "tcp" 448 SOCKET = "socket" 449 SYSLOG = "syslog" 450 NONE = "none" 451 452 453# LogLocalEncoder defines the encryption encoder for queries are stored locally in the relay. 454class LogLocalEncoder: 455 PLAINTEXT = "plaintext" 456 PUB_KEY = "pubkey" 457 458 459# LogLocalFormat defines the format the queries are stored locally in the relay. 460class LogLocalFormat: 461 CSV = "csv" 462 JSON = "json" 463 464 465# OrgKind defines the types of organizations that may exist. 466class OrgKind: 467 SOLO = "solo" 468 ROOT = "root" 469 CHILD = "child" 470 471 472# KeyType defines the supported SSH key types 473class SSHKeyType: 474 RSA_2048 = "rsa-2048" 475 RSA_4096 = "rsa-4096" 476 ECDSA_256 = "ecdsa-256" 477 ECDSA_384 = "ecdsa-384" 478 ECDSA_521 = "ecdsa-521" 479 ED_25519 = "ed25519" 480 481 482# CaptureType designates what type of SSH/RDP/K8s capture we have. 483class CaptureType: 484 SHELL = "shell" 485 SCP_UPLOAD = "scp-upload" 486 SCP_DOWNLOAD = "scp-download" 487 COMMAND = "command" 488 RDP_BASIC = "rdp-basic" 489 RDP_ENHANCED = "rdp-enhanced" 490 K_8_S_EXEC = "k8s-exec" 491 K_8_S_EXEC_TTY = "k8s-execTTY" 492 K_8_S_PORT_FORWARD = "k8s-portForward" 493 K_8_SCP_UPLOAD = "k8s-cp-upload" 494 K_8_SCP_DOWNLOAD = "k8s-cp-download" 495 K_8_S_DESCRIBE = "k8s-describe" 496 K_8_S_GET = "k8s-get" 497 K_8_S_DELETE = "k8s-delete" 498 K_8_S_GENERIC = "k8s-generic" 499 K_8_S_APPLY = "k8s-apply" 500 SSH_PORT_FORWARD = "ssh-portForward" 501 502 503# Providers responsible for device trust enforcement 504class DeviceTrustProvider: 505 NONE = "" 506 SENTINEL_ONE = "sentinelone" 507 CROWD_STRIKE = "crowdstrike" 508 MICROSOFT_DEFENDER = "microsoftdefender" 509 DUO = "duo" 510 511 512# APIHost defines the API host for various control planes. 513class APIHost: 514 US = "api.strongdm.com:443" 515 UK = "api.uk.strongdm.com:443"
class
PermissionLevel:
20class PermissionLevel: 21 ROOT_ADMIN = "root-admin" 22 ADMIN = "admin" 23 DATABASE_ADMIN = "database-admin" 24 TEAM_LEADER = "multi-team-leader" 25 USER = "user" 26 AUDITOR = "auditor" 27 RELAY = "relay" 28 ADMIN_TOKEN = "admin-token" 29 SCIM_TOKEN = "scim-token" 30 SERVICE_NOW_TOKEN = "servicenow-token" 31 SERVICE = "service" 32 SUSPENDED = "suspended" 33 EMPTY = ""
class
NodeState:
class
Provider:
class
SCIMProvider:
class
AuthProvider:
73class AuthProvider: 74 AZURE = "azure" 75 BITIUM = "bitium" 76 GOOGLE = "google" 77 OKTA = "okta" 78 STRONG_DM = "strongdm" 79 ACTIVE_DIRECTORY = "active directory" 80 GENERIC_OIDC = "generic oidc" 81 ONE_LOGIN_OIDC = "oneloginv2" 82 KEYCLOAK = "keycloak" 83 SHIBBOLETH = "shibboleth" 84 AUTH_0 = "auth0" 85 WORKSPACE_ONE = "workspace one" 86 ONE_LOGIN_SAML = "onelogin-saml" 87 GENERIC_SAML = "generic-saml" 88 PING_IDSAML = "ping-identity-saml" 89 PING_IDOIDC = "ping-identity-oidc"
class
MFAProvider:
class
ActivityEntityType:
101class ActivityEntityType: 102 USER = "user" 103 ROLE = "role" 104 LEGACY_COMPOSITE_ROLE = "composite_role" 105 DATASOURCE = "datasource" 106 ORGANIZATION = "organization" 107 INSTALLATION = "installation" 108 SECRET_STORE = "secretstore" 109 SECRET_ENGINE = "secretengine" 110 REMOTE_IDENTITY_GROUP = "remote_identity_group" 111 REMOTE_IDENTITY = "remote_identity" 112 IDENTITY_SET = "identity_set" 113 IDENTITY_ALIAS = "identity_alias" 114 ACCESS_REQUEST = "access_request" 115 WORKFLOW = "workflow" 116 APPROVAL_FLOW = "approval_flow" 117 APPROVAL_FLOW_STEP = "approval_flow_step" 118 APPROVAL_FLOW_APPROVER = "approval_flow_approver" 119 MANAGED_SECRET = "managed_secret" 120 NODE = "node" 121 PEERING_GROUP = "peering_group" 122 PEERING_GROUP_NODE = "peering_group_node" 123 PEERING_GROUP_RESOURCE = "peering_group_resource" 124 PEERING_GROUP_PEER = "peering_group_peer"
class
ActivityVerb:
128class ActivityVerb: 129 USER_ADDED = "user added" 130 USER_DELETED = "user deleted" 131 USER_UPDATED = "user updated" 132 USER_SIGNUP = "user signup" 133 USER_TYPE_CHANGED = "user type changed" 134 USER_PASSWORD_CHANGED = "user password changed" 135 USER_TEMPORARY_ACCESS_GRANTED = "user temporary access granted" 136 USER_TEMPORARY_ACCESS_REVOKED = "user temporary access revoked" 137 USER_TEMPORARY_ACCESS_EXPIRED = "user temporary access expired" 138 USER_ADDED_TO_ROLE = "user added to role" 139 USER_DELETED_FROM_ROLE = "user deleted from role" 140 USER_SUSPENDED = "user suspended" 141 USER_REINSTATED = "user reinstated" 142 USER_LOGGED_INTO_THE_UI = "user logged into the Admin UI" 143 PARENT_ADMIN_LOGGED_INTO_CHILD_ORG = "parent admin logged into the child org" 144 USER_LOGGED_INTO_THE_CLIENT = "user logged into the local client" 145 SERVICE_ACCOUNT_CREATED = "service account created" 146 SERVICE_ACCOUNT_EXPIRED = "service account expired" 147 ADMIN_TOKEN_ADDED = "admin token created" 148 ADMIN_TOKEN_DELETED = "admin token deleted" 149 ADMIN_TOKEN_EXPIRED = "admin token expired" 150 ADMIN_TOKEN_REKEYED = "admin token rekeyed" 151 ADMIN_TOKEN_CLONED = "admin token cloned" 152 ADMIN_TOKEN_SUSPENDED = "admin token suspended" 153 ADMIN_TOKEN_REINSTATED = "admin token reinstated" 154 SSO_USER_LOGGED_INTO_THE_UI = "user logged into the Admin UI using SSO" 155 SSO_USER_LOGGED_INTO_THE_CLIENT = "user logged into the local client using SSO" 156 USER_LOGGED_OUT_FROM_THE_CLIENT = "user logged out from the local client" 157 USER_LOGGED_OUT_FROM_THE_UI = "user logged out from the Admin UI" 158 FAILED_LOGIN_FROM_THE_UI = "failed login attempt from the Admin UI" 159 FAILED_LOGIN_FROM_THE_CLIENT = "failed login attempt from the local client" 160 MFA_DENIED_FROM_THE_UI = "MFA denied access for the Admin UI" 161 MFA_DENIED_FROM_THE_CLIENT = "MFA denied access for the local client" 162 TOO_MANY_ATTEMPTS_LOCKOUT = "user account locked due to failed login attempts" 163 ATTEMPT_COUNTER_RESET = "failed login attempt counter reset" 164 SUSPENDED_USER_LOGIN_ATTEMPT_FROM_THE_CLIENT = "attempt to login by a suspended user from the local client" 165 SUSPENDED_USER_LOGIN_ATTEMPT_FROM_THE_UI = "attempt to login by a suspended user from the Admin UI" 166 SERVICE_ACCOUNT_LOGIN_ATTEMPT_FROM_THE_UI = "attempted to login by a service account from the Admin UI" 167 SUSPENDED_SERVICE_ACCOUNT_LOGIN_ATTEMPT_FROM_THE_UI = "attempted to login by a suspended service account from the Admin UI" 168 SUSPENDED_SERVICE_ACCOUNT_LOGIN_ATTEMPT_FROM_THE_CLIENT = "attempt to login by a suspended service account from the local client" 169 USER_SET_A_PASSWORD = "user set a password" 170 USER_RESET_A_PASSWORD = "user reset their password" 171 USER_CHANGED_PASSWORD = "user changed their password" 172 USER_INVITED = "user invited" 173 USER_CLICKED_INVITATION = "user clicked on their invitation" 174 USER_CLICKED_PASSWORD_RESET = "user clicked on their password reset" 175 USER_ALLOW_PASSWORD_LOGIN = "user allowed to login via password" 176 USER_REQUIRE_SSO_LOGIN = "user required to login via SSO" 177 USER_PROVISIONING_ENABLED = "user provisioning enabled" 178 USER_PROVISIONING_DISABLED = "user provisioning disabled" 179 ADMIN_INITIATED_PASSWORD_RESET = "admin initiated password reset" 180 ROLE_ADDED = "role added" 181 ROLE_DELETED = "role deleted" 182 ROLE_UPDATED = "role updated" 183 ROLE_ACCESS_RULES_UPDATED = "access rules updated" 184 ROLE_ACCESS_RULES_CREATED = "access rules created" 185 ROLE_ACCESS_RULES_DELETED = "access rules deleted" 186 ROLE_PROVISIONING_ENABLED = "role provisioning enabled" 187 ROLE_PROVISIONING_DISABLED = "role provisioning disabled" 188 DATASOURCE_ADDED = "datasource added" 189 DATASOURCE_CLONED = "datasource cloned" 190 DATASOURCE_DELETED = "datasource deleted" 191 DATASOURCE_UPDATED = "datasource updated" 192 DATASOURCE_PORT_OVERRIDE = "datasource connection port overriden" 193 MULTIPLE_DATASOURCE_PORT_OVERRIDE = "multiple datasource ports overriden" 194 SERVER_ADDED = "server added" 195 SERVER_CLONED = "server cloned" 196 SERVER_DELETED = "server deleted" 197 SERVER_UPDATED = "server updated" 198 SERVER_PORT_OVERRIDE = "server connection port overriden" 199 MULTIPLE_SERVER_PORT_OVERRIDE = "multiple server ports overriden" 200 CLUSTER_ADDED = "cluster added" 201 CLUSTER_CLONED = "cluster cloned" 202 CLUSTER_DELETED = "cluster deleted" 203 CLUSTER_UPDATED = "cluster updated" 204 CLUSTER_PORT_OVERRIDE = "cluster connection port overriden" 205 MULTIPLE_CLUSTER_PORT_OVERRIDE = "multiple cluster ports overriden" 206 CLOUD_ADDED = "cloud added" 207 CLOUD_CLONED = "cloud cloned" 208 CLOUD_DELETED = "cloud deleted" 209 CLOUD_UPDATED = "cloud updated" 210 WEBSITE_ADDED = "website added" 211 WEBSITE_CLONED = "website cloned" 212 WEBSITE_DELETED = "website deleted" 213 WEBSITE_UPDATED = "website updated" 214 INSTALLATION_CREATED = "installation created" 215 RELAY_INSTALLATION_CREATED = "installation created for relay" 216 INSTALLATION_APPROVED = "installation approved" 217 INSTALLATION_REVOKED = "installation revoked" 218 RELAY_CREATED = "relay created" 219 RELAY_UPDATED_NAME = "relay name updated" 220 RELAY_DELETED = "relay deleted" 221 ORG_PUBLIC_KEY_UPDATED = "public key updated" 222 ORG_DISCARD_REPLAYS_UPDATED = "discard replays updated" 223 ORG_ENFORCE_PORT_OVERRIDES_UPDATED = "port override enforcement updated" 224 ORG_SERVICE_AUTO_CONNECT_UPDATED = "service account auto-connect updated" 225 ORG_SELF_REGISTRATION_ACTIVATED = "self-registration activated" 226 ORG_SELF_REGISTRATION_DEACTIVATED = "self-registration deactivated" 227 ORG_NAME_UPDATED = "organization name updated" 228 ORG_SETTING_UPDATED = "organization setting updated" 229 ORG_LOG_SYNC_SETTING_UPDATED = "organization log stream setting updated" 230 ORG_WORKFLOW_SETTING_UPDATED = "organization workflow setting updated" 231 ORG_CREATED = "organization created" 232 ORG_SCIM_PROVISIONING_UPDATED = "SCIM provider set" 233 ORG_SCIM_PROVISIONING_DELETED = "SCIM provider deleted" 234 ORG_CUSTOM_PROVISIONING_UPDATED = "Provisioning provider set" 235 ORG_CUSTOM_PROVISIONING_DELETED = "Provisioning provider deleted" 236 CHILD_ORG_ADMIN_INVITED = "child organization admin invited" 237 SERVICE_ACCOUNT_REKEYED = "service account rekeyed" 238 SCIM_TOKEN_ADDED = "SCIM token created" 239 SCIM_TOKEN_DELETED = "SCIM token deleted" 240 SCIM_TOKEN_REKEYED = "SCIM token rekeyed" 241 API_KEY_DELETED = "API key deleted" 242 ORG_SSH_CERTIFICATE_AUTHORITY_ROTATED = "organization SSH certificate authority rotated" 243 ORG_SSH_ALLOW_PORT_FORWARDING = "allowed SSH port forwarding" 244 ORG_SSH_DISALLOW_PORT_FORWARDING = "disallowed SSH port forwarding" 245 ORG_ADD_CHILD = "add child organization" 246 ORG_REMOVE_CHILD = "remove child organization" 247 ORG_EXTEND_TRIAL = "trial extended" 248 SECRET_STORE_ADDED = "secret store added" 249 SECRET_STORE_UPDATED = "secret store updated" 250 SECRET_STORE_DELETED = "secret store deleted" 251 SECRET_ENGINE_ADDED = "secret engine added" 252 SECRET_ENGINE_UPDATED = "secret engine updated" 253 SECRET_ENGINE_ROTATED = "secret engine's credentials updated" 254 SECRET_ENGINE_DELETED = "secret engine deleted" 255 REMOTE_IDENTITY_GROUP_CREATED = "remote identity group created" 256 REMOTE_IDENTITY_GROUP_UPDATED = "remote identity group updated" 257 REMOTE_IDENTITY_GROUP_DELETED = "remote identity group deleted" 258 IDENTITY_SET_CREATED = "identity set created" 259 IDENTITY_SET_UPDATED = "identity set updated" 260 IDENTITY_SET_DELETED = "identity set deleted" 261 IDENTITY_SET_PROVISIONING_ENABLED = "identity set provisioning enabled" 262 IDENTITY_SET_PROVISIONING_DISABLED = "identity set provisioning disabled" 263 REMOTE_IDENTITY_CREATED = "remote identity created" 264 REMOTE_IDENTITY_UPDATED = "remote identity updated" 265 REMOTE_IDENTITY_DELETED = "remote identity deleted" 266 IDENTITY_ALIAS_CREATED = "identity alias created" 267 IDENTITY_ALIAS_UPDATED = "identity alias updated" 268 IDENTITY_ALIAS_DELETED = "identity alias deleted" 269 IDENTITY_ALIAS_PROVISIONING_ENABLED = "identity alias provisioning enabled" 270 IDENTITY_ALIAS_PROVISIONING_DISABLED = "identity alias provisioning disabled" 271 ACCESS_REQUESTED_TO_RESOURCE = "access requested to resource" 272 ACCESS_REQUEST_TO_RESOURCE_APPROVAL_ADDED = "access request to resource approval added" 273 ACCESS_REQUEST_TO_RESOURCE_STEP_SKIPPED = "access request to resource step skipped" 274 ACCESS_REQUEST_TO_RESOURCE_CANCELED = "access request to resource canceled" 275 ACCESS_REQUEST_TO_RESOURCE_DENIED = "access request to resource denied" 276 ACCESS_REQUEST_TO_RESOURCE_TIMED_OUT = "access request to resource timed out" 277 ACCESS_REQUEST_TO_RESOURCE_GRANTED = "access request to resource granted" 278 ACCESS_REQUEST_TO_RESOURCE_GRANTED_AUTOMATICALLY = "access request to resource granted automatically" 279 ACCESS_REQUEST_TO_RESOURCE_APPROVED_VIA_SERVICE_NOW = "access request to resource approved via ServiceNow" 280 ACCESS_REQUEST_TO_RESOURCE_APPROVED_VIA_JIRA = "access request to resource approved via Jira" 281 WORKFLOW_DELETED = "workflow deleted" 282 WORKFLOW_ADDED = "workflow added" 283 DEPRECATED_WORKFLOW_RESOURCE_ASSIGNED = "resource assigned to workflow" 284 DEPRECATED_WORKFLOW_RESOURCE_UNASSIGNED = "resource unassigned from workflow" 285 DEPRECATED_WORKFLOW_RESOURCE_MULTIPLE_ASSIGNED = "multiple resources assigned to workflow" 286 DEPRECATED_WORKFLOW_RESOURCE_MULTIPLE_UNASSIGNED = "multiple resources unassigned from workflow" 287 DEPRECATED_WORKFLOW_APPROVERS_UPDATED = "workflow approvers updated" 288 DEPRECATED_WORKFLOW_AUTO_GRANT_UPDATED = "workflow auto grant updated" 289 DEPRECATED_WORKFLOW_APPROVAL_CRITERIA_UPDATED = "workflow approval criteria updated" 290 WORKFLOW_ROLES_UPDATED = "workflow roles updated" 291 WORKFLOW_NAME_UPDATED = "workflow name updated" 292 WORKFLOW_DESCRIPTION_UPDATED = "workflow description updated" 293 WORKFLOW_REQUIRES_REASON_UPDATED = "workflow requires reason updated" 294 WORKFLOW_SETTINGS_UPDATED = "workflow settings updated" 295 WORKFLOW_ACCESS_RULES_UPDATED = "workflow access rules updated" 296 WORKFLOW_ACCESS_RULES_DELETED = "workflow access rules deleted" 297 WORKFLOW_ACCESS_RULES_CREATED = "workflow access rules created" 298 WORKFLOW_ENABLED = "workflow enabled" 299 WORKFLOW_DISABLED = "workflow disabled" 300 APPROVAL_FLOW_ADDED = "approval workflow added" 301 APPROVAL_FLOW_DELETED = "approval workflow deleted" 302 APPROVAL_FLOW_UPDATED = "approval workflow updated" 303 APPROVAL_FLOW_STEP_ADDED = "approval workflow step added" 304 APPROVAL_FLOW_STEP_DELETED = "approval workflow step deleted" 305 APPROVAL_FLOW_STEP_UPDATED = "approval workflow step updated" 306 APPROVAL_FLOW_APPROVER_ADDED = "approval workflow approver added" 307 APPROVAL_FLOW_APPROVER_DELETED = "approval workflow approver deleted" 308 ORG_VNM_SUBNET_UPDATED = "organization VNM subnet updated" 309 ORG_VNM_RESOURCES_ALLOCATED = "organization resources allocated within VNM subnet" 310 DEPRECATED_ORG_ACTIVATE_DEVICE_APPROVAL = "activate device approval" 311 DEPRECATED_ORG_DEACTIVATE_DEVICE_APPROVAL = "deactivate device approval" 312 EMULATION_MIGRATION_COMPLETED = "emulation migration completed" 313 ACCESS_OVERHAUL_MIGRATION_COMPLETED = "access overhaul migration completed" 314 ACTIVATED_SSH_PORT_FORWARDING_ALL_SERVER = "enabled SSH port forwarding on all servers" 315 TOTP_ENROLLMENT_ADDED = "user enrolled a totp device" 316 TOTP_ENROLLMENT_DELETED = "user reset their totp enrollment" 317 SUSPENDED_USER_ENROLL_ATTEMPT_FROM_THE_UI = "attempt to enroll by a suspended user from the Admin UI" 318 RESOURCE_LOCKED = "user locked a resource" 319 RESOURCE_UNLOCKED = "user unlocked a resource" 320 RESOURCE_FORCE_UNLOCKED = "admin force-unlocked a resource" 321 CONCURRENT_AUTHENTICATION_REVOKED_PER_ORG_SETTING = "concurrent authentications revoked per organization settings" 322 ORG_INTEGRATION_INSTALLED = "org integration installed" 323 USER_INTEGRATION_AUTHORIZED = "user authorized integration" 324 ORG_INTEGRATION_UNINSTALLED = "org integration uninstalled" 325 USER_INTEGRATION_DEAUTHORIZED = "user deauthorized integration" 326 SERVICE_NOW_TOKEN_ADDED = "ServiceNow token created" 327 SERVICE_NOW_TOKEN_DELETED = "ServiceNow token deleted" 328 MANAGED_SECRET_CREATED = "managed secret created" 329 MANAGED_SECRET_UPDATED = "managed secret updated" 330 MANAGED_SECRET_EXPIRATION_TIME_UPDATED = "managed secret expiration time updated" 331 MANAGED_SECRET_CONFIG_UPDATED = "managed secret config updated" 332 MANAGED_SECRET_DELETED = "managed secret deleted"
SUSPENDED_USER_LOGIN_ATTEMPT_FROM_THE_CLIENT = 'attempt to login by a suspended user from the local client'
SERVICE_ACCOUNT_LOGIN_ATTEMPT_FROM_THE_UI = 'attempted to login by a service account from the Admin UI'
SUSPENDED_SERVICE_ACCOUNT_LOGIN_ATTEMPT_FROM_THE_UI = 'attempted to login by a suspended service account from the Admin UI'
SUSPENDED_SERVICE_ACCOUNT_LOGIN_ATTEMPT_FROM_THE_CLIENT = 'attempt to login by a suspended service account from the local client'
ACCESS_REQUEST_TO_RESOURCE_GRANTED_AUTOMATICALLY = 'access request to resource granted automatically'
ACCESS_REQUEST_TO_RESOURCE_APPROVED_VIA_SERVICE_NOW = 'access request to resource approved via ServiceNow'
SUSPENDED_USER_ENROLL_ATTEMPT_FROM_THE_UI = 'attempt to enroll by a suspended user from the Admin UI'
class
Permission:
336class Permission: 337 RELAY_LIST = "relay:list" 338 RELAY_CREATE = "relay:create" 339 DATASOURCE_LIST = "datasource:list" 340 DATASOURCE_CREATE = "datasource:create" 341 DATASOURCE_HEALTHCHECK = "datasource:healthcheck" 342 DEPRECATED_DATASOURCE_GRANT = "datasource:grant" 343 DATASOURCE_DELETE = "datasource:delete" 344 DATASOURCE_UPDATE = "datasource:update" 345 RESOURCE_LOCK_DELETE = "resourcelock:delete" 346 RESOURCE_LOCK_LIST = "resourcelock:list" 347 SECRET_ENGINE_CREATE = "secretengine:create" 348 SECRET_ENGINE_LIST = "secretengine:list" 349 SECRET_ENGINE_DELETE = "secretengine:delete" 350 SECRET_ENGINE_UPDATE = "secretengine:update" 351 SECRET_ENGINE_STATUS = "secretengine:status" 352 SECRET_STORE_CREATE = "secretstore:create" 353 SECRET_STORE_LIST = "secretstore:list" 354 SECRET_STORE_DELETE = "secretstore:delete" 355 SECRET_STORE_UPDATE = "secretstore:update" 356 SECRET_STORE_STATUS = "secretstore:status" 357 REMOTE_IDENTITY_GROUP_WRITE = "remoteidentitygroup:write" 358 REMOTE_IDENTITY_GROUP_READ = "remoteidentitygroup:read" 359 REMOTE_IDENTITY_WRITE = "remoteidentity:write" 360 REMOTE_IDENTITY_READ = "remoteidentity:read" 361 USER_CREATE = "user:create" 362 USER_LIST = "user:list" 363 USER_UPDATE_ADMIN = "user:update_admin" 364 USER_CREATE_ADMIN_TOKEN = "user:create_admin_token" 365 USER_CREATE_SERVICE_ACCOUNT = "user:create_service_account" 366 USER_SET_PERMISSION_LEVEL = "user:set_strong_role" 367 USER_UPDATE = "user:update" 368 USER_INITIATE_PASSWORD_RESET = "user:initiate_password_reset" 369 USER_DELETE = "user:delete" 370 USER_ASSIGN = "user:assign" 371 USER_SUSPEND = "user:suspend" 372 USER_SET_PASSWORD = "user:set_password" 373 ROLE_LIST = "role:list" 374 ROLE_CREATE = "role:create" 375 ROLE_DELETE = "role:delete" 376 ROLE_UPDATE = "role:update" 377 ORG_VIEW_SETTINGS = "organization:view_settings" 378 ORG_EDIT_SETTINGS = "organization:edit_settings" 379 ORG_DEPLOYMENT_DOCTOR = "organization:deployment_doctor" 380 ORG_LIST_CHILDREN = "organization:list_children" 381 ORG_CREATE_CHILD_ORGANIZATION = "organization:create_child_organization" 382 ORG_AUDIT_USERS = "audit:users" 383 ORG_AUDIT_ROLES = "audit:roles" 384 ORG_AUDIT_DATASOURCES = "audit:datasources" 385 ORG_AUDIT_NODES = "audit:nodes" 386 ORG_AUDIT_PERMISSIONS = "audit:permissions" 387 ORG_AUDIT_QUERIES = "audit:queries" 388 ORG_AUDIT_ACTIVITIES = "audit:activities" 389 ORG_AUDIT_SSH = "audit:ssh" 390 ORG_AUDIT_ACCOUNT_GRANTS = "audit:accountgrants" 391 ORG_AUDIT_ORG = "audit:organization" 392 ORG_AUDIT_REMOTE_IDENTITIES = "audit:remoteidentities" 393 ORG_AUDIT_REMOTE_IDENTITY_GROUPS = "audit:remoteidentitygroups" 394 ORG_AUDIT_SECRET_ENGINES = "audit:secretengines" 395 ORG_AUDIT_SECRET_STORES = "audit:secretstores" 396 ORG_AUDIT_WORKFLOWS = "audit:workflows" 397 ORG_AUDIT_APPROVAL_FLOWS = "audit:approvalflows" 398 ORG_AUDIT_ACCESS_REQUESTS = "audit:accessrequests" 399 ORG_AUDIT_POLICIES = "audit:policies" 400 WORKFLOW_LIST = "workflow:list" 401 WORKFLOW_EDIT = "workflow:edit" 402 ACCESS_REQUEST_LIST = "accessrequest:list" 403 ACCESS_REQUEST_REQUESTER = "accessrequest:requester" 404 APPROVAL_FLOW_EDIT = "approvalflow:edit" 405 APPROVAL_FLOW_LIST = "approvalflow:list" 406 INSTALLATION_BLESS = "installation:bless" 407 INSTALLATION_CREATE = "installation:create" 408 INSTALLATION_REVOKE = "installation:revoke" 409 TESTING_ORG_CREATE = "testing:organization:create" 410 TESTING_ORG_DELETE = "testing:organization:delete" 411 TESTING_NO_PERMISSIONS = "testing:noperms" 412 TESTING_FETCH_QUERIES = "testing:queries:get" 413 GRANT_READ = "grant:read" 414 GRANT_WRITE = "grant:write" 415 REPORT_READ = "report:read" 416 BILLING_READ = "billing:read" 417 CREDENTIAL_READ = "credential:read" 418 CREDENTIAL_WRITE = "credential:write" 419 MANAGED_SECRET_CREATE = "managedsecret:create" 420 MANAGED_SECRET_LIST = "managedsecret:list" 421 MANAGED_SECRET_DELETE = "managedsecret:delete" 422 MANAGED_SECRET_UPDATE = "managedsecret:update" 423 MANAGED_SECRET_READ = "managedsecret:read"
class
QueryCategory:
class
LogRemoteEncoder:
class
LogLocalStorage:
class
LogLocalEncoder:
class
LogLocalFormat:
class
OrgKind:
class
SSHKeyType:
class
CaptureType:
484class CaptureType: 485 SHELL = "shell" 486 SCP_UPLOAD = "scp-upload" 487 SCP_DOWNLOAD = "scp-download" 488 COMMAND = "command" 489 RDP_BASIC = "rdp-basic" 490 RDP_ENHANCED = "rdp-enhanced" 491 K_8_S_EXEC = "k8s-exec" 492 K_8_S_EXEC_TTY = "k8s-execTTY" 493 K_8_S_PORT_FORWARD = "k8s-portForward" 494 K_8_SCP_UPLOAD = "k8s-cp-upload" 495 K_8_SCP_DOWNLOAD = "k8s-cp-download" 496 K_8_S_DESCRIBE = "k8s-describe" 497 K_8_S_GET = "k8s-get" 498 K_8_S_DELETE = "k8s-delete" 499 K_8_S_GENERIC = "k8s-generic" 500 K_8_S_APPLY = "k8s-apply" 501 SSH_PORT_FORWARD = "ssh-portForward"
class
DeviceTrustProvider:
class
APIHost: