Note
This plugin is part of the f5networks.f5_modules collection (version 1.7.1).
To install it use: ansible-galaxy collection install f5networks.f5_modules
.
To use it in a playbook, specify: f5networks.f5_modules.bigip_asm_policy_signature_set
.
New in version 1.0.0: of f5networks.f5_modules
Parameter | Choices/Defaults | Comments | |
---|---|---|---|
alarm boolean |
| Specifies if the security policy logs the request data in the Statistics screen when a request matches a signature that is included in the signature set. | |
block boolean |
| Effective when the security policy enforcement mode is Blocking. Determines how the system treats requests that match a signature included in the signature set. When yes , the system blocks all requests that match a signature, and provides the client with a support ID number.When no , the system accepts those requests. | |
learn boolean |
| Specifies if the security policy learns all requests that match a signature that is included in the signature set. | |
name string / required | Specifies the name of the signature sets to apply on, or remove from, the ASM policy. Apart from built-in signature sets that ship with the device, you can create and use custom signature sets. When All Response Signatures , configures all signatures in the attack signature pool that can review responses.When All Signatures , configures all attack signatures in the attack signature pool.When Apache Struts Signatures , configures signatures that target attacks against the Apache Struts web servers. Only available in version 13.x and later.When Apache Tomcat Signatures , configures signatures that target attacks against the Apache Tomcat web servers. Only available in version 13.x and later.When Cisco Signatures , configures signatures that target attacks against Cisco systems. Only available in version 13.x and later.When Command Execution Signatures , configures signatures involving attacks perpetrated by executing commands.When Cross Site Scripting Signatures , configures signatures that target attacks caused by cross-site scripting techniques.When Directory Indexing Signatures , configures signatures targeting attacks that browse directory listings.When Generic Detection Signatures , configures signatures targeting well-known or common web and application attacks.When HTTP Response Splitting Signatures , configures signatures targeting attacks that take advantage of responses for which input values have not been sanitized.When High Accuracy Detection Evasion Signatures , configures signatures with a high level of accuracy that produce few false positives when identifying evasion attacks. Only available in version 13.x and later.When High Accuracy Signatures , configures signatures with a high level of accuracy that produce few false positives when identifying evasion attacks.When IIS and Windows Signatures , configures signatures that target attacks against IIS and Windows-based systems. Only available in version 13.x and later.When Information Leakage Signatures , configures signatures targeting attacks that are looking for system data or debugging information that shows where the system is vulnerable to attack.When Java Servlets/JSP Signatures , configures signatures that target attacks against Java Servlets and Java Server Pages (JSP) based applications. Only available in version 13.x and later.When Low Accuracy Signatures , configures signatures that may result in more false positives when identifying attacks.When Medium Accuracy Signatures , configures signatures with a medium level of accuracy when identifying attacks.When OS Command Injection Signatures , configures signatures targeting attacks that attempt to run system level commands through a vulnerable application.When OWA Signatures , configures signatures that target attacks against the Microsoft Outlook Web Access (OWA) application.When Other Application Attacks Signatures , configures signatures targeting miscellaneous attacks, including session fixation, local file access, injection attempts, header tampering and so on, affecting many applications.When Path Traversal Signatures , configures signatures targeting attacks that attempt to access files and directories that are stored outside the web root folder.When Predictable Resource Location Signatures , configures signatures targeting attacks that attempt to uncover hidden website content and functionality by forceful browsing, or by directory and file enumeration.When Remote File Include Signatures , configures signatures targeting attacks that attempt to exploit a remote file include vulnerability that could enable a remote attacker to execute arbitrary commands on the server hosting the application.When SQL Injection Signatures , configures signatures targeting attacks that attempt to insert (inject) a SQL query using the input data from a client to an application.When Server Side Code Injection Signatures , configures signatures targeting code injection attacks on the server side.When WebSphere signatures , configures signatures targeting attacks on many computing platforms that are integrated using WebSphere, including general database, Microsoft Windows, IIS, Microsoft SQL Server, Apache, Oracle, Unix/Linux, IBM DB2, PostgreSQL, and XML.When XPath Injection Signatures , configures signatures targeting attacks that attempt to gain access to data structures or bypass permissions when a web site uses user-supplied information to construct XPath queries for XML data. | ||
partition string | Default: "Common" | This parameter is only used when identifying an ASM policy. | |
policy_name string / required | Specifies the name of an existing ASM policy to add or remove signature sets to. | ||
provider dictionary added in 1.0.0 of f5networks.f5_modules | A dict object containing connection details. | ||
auth_provider string | Configures the auth provider for to obtain authentication tokens from the remote device. This option is really used when working with BIG-IQ devices. | ||
no_f5_teem boolean |
| If yes , TEEM telemetry data is not sent to F5.You may omit this option by setting the environment variable F5_TEEM . | |
password string / required | The password for the user account used to connect to the BIG-IP. You may omit this option by setting the environment variable F5_PASSWORD .aliases: pass, pwd | ||
server string / required | The BIG-IP host. You may omit this option by setting the environment variable F5_SERVER . | ||
server_port integer | Default: 443 | The BIG-IP server port. You may omit this option by setting the environment variable F5_SERVER_PORT . | |
timeout integer | Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands. If the timeout is exceeded before the operation is completed, the module will error. | ||
transport string |
| Configures the transport connection to use when connecting to the remote device. | |
user string / required | The username to connect to the BIG-IP with. This user must have administrative privileges on the device. You may omit this option by setting the environment variable F5_USER . | ||
validate_certs boolean |
| If no , SSL certificates are not validated. Use this only on personally controlled sites using self-signed certificates.You may omit this option by setting the environment variable F5_VALIDATE_CERTS . | |
state string |
| When present , ensures the resource exists.When absent , ensures the resource is removed. |
Note
- name: Add Signature Set to ASM Policy bigip_asm_policy_signature_set: name: IIS and Windows Signatures policy_name: FooPolicy provider: password: secret server: lb.mydomain.com user: admin delegate_to: localhost - name: Remove Signature Set to ASM Policy bigip_asm_policy_signature_set: name: IIS and Windows Signatures policy_name: FooPolicy state: absent provider: password: secret server: lb.mydomain.com user: admin delegate_to: localhost
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
alarm boolean | changed | Specifies whether the security policy logs the request data in the Statistics screen. Sample: True |
block boolean | changed | Determines how the system treats requests that match a signature included in the signature set. |
learn boolean | changed | Specifies if the policy learns all requests that match a signature that is included in the signature set. Sample: True |
name string | changed | The name of the Signature Set added/removed on an ASM policy. Sample: Cisco Signatures |
policy_name string | changed | The name of the ASM policy Sample: FooPolicy |
© 2012–2018 Michael DeHaan
© 2018–2021 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.11/collections/f5networks/f5_modules/bigip_asm_policy_signature_set_module.html