Skip to content

"requiredDataConnectors" not populating #113

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

Closed
Edi-Lahav opened this issue Oct 6, 2020 · 2 comments · Fixed by #121 or #126
Closed

"requiredDataConnectors" not populating #113

Edi-Lahav opened this issue Oct 6, 2020 · 2 comments · Fixed by #121 or #126
Assignees
Labels
enhancement New feature or request inprogress

Comments

@Edi-Lahav
Copy link

Edi-Lahav commented Oct 6, 2020

Summary of the new feature/enhancement

When using the Get-AzSentinelAlertRuleTemplates the requiredDataConnectors output parameter.
It can be useful also to add it as an Input parameter to filter alert templates by the Data Connectors.

Proposed technical implementation details (optional)

When trying the Alert Rule Template GET - the response includes this output parameter. It'll be great to have in the response.

@pkhabazi
Copy link
Contributor

hi @Edi-Lahav, thanks for the feedback. the property is there but currently a little bit hidden :p I am working to update the output.

For now you can access the requiredDataConnectors by running the following, the below example will return the displayname and requiredDataConnectors for all the templaterules:

Get-AzSentinelAlertRuleTemplates -WorkspaceName  | select {$_.properties.requiredDataConnectors.connectorId}, {$_.properties.displayName}

@pkhabazi pkhabazi self-assigned this Oct 20, 2020
@pkhabazi pkhabazi added the enhancement New feature or request label Oct 20, 2020
@pkhabazi
Copy link
Contributor

example of new output:
image

@pkhabazi pkhabazi mentioned this issue Oct 21, 2020
8 tasks
@pkhabazi pkhabazi linked a pull request Oct 21, 2020 that will close this issue
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request inprogress
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants