Skip to content

Commit

Permalink
Provisioning resource updates (#47782)
Browse files Browse the repository at this point in the history
* Provisioning resource updates

* Address @flyinghermit's review concerns

* Comment update
  • Loading branch information
tcsc authored Oct 23, 2024
1 parent d82ee84 commit 492379c
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 26 deletions.
82 changes: 56 additions & 26 deletions api/gen/proto/go/teleport/provisioning/v1/provisioning.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions api/proto/teleport/provisioning/v1/provisioning.proto
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,16 @@ message PrincipalStateStatus {

// Error holds a description of the last provisioing error, if any.
string error = 4;

// Revision holds the revision of the principal record provisioned into the
// downstream system. Used to assert that the latest revision of the principal
// is provisioned downstream and detect changes in the principal that require
// re-provisoning.
string provisioned_principal_revision = 6;

// ActiveLocks holds the list of known active locks on the principal. Used to
// store the lock state across restarts of Teleport in order to detect state
// changes that may happen while Teleport is not running (e.g. a storage
// backend deleting an expired lock record while Teleport is offline)
repeated string active_locks = 7;
}

0 comments on commit 492379c

Please sign in to comment.