Skip to content

Commit

Permalink
Merge pull request #4788 from jan-cerny/test_rsyslog_remote_tls
Browse files Browse the repository at this point in the history
Add test scenarios for rsyslog_remote_tls
  • Loading branch information
matejak authored Sep 5, 2019
2 parents 56fe87b + eb329a0 commit 67f0b6e
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

cat >> /etc/rsyslog.conf <<EOF
action(type="omfwd"
protocol="tcp"
Target="remote.system.com"
port="6514"
StreamDriver="gtls"
StreamDriverMode="1"
StreamDriverAuthMode="x509/name")
EOF
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

cat >> /etc/rsyslog.conf <<EOF
action(type="omfwd" protocol="tcp" Target="remote.system.com" port="6514" StreamDriver="gtls" StreamDriverMode="1" StreamDriverAuthMode="x509/name")
EOF
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash
# remediation = none

cat >> /etc/rsyslog.conf <<EOF
action(type="omfwd"
protocol="tcp"
Target="remote.system.com"
port="6514"
StreamDriver="gtls"
StreamDriverMode="1")
EOF
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash
# remediation = none

cat >> /etc/rsyslog.conf <<EOF
action(type="omfwd"
protocol="tcp"
Target="remote.system.com"
port="6514"
StreamDriver="ptcp"
StreamDriverMode="1"
StreamDriverAuthMode="x509/name")
EOF

0 comments on commit 67f0b6e

Please sign in to comment.