Class: PaloAlto::XML::Config::Shared::Threats::Vulnerability::Entry
Defined Under Namespace
Classes: AffectedHost, 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
#selector
#api_attributes, #parent_instance, #subclasses
Attributes inherited from Expression
#arguments, #expression
Instance Method Summary
collapse
#move!, #rename!, #set_xpath_from_selector!
#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
Instance Method Details
#_section ⇒ Object
11239
11240
11241
|
# File 'lib/palo_alto/config.rb', line 11239
def _section
:entry
end
|
#affected_host ⇒ Object
11261
11262
11263
|
# File 'lib/palo_alto/config.rb', line 11261
def affected_host
@subclasses['affected-host'] ||= AffectedHost.new(parent_instance: self, client: @client, create_children: @create_children)
end
|
#bugtraq ⇒ Object
11391
11392
11393
|
# File 'lib/palo_alto/config.rb', line 11391
def bugtraq
maybe_register_subclass('bugtraq', Bugtraq.new(parent_instance: self, client: @client, create_children: @create_children))
end
|
11935
11936
11937
|
# File 'lib/palo_alto/config.rb', line 11935
def
prop_get('comment')
end
|
11938
11939
11940
|
# File 'lib/palo_alto/config.rb', line 11938
def (val)
prop_set('comment', val)
end
|
#cve ⇒ Object
11373
11374
11375
|
# File 'lib/palo_alto/config.rb', line 11373
def cve
maybe_register_subclass('cve', Cve.new(parent_instance: self, client: @client, create_children: @create_children))
end
|
#default_action ⇒ Object
11355
11356
11357
|
# File 'lib/palo_alto/config.rb', line 11355
def default_action
maybe_register_subclass('default-action', DefaultAction.new(parent_instance: self, client: @client, create_children: @create_children))
end
|
#direction ⇒ Object
11947
11948
11949
|
# File 'lib/palo_alto/config.rb', line 11947
def direction
prop_get('direction')
end
|
#direction=(val) ⇒ Object
11950
11951
11952
|
# File 'lib/palo_alto/config.rb', line 11950
def direction=(val)
prop_set('direction', val)
end
|
#disable_override ⇒ Object
disable object override in child device groups
11920
11921
11922
|
# File 'lib/palo_alto/config.rb', line 11920
def disable_override
prop_get('disable-override')
end
|
#disable_override=(val) ⇒ Object
disable object override in child device groups
11924
11925
11926
|
# File 'lib/palo_alto/config.rb', line 11924
def disable_override=(val)
prop_set('disable-override', val)
end
|
#has_multiple_values? ⇒ Boolean
11238
|
# File 'lib/palo_alto/config.rb', line 11238
def has_multiple_values?; false; end
|
#name ⇒ Object
threat id range <41000-45000> and <6800001-6900000>
11916
11917
11918
|
# File 'lib/palo_alto/config.rb', line 11916
def name
prop_get('@name')
end
|
#reference ⇒ Object
11427
11428
11429
|
# File 'lib/palo_alto/config.rb', line 11427
def reference
maybe_register_subclass('reference', Reference.new(parent_instance: self, client: @client, create_children: @create_children))
end
|
#severity ⇒ Object
11941
11942
11943
|
# File 'lib/palo_alto/config.rb', line 11941
def severity
prop_get('severity')
end
|
#severity=(val) ⇒ Object
11944
11945
11946
|
# File 'lib/palo_alto/config.rb', line 11944
def severity=(val)
prop_set('severity', val)
end
|
#signature ⇒ Object
11911
11912
11913
|
# File 'lib/palo_alto/config.rb', line 11911
def signature
maybe_register_subclass('signature', Signature.new(parent_instance: self, client: @client, create_children: @create_children))
end
|
#threatname ⇒ Object
alphanumeric string [ 0-9a-zA-Z._-]
11928
11929
11930
|
# File 'lib/palo_alto/config.rb', line 11928
def threatname
prop_get('threatname')
end
|
#threatname=(val) ⇒ Object
alphanumeric string [ 0-9a-zA-Z._-]
11932
11933
11934
|
# File 'lib/palo_alto/config.rb', line 11932
def threatname=(val)
prop_set('threatname', val)
end
|
#vendor ⇒ Object
11409
11410
11411
|
# File 'lib/palo_alto/config.rb', line 11409
def vendor
maybe_register_subclass('vendor', Vendor.new(parent_instance: self, client: @client, create_children: @create_children))
end
|