Skip to content

Commit 203d708

Browse files
nick-benoitCopilot
andauthored
Update internal/kibana/security/exception_list/schema.go
Co-authored-by: Copilot <[email protected]>
1 parent dd02276 commit 203d708

File tree

1 file changed

+3
-0
lines changed
  • internal/kibana/security/exception_list

1 file changed

+3
-0
lines changed

internal/kibana/security/exception_list/schema.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ func (r *exceptionListResource) Schema(ctx context.Context, req resource.SchemaR
8888
Computed: true,
8989
ElementType: types.StringType,
9090
Default: listdefault.StaticValue(types.ListNull(types.StringType)),
91+
ElementValidators: []validator.String{
92+
stringvalidator.OneOf("linux", "macos", "windows"),
93+
},
9194
},
9295
"tags": schema.ListAttribute{
9396
Description: "Array of tags to help categorize the exception list.",

0 commit comments

Comments
 (0)