Closed Wob76 closed 6 months ago
Audit was indeed being processed for apps even when the argument was not used, this was because the data is being pre-fetched in the module. I've added an additional check in the module if the argument is set before getting the data.
Try pip3 install IntuneCD==2.3.2b1
and verify that no audit data is included.
Looking good, I have updated my test pipeline to use 2.3.2b1 and no extra commits.
Describe the bug It seems the changed to 2.3.1 are pushing git commits for Applications even when --audit is not being used.
To Reproduce I use an existing post audit process I had in place before --audit was added, I prefer to bundle changes per user to reduce the number of changes, and I lookup Display Name rather than UPN as it is easier to read in my environment.
As such I have not added --audit in my IntuneCD-startbackup command.
As of the 2.3.1 update I am seeing 'MobileApp Create by {UPN}..." commits in my history.
I am not seeing commits for anything other than Applications.
Expected behavior No git commits should take place unless --audit is used.
Log Data
Run type (please complete the following information):
Additional context Add any other context about the problem here.