thalesgroup.ciphertrust.connection_manager_syslog module – Manage syslog log forwarder connections
Note
This module is part of the thalesgroup.ciphertrust collection (version 1.0.0).
To install it, use: ansible-galaxy collection install thalesgroup.ciphertrust
.
To use it in a playbook, specify: thalesgroup.ciphertrust.connection_manager_syslog
.
New in thalesgroup.ciphertrust 1.0.0
Synopsis
This is a Thales CipherTrust Manager module for working with the CipherTrust Manager APIs, more specifically with Connection Manager API for Syslog
Parameters
Parameter |
Comments |
---|---|
Unique ID of the connection to be updated Default: |
|
Description about the connection Default: |
|
Host of the log-forwarder server Default: |
|
this holds the connection parameters required to communicate with an instance of CipherTrust Manager (CM) holds IP/FQDN of the server, username, password, and port |
|
admin password of CM |
|
CM Server IP or FQDN |
|
Port on which CM server is listening Default: |
|
internal or private IP of the CM Server, if different from the server_ip |
|
admin username of CM |
|
if SSL verification is required Choices:
|
|
Optional end-user or service data stored with the connection |
|
Unique connection name Default: |
|
Operation to be performed Choices:
|
|
The port to use for the connection. Defaults to 514 for udp, 601 for tcp and 6514 for tls |
|
Array of the CipherTrust products associated with the connection. Default: |
|
Syslog connection parameters |
|
The trusted CA certificate in the PEM format. Only used in the TLS transport mode. |
|
The log message format for new log messages |
|
Transport mode for sending data, supports “udp”, “tls” and “tcp”. |
Examples
- name: "Create Syslog Connection"
thalesgroup.ciphertrust.connection_manager_syslog:
localNode:
server_ip: "IP/FQDN of CipherTrust Manager"
server_private_ip: "Private IP in case that is different from above"
server_port: 5432
user: "CipherTrust Manager Username"
password: "CipherTrust Manager Password"
verify: false
op_type: create
name: "Syslog Connection"
syslog_params:
transport: TLS
message_format: rfc3164
ca_cert: ""
host: 127.0.0.1
port: 514
products:
- logger
- name: "Update Syslog Connection"
thalesgroup.ciphertrust.connection_manager_syslog:
localNode:
server_ip: "IP/FQDN of CipherTrust Manager"
server_private_ip: "Private IP in case that is different from above"
server_port: 5432
user: "CipherTrust Manager Username"
password: "CipherTrust Manager Password"
verify: false
op_type: patch