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

Feature Request: Abilitiy to save a scheduled rule into a json file that is compatible with AzSentinel schema #109

Closed
Cyb3r-Monk opened this issue Oct 2, 2020 · 2 comments · Fixed by #121 or #126
Assignees
Labels
enhancement New feature or request inprogress

Comments

@Cyb3r-Monk
Copy link

The schema requires the scheduled rule to be enclosed in { "Scheduled": [ ... ] }. when using Get-AzSentinelAlertRule, it is possible to convert the content into JSON but the { "Scheduled": [ ... ] } is missing. It would be nice to have an option for downloading a scheduled rule in a JSON format that is compatible to the AzSentinel schema. In addition, if the function can remove some attributes (like etag, id, etc.) it would make it easy to pull a rule from an environment and push it to another one without modifying the json content.

@pkhabazi pkhabazi added the enhancement New feature or request label Oct 5, 2020
@pkhabazi
Copy link
Collaborator

pkhabazi commented Oct 5, 2020

Thanks for your feedback @Cyb3r-Monk! I am currently working on a export function, will try to include it in the next release.

@pkhabazi pkhabazi self-assigned this Oct 6, 2020
@javiersoriano
Copy link

+1, this would be great!

@pkhabazi pkhabazi linked a pull request Oct 20, 2020 that will close this issue
8 tasks
@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.

3 participants