Install, enable and disable assistive access on macOS minions
/path/to/file:
xattr.exists:
- attributes:
- com.file.attr=test
- com.apple.quarantine=0x00001111 Make sure the given attributes are deleted from the file/directory
The path to the file/directory
The attributes that should be removed from the file/directory, this is accepted as an array.
Make sure the given attributes exist on the file/directory
The path to the file/directory
The attributes that should exist on the file/directory, this is accepted as an array, with key and value split with an equals sign, if you want to specify a hex value then add 0x to the beginning of the value.
© 2021 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltproject.io/en/latest/ref/states/all/salt.states.mac_xattr.html