Skip to content

Commit ce66f26

Browse files
authored
Merge branch 'master' into ej/nil-map
2 parents 646bc2a + e91f29b commit ce66f26

File tree

139 files changed

+3290
-2663
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

139 files changed

+3290
-2663
lines changed

Cargo.lock

+21-19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/gen/proto/go/teleport/workloadidentity/v1/attrs.pb.go

+169-93
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/proto/teleport/legacy/types/types.proto

+3
Original file line numberDiff line numberDiff line change
@@ -6978,6 +6978,9 @@ enum AWSICGroupImportStatusCode {
69786978
DONE = 1;
69796979
// FAILED denotes that the group and group members import met with an error.
69806980
FAILED = 2;
6981+
// REIMPORT_REQUESTED denotes that the user has requested that the import
6982+
// process be re-run.
6983+
REIMPORT_REQUESTED = 3;
69816984
}
69826985

69836986
// PluginEmailSettings holds the settings for an Email Access Request plugin.

api/proto/teleport/workloadidentity/v1/attrs.proto

+10
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,14 @@ message WorkloadAttrsDockerContainer {
9595
map<string, string> labels = 3;
9696
}
9797

98+
// Attributes sourced from the Systemd workload attestor.
99+
message WorkloadAttrsSystemd {
100+
// Whether the workload passed Systemd attestation.
101+
bool attested = 1;
102+
// The systemd service name.
103+
string service = 2;
104+
}
105+
98106
// The attributes provided by `tbot` regarding the workload's attestation.
99107
// This will be mostly unset if the workload has not requested credentials via
100108
// the SPIFFE Workload API.
@@ -107,6 +115,8 @@ message WorkloadAttrs {
107115
WorkloadAttrsPodman podman = 3;
108116
// The Docker-specific attributes.
109117
WorkloadAttrsDocker docker = 4;
118+
// The Systemd-specific attributes.
119+
WorkloadAttrsSystemd systemd = 5;
110120
}
111121

112122
// Attributes related to the user/bot making the request for a workload

api/types/plugin.go

+5
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ type PluginStatus interface {
137137
GetOkta() *PluginOktaStatusV1
138138
GetAwsIc() *PluginAWSICStatusV1
139139
GetNetIq() *PluginNetIQStatusV1
140+
SetDetails(isPluginStatusV1_Details)
140141
}
141142

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

887+
func (c *PluginStatusV1) SetDetails(settings isPluginStatusV1_Details) {
888+
c.Details = settings
889+
}
890+
886891
// CheckAndSetDefaults checks that the required fields for the Gitlab plugin are set.
887892
func (c *PluginGitlabSettings) Validate() error {
888893
if c.ApiEndpoint == "" {

0 commit comments

Comments
 (0)