Class: PaloAlto::XML::Config::Predefined::Threats::Vulnerability::Entry
Defined Under Namespace
Classes: AffectedHost, TimeAttribute
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
810
811
812
|
# File 'lib/palo_alto/config.rb', line 810
def _section
:entry
end
|
#affected_host ⇒ Object
832
833
834
|
# File 'lib/palo_alto/config.rb', line 832
def affected_host
@subclasses['affected-host'] ||= AffectedHost.new(parent_instance: self, client: @client, create_children: @create_children)
end
|
#category ⇒ Object
867
868
869
|
# File 'lib/palo_alto/config.rb', line 867
def category
prop_get('category')
end
|
#category=(val) ⇒ Object
870
871
872
|
# File 'lib/palo_alto/config.rb', line 870
def category=(val)
prop_set('category', val)
end
|
#has_multiple_values? ⇒ Boolean
809
|
# File 'lib/palo_alto/config.rb', line 809
def has_multiple_values?; false; end
|
#name ⇒ Object
864
865
866
|
# File 'lib/palo_alto/config.rb', line 864
def name
prop_get('@name')
end
|
#severity ⇒ Object
873
874
875
|
# File 'lib/palo_alto/config.rb', line 873
def severity
prop_get('severity')
end
|
#severity=(val) ⇒ Object
876
877
878
|
# File 'lib/palo_alto/config.rb', line 876
def severity=(val)
prop_set('severity', val)
end
|
#time_attribute ⇒ Object
860
861
862
|
# File 'lib/palo_alto/config.rb', line 860
def time_attribute
@subclasses['time-attribute'] ||= TimeAttribute.new(parent_instance: self, client: @client, create_children: @create_children)
end
|