tomcat:
priority: "10"
content: |
- tomcat ALL=(tomcat) NOPASSWD: CMDTOMCAT
+ tomcat ALL=(root) NOPASSWD: CMDTOMCAT
parameters:
path: '/www/logs/tomcat/qas-app02-fact-01-dm/*.*'
type: tomcat
- tags:
+ tags:
- "docmorris-ff7"
- "%{customer}"
- "%{environment}"
parameters:
path: '/www/logs/tomcat/qas-app02-fact-02-dm/*.*'
type: tomcat
- tags:
+ tags:
- "docmorris-ff7"
- "%{customer}"
- "%{environment}"
match:
- "message"
- '%%{ich-trickse}{IP:ip}%%{ich-trickse}{SPACE}\[%%{ich-trickse}{HTTPDATE:logdate}%%{ich-trickse}{DATA}%%{ich-trickse}{QS:request}%%{ich-trickse}{DATA}%%{ich-trickse}{NUMBER:status}%%{ich-trickse}{DATA}%%{ich-trickse}{NUMBER:size}%%{ich-trickse}{DATA}%%{ich-trickse}{NUMBER:time}'
+
+sudo::configs:
+ cmd_alias:
+ priority: "05"
+ content: |
+ Cmnd_Alias CMDTOMCAT = /bin/systemctl * tomcat@*.service
+ tomcat:
+ priority: "10"
+ content: |
+ tomcat ALL=(root) NOPASSWD: CMDTOMCAT
\ No newline at end of file
parameters:
path: '/www/logs/tomcat/qas-app03-fact-01-dm/*.*'
type: tomcat
- tags:
+ tags:
- "docmorris-ff7"
- "%{customer}"
- "%{environment}"
parameters:
path: '/www/logs/tomcat/qas-app03-fact-02-dm/*.*'
type: tomcat
- tags:
+ tags:
- "docmorris-ff7"
- "%{customer}"
- "%{environment}"
match:
- "message"
- '%%{ich-trickse}{IP:ip}%%{ich-trickse}{SPACE}\[%%{ich-trickse}{HTTPDATE:logdate}%%{ich-trickse}{DATA}%%{ich-trickse}{QS:request}%%{ich-trickse}{DATA}%%{ich-trickse}{NUMBER:status}%%{ich-trickse}{DATA}%%{ich-trickse}{NUMBER:size}%%{ich-trickse}{DATA}%%{ich-trickse}{NUMBER:time}'
+
+sudo::configs:
+ cmd_alias:
+ priority: "05"
+ content: |
+ Cmnd_Alias CMDTOMCAT = /bin/systemctl * tomcat@*.service
+ tomcat:
+ priority: "10"
+ content: |
+ tomcat ALL=(root) NOPASSWD: CMDTOMCAT
\ No newline at end of file