Azure / Azure/azure-rest-api-specs

SecurityInsights 2021-09-01-preview: Anomaly AlertRuleKind Enum missing

Open
#17,528 1 comment 0 reactions 0 assignees View on GitHub
customer-reported question SecurityInsights Service Attention
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
3d 2h
Merged PRs (30d)
424

Description

The AlertRuleKind Enum does not contain Anomaly rules in the API Specification

https://github.com/Azure/azure-rest-api-specs/blob/5578aa6c6c3bbce350fd2963e15e7b92550d7e06/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-09-01-preview/AlertRules.json#L594

This is definitely present with the 2021-09-01-preview api specification

e.g.
![image](https://user-images.githubusercontent.com/29356754/151333257-9b0d9b5f-f033-4a37-9147-4141937d2bbf.png)

![image](https://user-images.githubusercontent.com/29356754/151332506-9e66cf94-0439-4510-bc8e-667cb857de60.png)

![image](https://user-images.githubusercontent.com/29356754/151333217-8f76ce75-76f5-46e4-95ff-ed43ca7ee5bb.png)

![image](https://user-images.githubusercontent.com/29356754/151333279-1e7dd130-b876-491d-abd2-f6a75ec4237c.png)

https://github.com/Azure/azure-rest-api-specs/pull/16933

@anat-gilenson

Contributor guide

Open the contributing guide

Research direction

Open specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-09-01-preview/AlertRules.json at line 594 and compare the AlertRuleKind enum with the 2021-09-01-preview API behavior shown in the issue. Check the referenced pull request for context; done means the specification represents Anomaly rules in the enum and its validation passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi
Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.