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

InvalidBlobAuditActionsAndGroups Error using Set-AzureRmSqlServerAuditing #4974

Closed
sdwheeler opened this issue Nov 13, 2017 · 4 comments
Closed
Assignees
Labels
question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Attention This issue is responsible by Azure service team. SQL - Data Security SQL

Comments

@sdwheeler
Copy link
Member

sdwheeler commented Nov 13, 2017

Cmdlet(s)

Set-AzureRmSqlServerAuditing

Customer issue reported via LiveFyre at https://docs.microsoft.com/en-us/powershell/module/azurerm.sql/set-azurermsqlserverauditing

Title Author PostTime(UTC) Comments
Set-AzureRmSqlServerAuditing (AzureRM.Sql) | Microsoft Docs aaroney 11/13/2017 8:28:04 PM It looks like the cmdlet is failing for -AuditActionGroup 'AUDIT_CHANGE_GROUP'. When used got below error: Set-AzureRmSqlServerAuditing : InvalidBlobAuditActionsAndGroups: Invalid audit actions or action groups. Hope there is some plan to fix this bug.

Can anyone speak to this issue?

@markcowl
Copy link
Member

@jaredmoo Can you take a look?

@jaredmoo jaredmoo assigned ranisha2 and unassigned jaredmoo Nov 14, 2017
@ranisha2
Copy link
Contributor

'AUDIT_CHANGE_GROUP' is not supported and should be removed.
PR:
#4990

@mvoltchenko
Copy link

Hi. I am getting an error when running the following command:
az sql db audit-policy update -g "ECL-GIO-AZURE-COSTING" -s jdlsql01 -n "AzureInventory_CN" --state Enabled --storage-account ecljdlds04
Invalid audit actions or action groups.
I am not specifying any actions or action groups, just trying to enable auditing policy with the default settings. According to the documentation --actions is an optional parameter. Why am i getting the error "Invalid audit actions or action groups"?

@ranisha2
Copy link
Contributor

ranisha2 commented May 1, 2018

@mvoltchenko
Did you set an empty set of audit actions or action groups previously with a disabled policy? If you do so, and then you try to enable the policy without providing audit actions or action groups, the request will fail, as it will send the previously set value. This value is only being validated when the policy is enabled.
To solve this, please provide actions.

@bsiegel bsiegel added the Service Attention This issue is responsible by Azure service team. label Sep 26, 2018
@aamalvea aamalvea added the question The issue doesn't require a change to the product in order to be resolved. Most issues start as that label Jun 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Attention This issue is responsible by Azure service team. SQL - Data Security SQL
Projects
None yet
Development

No branches or pull requests

8 participants