Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v17] Adds IC plugin status value to trigger IC group import #52879

Open
wants to merge 4 commits into
base: branch/v17
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions api/proto/teleport/legacy/types/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6953,6 +6953,9 @@ enum AWSICGroupImportStatusCode {
DONE = 1;
// FAILED denotes that the group and group members import met with an error.
FAILED = 2;
// REIMPORT_REQUESTED denotes that the user has requested that the import
// process be re-run.
REIMPORT_REQUESTED = 3;
}

// PluginEmailSettings holds the settings for an Email Access Request plugin.
Expand Down
5 changes: 5 additions & 0 deletions api/types/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ type PluginStatus interface {
GetOkta() *PluginOktaStatusV1
GetAwsIc() *PluginAWSICStatusV1
GetNetIq() *PluginNetIQStatusV1
SetDetails(isPluginStatusV1_Details)
}

// NewPluginV1 creates a new PluginV1 resource.
Expand Down Expand Up @@ -883,6 +884,10 @@ func (c PluginStatusV1) GetLastSyncTime() time.Time {
return c.LastSyncTime
}

func (c *PluginStatusV1) SetDetails(settings isPluginStatusV1_Details) {
c.Details = settings
}

// CheckAndSetDefaults checks that the required fields for the Gitlab plugin are set.
func (c *PluginGitlabSettings) Validate() error {
if c.ApiEndpoint == "" {
Expand Down
Loading
Loading