Skip to content

Commit e77400e

Browse files
authored
Merge pull request #5835 from larsewi/getacls-example
CFE-4529: Added example for policy function getacls()
2 parents b8e4c70 + 9ffcbbb commit e77400e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

examples/getacls.cf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
bundle agent __main__
2+
{
3+
vars:
4+
"default_acls"
5+
slist => getacls("/tmp/foo/", "default");
6+
"access_acls"
7+
slist => getacls("/tmp/bar", "access");
8+
}

0 commit comments

Comments
 (0)