Debian Codegraph @

ansible_collections/cisco/meraki/plugins/modules/organizations_appliance_security_intrusion.py

raw symbols SCIP
1 #!/usr/bin/python
2 # -*- coding: utf-8 -*-
3
4 # Copyright (c) 2021, Cisco Systems
5 # GNU General Public License v3.0+ (see LICENSE or https://www.gnu.org/licenses/gpl-3.0.txt)
6
7 DOCUMENTATION = r"""
8 module: organizations_appliance_security_intrusion
9 short_description: Resource module for organizations _appliance _security _intrusion
10 description:
11 - Manage operation update of the resource organizations _appliance _security _intrusion.
12 - Sets supported intrusion settings for an organization.
13 version_added: '1.0.0'
14 extends_documentation_fragment:
15 - cisco.meraki.module
16 author: Francisco Munoz (@fmunoz)
17 options:
18 allowedRules:
19 description: Sets a list of specific SNORT signatures to allow.
20 elements: dict
21 suboptions:
22 message:
23 description: Message is optional and is ignored on a PUT call. It is allowed
24 in order for PUT to be compatible with GET.
25 type: str
26 ruleId:
27 description: A rule identifier of the format meraki intrusion/snort/GID/<gid>/SID/<sid>.
28 Gid and sid can be obtained from either https //www.snort.org/rule-docs
29 or as ruleIds from the security events in /organization/orgId/securityEvents.
30 type: str
31 type: list
32 organizationId:
33 description: OrganizationId path parameter. Organization ID.
34 type: str
35 requirements:
36 - meraki >= 2.4.9
37 - python >= 3.5
38 seealso:
39 - name: Cisco Meraki documentation for appliance updateOrganizationApplianceSecurityIntrusion
40 description: Complete reference of the updateOrganizationApplianceSecurityIntrusion
41 API.
42 link: https://developer.cisco.com/meraki/api-v1/#!update-organization-appliance-security-intrusion
43 notes:
44 - SDK Method used are
45 appliance.Appliance.update_organization_appliance_security_intrusion,
46 - Paths used are
47 put /organizations/{organizationId}/appliance/security/intrusion,
48 """
49
50 EXAMPLES = r"""
51 - name: Update all
52 cisco.meraki.organizations_appliance_security_intrusion:
53 meraki_api_key: "{{ meraki_api_key }}"
54 meraki_base_url: "{{ meraki_base_url }}"
55 meraki_single_request_timeout: "{{ meraki_single_request_timeout }}"
56 meraki_certificate_path: "{{ meraki_certificate_path }}"
57 meraki_requests_proxy: "{{ meraki_requests_proxy }}"
58 meraki_wait_on_rate_limit: "{{ meraki_wait_on_rate_limit }}"
59 meraki_nginx_429_retry_wait_time: "{{ meraki_nginx_429_retry_wait_time }}"
60 meraki_action_batch_retry_wait_time: "{{ meraki_action_batch_retry_wait_time }}"
61 meraki_retry_4xx_error: "{{ meraki_retry_4xx_error }}"
62 meraki_retry_4xx_error_wait_time: "{{ meraki_retry_4xx_error_wait_time }}"
63 meraki_maximum_retries: "{{ meraki_maximum_retries }}"
64 meraki_output_log: "{{ meraki_output_log }}"
65 meraki_log_file_prefix: "{{ meraki_log_file_prefix }}"
66 meraki_log_path: "{{ meraki_log_path }}"
67 meraki_print_console: "{{ meraki_print_console }}"
68 meraki_suppress_logging: "{{ meraki_suppress_logging }}"
69 meraki_simulate: "{{ meraki_simulate }}"
70 meraki_be_geo_id: "{{ meraki_be_geo_id }}"
71 meraki_caller: "{{ meraki_caller }}"
72 meraki_use_iterator_for_get_pages: "{{ meraki_use_iterator_for_get_pages }}"
73 meraki_inherit_logging_config: "{{ meraki_inherit_logging_config }}"
74 state: present
75 allowedRules:
76 - message: SQL sa login failed
77 ruleId: meraki:intrusion/snort/GID/01/SID/688
78 - message: MALWARE-OTHER Trackware myway speedbar runtime detection - switch
79 engines
80 ruleId: meraki:intrusion/snort/GID/01/SID/5805
81 organizationId: string
82 """
83 RETURN = r"""
84 meraki_response:
85 description: A dictionary or list with the response returned by the Cisco Meraki Python SDK
86 returned: always
87 type: dict
88 sample: >
89 {}
90 """