Skip to content

Commit

Permalink
feat: LoginURL Az property (#791)
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasBK committed Aug 26, 2024
1 parent fa2d054 commit 048d9ad
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 4 deletions.
7 changes: 7 additions & 0 deletions packages/cue/bh/azure/azure.cue
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@ AppDisplayName: types.#StringEnum & {
representation: "appdisplayname"
}

LoginURL: types.#StringEnum & {
symbol: "LoginURL"
schema: "azure"
name: "Login URL"
representation: "loginurl"
}

ServicePrincipalType: types.#StringEnum & {
symbol: "ServicePrincipalType"
schema: "azure"
Expand Down
1 change: 1 addition & 0 deletions packages/go/ein/azure.go
Original file line number Diff line number Diff line change
Expand Up @@ -911,6 +911,7 @@ func ConvertAzureServicePrincipal(data models.ServicePrincipal) ([]IngestibleNod
azure.AppOwnerOrganizationID.String(): data.AppOwnerOrganizationId,
azure.AppDescription.String(): data.AppDescription,
azure.AppDisplayName.String(): data.AppDisplayName,
azure.LoginURL.String(): data.LoginUrl,
azure.ServicePrincipalType.String(): data.ServicePrincipalType,
azure.TenantID.String(): strings.ToUpper(data.TenantId),
},
Expand Down
1 change: 0 additions & 1 deletion packages/go/graphschema/ad/ad.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 8 additions & 2 deletions packages/go/graphschema/azure/azure.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion packages/go/graphschema/common/common.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions packages/javascript/bh-shared-ui/src/graphSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -882,6 +882,7 @@ export enum AzureKindProperties {
AppOwnerOrganizationID = 'appownerorganizationid',
AppDescription = 'appdescription',
AppDisplayName = 'appdisplayname',
LoginURL = 'loginurl',
ServicePrincipalType = 'serviceprincipaltype',
UserType = 'usertype',
TenantID = 'tenantid',
Expand Down Expand Up @@ -919,6 +920,8 @@ export function AzureKindPropertiesToDisplay(value: AzureKindProperties): string
return 'App Description';
case AzureKindProperties.AppDisplayName:
return 'App Display Name';
case AzureKindProperties.LoginURL:
return 'Login URL';
case AzureKindProperties.ServicePrincipalType:
return 'Service Principal Type';
case AzureKindProperties.UserType:
Expand Down

0 comments on commit 048d9ad

Please sign in to comment.