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

Add column status and disable_local_auth in table azure_servicebus_namespace. Closes #714 #715

Merged
merged 1 commit into from
Jan 3, 2024
Merged
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
12 changes: 12 additions & 0 deletions azure/table_azure_servicebus_namespace.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ func tableAzureServiceBusNamespace(_ context.Context) *plugin.Table {
Type: proto.ColumnType_TIMESTAMP,
Transform: transform.FromField("SBNamespaceProperties.CreatedAt").Transform(convertDateToTime),
},
{
Name: "disable_local_auth",
Description: "This property disables SAS authentication for the Service Bus namespace.",
Type: proto.ColumnType_BOOL,
Transform: transform.FromField("SBNamespaceProperties.DisableLocalAuth"),
},
{
Name: "metric_id",
Description: "The identifier for Azure insights metrics.",
Expand Down Expand Up @@ -92,6 +98,12 @@ func tableAzureServiceBusNamespace(_ context.Context) *plugin.Table {
Type: proto.ColumnType_STRING,
Transform: transform.FromField("Sku.Tier"),
},
{
Name: "status",
Description: "Status of the namespace.",
Type: proto.ColumnType_STRING,
Transform: transform.FromField("SBNamespaceProperties.Status"),
},
{
Name: "updated_at",
Description: "The time the namespace was updated.",
Expand Down