diff --git a/provisioners.pb.go b/provisioners.pb.go index 0b37f0c..eb4a69d 100644 --- a/provisioners.pb.go +++ b/provisioners.pb.go @@ -207,9 +207,10 @@ func (ACMEProvisioner_AttestationFormatType) EnumDescriptor() ([]byte, []int) { type Webhook_Kind int32 const ( - Webhook_NO_KIND Webhook_Kind = 0 - Webhook_ENRICHING Webhook_Kind = 1 - Webhook_AUTHORIZING Webhook_Kind = 2 + Webhook_NO_KIND Webhook_Kind = 0 + Webhook_ENRICHING Webhook_Kind = 1 + Webhook_AUTHORIZING Webhook_Kind = 2 + Webhook_SCEPCHALLENGE Webhook_Kind = 3 ) // Enum value maps for Webhook_Kind. @@ -218,11 +219,13 @@ var ( 0: "NO_KIND", 1: "ENRICHING", 2: "AUTHORIZING", + 3: "SCEPCHALLENGE", } Webhook_Kind_value = map[string]int32{ - "NO_KIND": 0, - "ENRICHING": 1, - "AUTHORIZING": 2, + "NO_KIND": 0, + "ENRICHING": 1, + "AUTHORIZING": 2, + "SCEPCHALLENGE": 3, } ) @@ -506,6 +509,7 @@ type ProvisionerDetails struct { unknownFields protoimpl.UnknownFields // Types that are assignable to Data: + // // *ProvisionerDetails_JWK // *ProvisionerDetails_OIDC // *ProvisionerDetails_GCP @@ -1945,6 +1949,7 @@ type Webhook struct { Kind Webhook_Kind `protobuf:"varint,4,opt,name=kind,proto3,enum=linkedca.Webhook_Kind" json:"kind,omitempty"` Secret string `protobuf:"bytes,5,opt,name=secret,proto3" json:"secret,omitempty"` // Types that are assignable to Auth: + // // *Webhook_BearerToken // *Webhook_BasicAuth Auth isWebhook_Auth `protobuf_oneof:"auth"` @@ -2343,7 +2348,7 @@ var file_provisioners_proto_rawDesc = []byte{ 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x30, 0x0a, 0x0b, 0x42, 0x65, 0x61, 0x72, 0x65, 0x72, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x65, 0x61, 0x72, 0x65, 0x72, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, - 0x62, 0x65, 0x61, 0x72, 0x65, 0x72, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xca, 0x03, 0x0a, 0x07, + 0x62, 0x65, 0x61, 0x72, 0x65, 0x72, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xdd, 0x03, 0x0a, 0x07, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, @@ -2366,15 +2371,16 @@ var file_provisioners_proto_rawDesc = []byte{ 0x72, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x63, 0x61, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x63, 0x65, 0x72, 0x74, 0x54, - 0x79, 0x70, 0x65, 0x22, 0x33, 0x0a, 0x04, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x0b, 0x0a, 0x07, 0x4e, + 0x79, 0x70, 0x65, 0x22, 0x46, 0x0a, 0x04, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x0b, 0x0a, 0x07, 0x4e, 0x4f, 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x45, 0x4e, 0x52, 0x49, 0x43, 0x48, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x41, 0x55, 0x54, 0x48, 0x4f, - 0x52, 0x49, 0x5a, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x22, 0x26, 0x0a, 0x08, 0x43, 0x65, 0x72, 0x74, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x4c, 0x4c, 0x10, 0x00, 0x12, 0x08, 0x0a, - 0x04, 0x58, 0x35, 0x30, 0x39, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x53, 0x53, 0x48, 0x10, 0x02, - 0x42, 0x06, 0x0a, 0x04, 0x61, 0x75, 0x74, 0x68, 0x42, 0x15, 0x5a, 0x13, 0x67, 0x6f, 0x2e, 0x73, - 0x74, 0x65, 0x70, 0x2e, 0x73, 0x6d, 0x2f, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x63, 0x61, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x52, 0x49, 0x5a, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x43, 0x45, 0x50, + 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x10, 0x03, 0x22, 0x26, 0x0a, 0x08, 0x43, + 0x65, 0x72, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x4c, 0x4c, 0x10, 0x00, + 0x12, 0x08, 0x0a, 0x04, 0x58, 0x35, 0x30, 0x39, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x53, 0x53, + 0x48, 0x10, 0x02, 0x42, 0x06, 0x0a, 0x04, 0x61, 0x75, 0x74, 0x68, 0x42, 0x15, 0x5a, 0x13, 0x67, + 0x6f, 0x2e, 0x73, 0x74, 0x65, 0x70, 0x2e, 0x73, 0x6d, 0x2f, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, + 0x63, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/provisioners.proto b/provisioners.proto index 5663391..21e1b9f 100644 --- a/provisioners.proto +++ b/provisioners.proto @@ -193,6 +193,7 @@ message Webhook { NO_KIND = 0; ENRICHING = 1; AUTHORIZING = 2; + SCEPCHALLENGE = 3; } enum CertType { ALL = 0;