diff --git a/access_application.go b/access_application.go index 8776a3d54b5..aeca100dd79 100644 --- a/access_application.go +++ b/access_application.go @@ -57,7 +57,7 @@ type AccessApplication struct { OptionsPreflightBypass *bool `json:"options_preflight_bypass,omitempty"` CustomPages []string `json:"custom_pages,omitempty"` Tags []string `json:"tags,omitempty"` - SCIMConfig *AccessApplicationScimConfig `json:"scim_config,omitempty"` + SCIMConfig *AccessApplicationSCIMConfig `json:"scim_config,omitempty"` AccessAppLauncherCustomization } @@ -78,8 +78,8 @@ type AccessApplicationCorsHeaders struct { MaxAge int `json:"max_age,omitempty"` } -// AccessApplicationScimConfig represents the configuration for provisioning to an Access Application via SCIM. -type AccessApplicationScimConfig struct { +// AccessApplicationSCIMConfig represents the configuration for provisioning to an Access Application via SCIM. +type AccessApplicationSCIMConfig struct { Enabled *bool `json:"enabled,omitempty"` RemoteURI string `json:"remote_uri,omitempty"` Authentication *AccessApplicationScimAuthenticationJson `json:"authentication,omitempty"` @@ -276,7 +276,7 @@ type CreateAccessApplicationParams struct { AllowAuthenticateViaWarp *bool `json:"allow_authenticate_via_warp,omitempty"` CustomPages []string `json:"custom_pages,omitempty"` Tags []string `json:"tags,omitempty"` - ScimConfig *AccessApplicationScimConfig `json:"scim_config,omitempty"` + SCIMConfig *AccessApplicationSCIMConfig `json:"scim_config,omitempty"` AccessAppLauncherCustomization } @@ -309,7 +309,7 @@ type UpdateAccessApplicationParams struct { OptionsPreflightBypass *bool `json:"options_preflight_bypass,omitempty"` CustomPages []string `json:"custom_pages,omitempty"` Tags []string `json:"tags,omitempty"` - ScimConfig *AccessApplicationScimConfig `json:"scim_config,omitempty"` + SCIMConfig *AccessApplicationSCIMConfig `json:"scim_config,omitempty"` AccessAppLauncherCustomization } diff --git a/access_application_test.go b/access_application_test.go index 4a6c5d00a98..7b8da1d636d 100644 --- a/access_application_test.go +++ b/access_application_test.go @@ -1095,7 +1095,7 @@ func TestCreateAccessApplicationWithSCIMProvisioning(t *testing.T) { UpdatedAt: &updatedAt, CustomNonIdentityDenyURL: "https://blocked.com", Tags: []string{"engineers"}, - SCIMConfig: &AccessApplicationScimConfig{ + SCIMConfig: &AccessApplicationSCIMConfig{ Enabled: BoolPtr(true), RemoteURI: "https://scim.com", Authentication: &AccessApplicationScimAuthenticationJson{ @@ -1126,7 +1126,7 @@ func TestCreateAccessApplicationWithSCIMProvisioning(t *testing.T) { actual, err := client.CreateAccessApplication(context.Background(), AccountIdentifier(testAccountID), CreateAccessApplicationParams{ Name: "Admin Saas Site", - ScimConfig: &AccessApplicationScimConfig{ + SCIMConfig: &AccessApplicationSCIMConfig{ Enabled: BoolPtr(true), RemoteURI: "https://scim.com", Authentication: &AccessApplicationScimAuthenticationJson{ @@ -1161,7 +1161,7 @@ func TestCreateAccessApplicationWithSCIMProvisioning(t *testing.T) { actual, err = client.CreateAccessApplication(context.Background(), ZoneIdentifier(testZoneID), CreateAccessApplicationParams{ Name: "Admin SCIM Site", - ScimConfig: &AccessApplicationScimConfig{ + SCIMConfig: &AccessApplicationSCIMConfig{ Enabled: BoolPtr(true), RemoteURI: "https://scim.com", Authentication: &AccessApplicationScimAuthenticationJson{