Class: Ansible::Ruby::Modules::Panos_security_rule

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/network/panos/panos_security_rule.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

Methods inherited from Base

#ansible_name, #to_h

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

#actionString?

Returns Action to apply once rules maches.

Returns:

  • (String, nil)

    Action to apply once rules maches.



88
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_rule.rb', line 88

attribute :action

#antivirusString?

Returns Name of the already defined antivirus profile.

Returns:

  • (String, nil)

    Name of the already defined antivirus profile.



95
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_rule.rb', line 95

attribute :antivirus

#api_keyString?

Returns API key that can be used instead of I(username)/I(password) credentials.

Returns:

  • (String, nil)

    API key that can be used instead of I(username)/I(password) credentials.



24
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_rule.rb', line 24

attribute :api_key

#applicationString?

Returns List of applications.

Returns:

  • (String, nil)

    List of applications.



72
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_rule.rb', line 72

attribute :application

#commit:yes, ...

Returns Commit configuration if changed.

Returns:

  • (:yes, :no, nil)

    Commit configuration if changed.



125
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_rule.rb', line 125

attribute :commit

#data_filteringObject?

Returns Name of the already defined data_filtering profile.

Returns:

  • (Object, nil)

    Name of the already defined data_filtering profile.



114
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_rule.rb', line 114

attribute :data_filtering

#descriptionString?

Returns Description for the security rule.

Returns:

  • (String, nil)

    Description for the security rule.



40
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_rule.rb', line 40

attribute :description

#destination_ipString?

Returns List of destination addresses.

Returns:

  • (String, nil)

    List of destination addresses.



68
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_rule.rb', line 68

attribute :destination_ip

#destination_zoneString?

Returns List of destination zones.

Returns:

  • (String, nil)

    List of destination zones.



52
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_rule.rb', line 52

attribute :destination_zone

#devicegroupString?

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.

Returns:

  • (String, nil)
    • 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



121
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_rule.rb', line 121

attribute :devicegroup

#file_blockingObject?

Returns Name of the already defined file_blocking profile.

Returns:

  • (Object, nil)

    Name of the already defined file_blocking profile.



111
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_rule.rb', line 111

attribute :file_blocking

#group_profileObject?

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.

Returns:

  • (Object, nil)
    • 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



92
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_rule.rb', line 92

attribute :group_profile

#hip_profilesString?

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.

Returns:

  • (String, nil)
    • 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



64
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_rule.rb', line 64

attribute :hip_profiles

#ip_addressString

Returns IP address (or hostname) of PAN-OS device being configured.

Returns:

  • (String)

    IP address (or hostname) of PAN-OS device being configured.



12
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_rule.rb', line 12

attribute :ip_address

#log_endBoolean?

Returns Whether to log at session end.

Returns:

  • (Boolean, nil)

    Whether to log at session end.



84
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_rule.rb', line 84

attribute :log_end

#log_startBoolean?

Returns Whether to log at session start.

Returns:

  • (Boolean, nil)

    Whether to log at session start.



80
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_rule.rb', line 80

attribute :log_start

#operationString?

Returns The action to be taken. Supported values are I(add)/I(update)/I(find)/I(delete).

Returns:

  • (String, nil)

    The action to be taken. Supported values are I(add)/I(update)/I(find)/I(delete).



28
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_rule.rb', line 28

attribute :operation

#passwordString

Returns Password credentials to use for auth unless I(api_key) is set.

Returns:

  • (String)

    Password credentials to use for auth unless I(api_key) is set.



20
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_rule.rb', line 20

attribute :password

#rule_nameString

Returns Name of the security rule.

Returns:

  • (String)

    Name of the security rule.



32
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_rule.rb', line 32

attribute :rule_name

#rule_typeString?

Returns Type of security rule (version 6.1 of PanOS and above).

Returns:

  • (String, nil)

    Type of security rule (version 6.1 of PanOS and above).



36
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_rule.rb', line 36

attribute :rule_type

#serviceString?

Returns List of services.

Returns:

  • (String, nil)

    List of services.



76
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_rule.rb', line 76

attribute :service

#source_ipString?

Returns List of source addresses.

Returns:

  • (String, nil)

    List of source addresses.



56
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_rule.rb', line 56

attribute :source_ip

#source_userString?

Returns Use users to enforce policy for individual users or a group of users.

Returns:

  • (String, nil)

    Use users to enforce policy for individual users or a group of users.



60
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_rule.rb', line 60

attribute :source_user

#source_zoneString?

Returns List of source zones.

Returns:

  • (String, nil)

    List of source zones.



48
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_rule.rb', line 48

attribute :source_zone

#spywareString?

Returns Name of the already defined spyware profile.

Returns:

  • (String, nil)

    Name of the already defined spyware profile.



103
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_rule.rb', line 103

attribute :spyware

#tag_nameArray<String>, ...

Returns Administrative tags that can be added to the rule. Note, tags must be already defined.

Returns:

  • (Array<String>, String, nil)

    Administrative tags that can be added to the rule. Note, tags must be already defined.



44
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_rule.rb', line 44

attribute :tag_name

#url_filteringString?

Returns Name of the already defined url_filtering profile.

Returns:

  • (String, nil)

    Name of the already defined url_filtering profile.



107
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_rule.rb', line 107

attribute :url_filtering

#usernameString?

Returns Username credentials to use for auth unless I(api_key) is set.

Returns:

  • (String, nil)

    Username credentials to use for auth unless I(api_key) is set.



16
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_rule.rb', line 16

attribute :username

#vulnerabilityString?

Returns Name of the already defined vulnerability profile.

Returns:

  • (String, nil)

    Name of the already defined vulnerability profile.



99
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_rule.rb', line 99

attribute :vulnerability

#wildfire_analysisString?

Returns Name of the already defined wildfire_analysis profile.

Returns:

  • (String, nil)

    Name of the already defined wildfire_analysis profile.



117
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_security_rule.rb', line 117

attribute :wildfire_analysis