Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: LoginURL Az property #791

Merged
merged 2 commits into from
Aug 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -816,6 +816,7 @@ export enum AzureKindProperties {
AppOwnerOrganizationID = 'appownerorganizationid',
AppDescription = 'appdescription',
AppDisplayName = 'appdisplayname',
LoginURL = 'loginurl',
ServicePrincipalType = 'serviceprincipaltype',
UserType = 'usertype',
TenantID = 'tenantid',
Expand Down Expand Up @@ -853,6 +854,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
Loading