Class: Ansible::Ruby::Modules::Panos_security_policy
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Panos_security_policy
- Defined in:
- lib/ansible/ruby/modules/generated/network/panos/panos_security_policy.rb
Overview
Security policies allow you to enforce rules and take action, and can be as general or specific as needed. The policy rules are compared against the incoming traffic in sequence, and because the first rule that matches the traffic is applied, the more specific rules must precede the more general ones.
Instance Method Summary collapse
-
#action ⇒ String?
Action to apply once rules maches.
-
#antivirus ⇒ String?
Name of the already defined antivirus profile.
-
#api_key ⇒ Object?
API key that can be used instead of I(username)/I(password) credentials.
-
#application ⇒ String?
List of applications.
-
#commit ⇒ Boolean?
Commit configuration if changed.
-
#data_filtering ⇒ Object?
Name of the already defined data_filtering profile.
-
#description ⇒ String?
Description for the security rule.
-
#destination ⇒ String?
List of destination addresses.
-
#devicegroup ⇒ String?
Device groups are used for the Panorama interaction with Firewall(s).
-
#file_blocking ⇒ Object?
Name of the already defined file_blocking profile.
-
#from_zone ⇒ String?
List of source zones.
-
#group_profile ⇒ Object?
Security profile group that is already defined in the system.
-
#hip_profiles ⇒ String?
If you are using GlobalProtect with host information profile (HIP) enabled, you can also base the policy on information collected by GlobalProtect.
-
#ip_address ⇒ String
IP address (or hostname) of PAN-OS device being configured.
-
#log_end ⇒ Boolean?
Whether to log at session end.
-
#log_start ⇒ FalseClass, ...
Whether to log at session start.
-
#password ⇒ String
Password credentials to use for auth unless I(api_key) is set.
-
#rule_name ⇒ String
Name of the security rule.
-
#rule_type ⇒ String?
Type of security rule (version 6.1 of PanOS and above).
-
#service ⇒ String?
List of services.
-
#source ⇒ String?
List of source addresses.
-
#source_user ⇒ String?
Use users to enforce policy for individual users or a group of users.
-
#spyware ⇒ String?
Name of the already defined spyware profile.
-
#tag ⇒ Object?
Administrative tags that can be added to the rule.
-
#to_zone ⇒ String?
List of destination zones.
-
#url_filtering ⇒ String?
Name of the already defined url_filtering profile.
-
#username ⇒ String?
Username credentials to use for auth unless I(api_key) is set.
-
#vulnerability ⇒ String?
Name of the already defined vulnerability profile.
-
#wildfire_analysis ⇒ String?
Name of the already defined wildfire_analysis profile.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#action ⇒ String?
Returns Action to apply once rules maches.
82 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_policy.rb', line 82 attribute :action |
#antivirus ⇒ String?
Returns Name of the already defined antivirus profile.
89 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_policy.rb', line 89 attribute :antivirus |
#api_key ⇒ Object?
Returns API key that can be used instead of I(username)/I(password) credentials.
24 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_policy.rb', line 24 attribute :api_key |
#application ⇒ String?
Returns List of applications.
66 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_policy.rb', line 66 attribute :application |
#commit ⇒ Boolean?
Returns Commit configuration if changed.
119 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_policy.rb', line 119 attribute :commit |
#data_filtering ⇒ Object?
Returns Name of the already defined data_filtering profile.
108 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_policy.rb', line 108 attribute :data_filtering |
#description ⇒ String?
Returns Description for the security rule.
35 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_policy.rb', line 35 attribute :description |
#destination ⇒ String?
Returns List of destination addresses.
62 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_policy.rb', line 62 attribute :destination |
#devicegroup ⇒ String?
Returns Device groups are used for the Panorama interaction with Firewall(s). The group must exists on Panorama. If device group is not define we assume that we are contacting Firewall.rn.
115 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_policy.rb', line 115 attribute :devicegroup |
#file_blocking ⇒ Object?
Returns Name of the already defined file_blocking profile.
105 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_policy.rb', line 105 attribute :file_blocking |
#from_zone ⇒ String?
Returns List of source zones.
42 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_policy.rb', line 42 attribute :from_zone |
#group_profile ⇒ Object?
Returns Security profile group that is already defined in the system. This property supersedes antivirus, vulnerability, spyware, url_filtering, file_blocking, data_filtering, and wildfire_analysis properties.rn.
86 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_policy.rb', line 86 attribute :group_profile |
#hip_profiles ⇒ String?
Returns If you are using GlobalProtect with host information profile (HIP) enabled, you can also base the policy on information collected by GlobalProtect. For example, the user access level can be determined HIP that notifies the firewall about the user’s local configuration.rn.
58 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_policy.rb', line 58 attribute :hip_profiles |
#ip_address ⇒ String
Returns IP address (or hostname) of PAN-OS device being configured.
12 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_policy.rb', line 12 attribute :ip_address |
#log_end ⇒ Boolean?
Returns Whether to log at session end.
78 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_policy.rb', line 78 attribute :log_end |
#log_start ⇒ FalseClass, ...
Returns Whether to log at session start.
74 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_policy.rb', line 74 attribute :log_start |
#password ⇒ String
Returns Password credentials to use for auth unless I(api_key) is set.
20 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_policy.rb', line 20 attribute :password |
#rule_name ⇒ String
Returns Name of the security rule.
27 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_policy.rb', line 27 attribute :rule_name |
#rule_type ⇒ String?
Returns Type of security rule (version 6.1 of PanOS and above).
31 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_policy.rb', line 31 attribute :rule_type |
#service ⇒ String?
Returns List of services.
70 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_policy.rb', line 70 attribute :service |
#source ⇒ String?
Returns List of source addresses.
50 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_policy.rb', line 50 attribute :source |
#source_user ⇒ String?
Returns Use users to enforce policy for individual users or a group of users.
54 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_policy.rb', line 54 attribute :source_user |
#spyware ⇒ String?
Returns Name of the already defined spyware profile.
97 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_policy.rb', line 97 attribute :spyware |
#tag ⇒ Object?
Returns Administrative tags that can be added to the rule. Note, tags must be already defined.
39 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_policy.rb', line 39 attribute :tag |
#to_zone ⇒ String?
Returns List of destination zones.
46 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_policy.rb', line 46 attribute :to_zone |
#url_filtering ⇒ String?
Returns Name of the already defined url_filtering profile.
101 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_policy.rb', line 101 attribute :url_filtering |
#username ⇒ String?
Returns Username credentials to use for auth unless I(api_key) is set.
16 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_policy.rb', line 16 attribute :username |
#vulnerability ⇒ String?
Returns Name of the already defined vulnerability profile.
93 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_policy.rb', line 93 attribute :vulnerability |
#wildfire_analysis ⇒ String?
Returns Name of the already defined wildfire_analysis profile.
111 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_policy.rb', line 111 attribute :wildfire_analysis |