Skip to content

Commit

Permalink
AUTH-6559 support strictness setting in access application scim mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
khiller-cf committed Oct 25, 2024
1 parent b873d58 commit 5e4bd79
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions access_application.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ type AccessApplicationScimMapping struct {
Filter string `json:"filter,omitempty"`
TransformJsonata string `json:"transform_jsonata,omitempty"`
Operations *AccessApplicationScimMappingOperations `json:"operations,omitempty"`
Strictness string `json:"strictness,omitempty"`
}

type AccessApplicationScimMappingOperations struct {
Expand Down
6 changes: 5 additions & 1 deletion access_application_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1418,7 +1418,8 @@ func TestCreateAccessApplicationWithSCIMProvisioning(t *testing.T) {
"create": true,
"update": true,
"delete": true
}
},
"strictness": "passthrough"
}
]
}
Expand Down Expand Up @@ -1471,6 +1472,7 @@ func TestCreateAccessApplicationWithSCIMProvisioning(t *testing.T) {
Update: BoolPtr(true),
Delete: BoolPtr(true),
},
Strictness: "passthrough",
},
},
},
Expand Down Expand Up @@ -1502,6 +1504,7 @@ func TestCreateAccessApplicationWithSCIMProvisioning(t *testing.T) {
Update: BoolPtr(true),
Delete: BoolPtr(true),
},
Strictness: "strict",
},
},
},
Expand Down Expand Up @@ -1537,6 +1540,7 @@ func TestCreateAccessApplicationWithSCIMProvisioning(t *testing.T) {
Update: BoolPtr(true),
Delete: BoolPtr(true),
},
Strictness: "strict",
},
},
},
Expand Down

0 comments on commit 5e4bd79

Please sign in to comment.