Skip to content

Alert rule NRT not returned from Python SecurityInsights lib #39996

Open
@wojciechss

Description

@wojciechss
  • Package Name: azure-mgmt-securityinsight
  • Package Version: 1.0.0
  • Operating System: linux
  • Python Version: 3.10.12

Describe the bug
Alert rule NRT not returned from Python SecurityInsights lib

To Reproduce
Steps to reproduce the behavior:

  1. Create rule in Azure with kind: NRT
  2. Fetch rules with SecurityInsights lib:
    from azure.mgmt.securityinsight import SecurityInsights
    client = SecurityInsights(credential, subscription_id)
    rules = client.alert_rules.list(resource_group_name, workspace_name)

Expected behavior
All rules, including NRT should be returned

Additional context
According to MS ticket 2502030050002686, to fetch all rules, including NRT, API_VERSION = '2025-01-01-preview'' should be used.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

MgmtThis issue is related to a management-plane library.SecurityInsightsService AttentionWorkflow: This issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions