0

How can I set "audit-enabled":false in MarkLogic at the time of deployment in the groups.json file?

Mads Hansen
  • 63,927
  • 12
  • 112
  • 147

1 Answers1

1

You can write a custom task that makes a call to https://docs.marklogic.com/REST/PUT/manage/v2/groups/[id-or-name]/properties to modify the audit-enabled property, along with any other properties of the group that you want. See https://github.com/marklogic-community/ml-gradle/wiki/Writing-your-own-task for examples on how to write a custom task.

rjrudin
  • 2,108
  • 9
  • 7