Class: PaloAlto::XML::Config::Shared::Threats::Spyware::Entry

Inherits:
ArrayConfigClass show all
Defined in:
lib/palo_alto/config.rb

Defined Under Namespace

Classes: Bugtraq, Cve, DefaultAction, Reference, Signature, Vendor

Constant Summary

Constants included from DSL

DSL::AXES, DSL::LOWERCASE_LETTERS, DSL::METHODS, DSL::OPERATORS, DSL::UPPERCASE_LETTERS

Instance Attribute Summary

Attributes inherited from ArrayConfigClass

#selector

Attributes inherited from PaloAlto::XML::ConfigClass

#api_attributes, #parent_instance, #subclasses

Attributes inherited from Expression

#arguments, #expression

Instance Method Summary collapse

Methods inherited from ArrayConfigClass

#move!, #rename!, #set_xpath_from_selector!

Methods inherited from PaloAlto::XML::ConfigClass

#array_class_setter, #clear!, #complete, #create!, #delete!, #delete_child, #edit!, #enforce_type, #enforce_types, #external_set, #get, #get_all, #get_class_from_child_str, #get_primary_key, #initialize, #inspect, #maybe_register_subclass, #multimove!, #prop_get, #prop_set, #selector_subclasses, #set!, #set_array_class_attributes, #set_values, #to_xml, #values, #xml_builder

Methods inherited from Expression

#current, #initialize, #to_xpath

Methods included from DSL

#anywhere, #axis, #binary_operator, #child, #contains_word, #css, #current, #descendant, #ends_with, #function, #is, #last, #lowercase, #method, #next_sibling, #one_of, #parenthesis, #position, #previous_sibling, #qname, #relative, #root, #text, #union, #uppercase, #where, #xpath_attr

Constructor Details

This class inherits a constructor from PaloAlto::XML::ConfigClass

Instance Method Details

#_sectionObject



11975
11976
11977
# File 'lib/palo_alto/config.rb', line 11975

def _section
:entry
end

#bugtraqObject



12105
12106
12107
# File 'lib/palo_alto/config.rb', line 12105

def bugtraq
maybe_register_subclass('bugtraq', Bugtraq.new(parent_instance: self, client: @client, create_children: @create_children))
end

#commentObject



12649
12650
12651
# File 'lib/palo_alto/config.rb', line 12649

def comment
prop_get('comment')
end

#comment=(val) ⇒ Object



12652
12653
12654
# File 'lib/palo_alto/config.rb', line 12652

def comment=(val)
prop_set('comment', val)
end

#cveObject



12087
12088
12089
# File 'lib/palo_alto/config.rb', line 12087

def cve
maybe_register_subclass('cve', Cve.new(parent_instance: self, client: @client, create_children: @create_children))
end

#default_actionObject



12069
12070
12071
# File 'lib/palo_alto/config.rb', line 12069

def default_action
maybe_register_subclass('default-action', DefaultAction.new(parent_instance: self, client: @client, create_children: @create_children))
end

#directionObject



12661
12662
12663
# File 'lib/palo_alto/config.rb', line 12661

def direction
prop_get('direction')
end

#direction=(val) ⇒ Object



12664
12665
12666
# File 'lib/palo_alto/config.rb', line 12664

def direction=(val)
prop_set('direction', val)
end

#disable_overrideObject

disable object override in child device groups



12634
12635
12636
# File 'lib/palo_alto/config.rb', line 12634

def disable_override
prop_get('disable-override')
end

#disable_override=(val) ⇒ Object

disable object override in child device groups



12638
12639
12640
# File 'lib/palo_alto/config.rb', line 12638

def disable_override=(val)
prop_set('disable-override', val)
end

#has_multiple_values?Boolean

Returns:

  • (Boolean)


11974
# File 'lib/palo_alto/config.rb', line 11974

def has_multiple_values?; false; end

#nameObject

threat id range <15000-18000> and <6900001-7000000>



12630
12631
12632
# File 'lib/palo_alto/config.rb', line 12630

def name
prop_get('@name')
end

#referenceObject



12141
12142
12143
# File 'lib/palo_alto/config.rb', line 12141

def reference
maybe_register_subclass('reference', Reference.new(parent_instance: self, client: @client, create_children: @create_children))
end

#severityObject



12655
12656
12657
# File 'lib/palo_alto/config.rb', line 12655

def severity
prop_get('severity')
end

#severity=(val) ⇒ Object



12658
12659
12660
# File 'lib/palo_alto/config.rb', line 12658

def severity=(val)
prop_set('severity', val)
end

#signatureObject



12625
12626
12627
# File 'lib/palo_alto/config.rb', line 12625

def signature
maybe_register_subclass('signature', Signature.new(parent_instance: self, client: @client, create_children: @create_children))
end

#threatnameObject

alphanumeric string [ 0-9a-zA-Z._-]



12642
12643
12644
# File 'lib/palo_alto/config.rb', line 12642

def threatname
prop_get('threatname')
end

#threatname=(val) ⇒ Object

alphanumeric string [ 0-9a-zA-Z._-]



12646
12647
12648
# File 'lib/palo_alto/config.rb', line 12646

def threatname=(val)
prop_set('threatname', val)
end

#vendorObject



12123
12124
12125
# File 'lib/palo_alto/config.rb', line 12123

def vendor
maybe_register_subclass('vendor', Vendor.new(parent_instance: self, client: @client, create_children: @create_children))
end