Class: PaloAlto::XML::Config::Devices::Entry::Deviceconfig::Setting::Management

Inherits:
PaloAlto::XML::ConfigClass show all
Defined in:
lib/palo_alto/config.rb

Defined Under Namespace

Classes: AdminLockout, AdminSession, Api, AuditTracking, BrowseActivityReportSetting, CommonCriteria, DisablePredefinedCorrelationObjs, DisablePredefinedReports, Initcfg, LogForwardingFromDevice, QuotaSettings, SecureConnClient, SecureConnServer, StoragePartition

Constant Summary

Constants included from DSL

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

Instance Attribute Summary

Attributes inherited from PaloAlto::XML::ConfigClass

#api_attributes, #parent_instance, #subclasses

Attributes inherited from Expression

#arguments, #expression

Instance Method Summary collapse

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



48539
48540
48541
# File 'lib/palo_alto/config.rb', line 48539

def _section
:management
end

#admin_lockoutObject



49835
49836
49837
# File 'lib/palo_alto/config.rb', line 49835

def admin_lockout
@subclasses['admin-lockout'] ||= AdminLockout.new(parent_instance: self, client: @client, create_children: @create_children)
end

#admin_sessionObject



49861
49862
49863
# File 'lib/palo_alto/config.rb', line 49861

def admin_session
@subclasses['admin-session'] ||= AdminSession.new(parent_instance: self, client: @client, create_children: @create_children)
end

#ancestor_objects_take_precedenceObject

Objects defined in ancestors will take higher precedence



50074
50075
50076
# File 'lib/palo_alto/config.rb', line 50074

def ancestor_objects_take_precedence
prop_get('ancestor-objects-take-precedence')
end

#ancestor_objects_take_precedence=(val) ⇒ Object

Objects defined in ancestors will take higher precedence



50078
50079
50080
# File 'lib/palo_alto/config.rb', line 50078

def ancestor_objects_take_precedence=(val)
prop_set('ancestor-objects-take-precedence', val)
end

#apiObject



49809
49810
49811
# File 'lib/palo_alto/config.rb', line 49809

def api
@subclasses['api'] ||= Api.new(parent_instance: self, client: @client, create_children: @create_children)
end

#appusage_lifetimeObject

application usage data storage time in days



49962
49963
49964
# File 'lib/palo_alto/config.rb', line 49962

def appusage_lifetime
prop_get('appusage-lifetime')
end

#appusage_lifetime=(val) ⇒ Object

application usage data storage time in days



49966
49967
49968
# File 'lib/palo_alto/config.rb', line 49966

def appusage_lifetime=(val)
prop_set('appusage-lifetime', val)
end

#appusage_policyObject

Enable/Disable Policy Application usage feature



50058
50059
50060
# File 'lib/palo_alto/config.rb', line 50058

def appusage_policy
prop_get('appusage-policy')
end

#appusage_policy=(val) ⇒ Object

Enable/Disable Policy Application usage feature



50062
50063
50064
# File 'lib/palo_alto/config.rb', line 50062

def appusage_policy=(val)
prop_set('appusage-policy', val)
end

#audit_trackingObject



49933
49934
49935
# File 'lib/palo_alto/config.rb', line 49933

def audit_tracking
@subclasses['audit-tracking'] ||= AuditTracking.new(parent_instance: self, client: @client, create_children: @create_children)
end

#auto_acquire_commit_lockObject

Automatically add a commit lock when modifying configuration



49994
49995
49996
# File 'lib/palo_alto/config.rb', line 49994

def auto_acquire_commit_lock
prop_get('auto-acquire-commit-lock')
end

#auto_acquire_commit_lock=(val) ⇒ Object

Automatically add a commit lock when modifying configuration



49998
49999
50000
# File 'lib/palo_alto/config.rb', line 49998

def auto_acquire_commit_lock=(val)
prop_set('auto-acquire-commit-lock', val)
end

#browse_activity_report_settingObject



49887
49888
49889
# File 'lib/palo_alto/config.rb', line 49887

def browse_activity_report_setting
@subclasses['browse-activity-report-setting'] ||= BrowseActivityReportSetting.new(parent_instance: self, client: @client, create_children: @create_children)
end

#canonicalize_block_allow_listObject

Enable/Disable canonicalization before matching url to block/allow list



50066
50067
50068
# File 'lib/palo_alto/config.rb', line 50066

def canonicalize_block_allow_list
prop_get('canonicalize-block-allow-list')
end

#canonicalize_block_allow_list=(val) ⇒ Object

Enable/Disable canonicalization before matching url to block/allow list



50070
50071
50072
# File 'lib/palo_alto/config.rb', line 50070

def canonicalize_block_allow_list=(val)
prop_set('canonicalize-block-allow-list', val)
end

#common_criteriaObject



49433
49434
49435
# File 'lib/palo_alto/config.rb', line 49433

def common_criteria
@subclasses['common-criteria'] ||= CommonCriteria.new(parent_instance: self, client: @client, create_children: @create_children)
end

#disable_predefined_correlation_objsObject



49407
49408
49409
# File 'lib/palo_alto/config.rb', line 49407

def disable_predefined_correlation_objs
maybe_register_subclass('disable-predefined-correlation-objs', DisablePredefinedCorrelationObjs.new(parent_instance: self, client: @client, create_children: @create_children))
end

#disable_predefined_reportsObject



49389
49390
49391
# File 'lib/palo_alto/config.rb', line 49389

def disable_predefined_reports
maybe_register_subclass('disable-predefined-reports', DisablePredefinedReports.new(parent_instance: self, client: @client, create_children: @create_children))
end

#enable_reporting_on_groupsObject

Enable reporting and filtering on groups



50082
50083
50084
# File 'lib/palo_alto/config.rb', line 50082

def enable_reporting_on_groups
prop_get('enable-reporting-on-groups')
end

#enable_reporting_on_groups=(val) ⇒ Object

Enable reporting and filtering on groups



50086
50087
50088
# File 'lib/palo_alto/config.rb', line 50086

def enable_reporting_on_groups=(val)
prop_set('enable-reporting-on-groups', val)
end

#get_only_new_logs_on_convert_to_primaryObject

When Panorama becomes the primary, get only new logs from device



50162
50163
50164
# File 'lib/palo_alto/config.rb', line 50162

def get_only_new_logs_on_convert_to_primary
prop_get('get-only-new-logs-on-convert-to-primary')
end

#get_only_new_logs_on_convert_to_primary=(val) ⇒ Object

When Panorama becomes the primary, get only new logs from device



50166
50167
50168
# File 'lib/palo_alto/config.rb', line 50166

def get_only_new_logs_on_convert_to_primary=(val)
prop_set('get-only-new-logs-on-convert-to-primary', val)
end

#has_multiple_values?Boolean

Returns:

  • (Boolean)


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

def has_multiple_values?; false; end

#hostname_type_in_syslogObject

Choose type to send in hostname field in syslog header



49970
49971
49972
# File 'lib/palo_alto/config.rb', line 49970

def hostname_type_in_syslog
prop_get('hostname-type-in-syslog')
end

#hostname_type_in_syslog=(val) ⇒ Object

Choose type to send in hostname field in syslog header



49974
49975
49976
# File 'lib/palo_alto/config.rb', line 49974

def hostname_type_in_syslog=(val)
prop_set('hostname-type-in-syslog', val)
end

#idle_timeoutObject

default administrative session idle timeout in minutes



49954
49955
49956
# File 'lib/palo_alto/config.rb', line 49954

def idle_timeout
prop_get('idle-timeout')
end

#idle_timeout=(val) ⇒ Object

default administrative session idle timeout in minutes



49958
49959
49960
# File 'lib/palo_alto/config.rb', line 49958

def idle_timeout=(val)
prop_set('idle-timeout', val)
end

#initcfgObject



48717
48718
48719
# File 'lib/palo_alto/config.rb', line 48717

def initcfg
@subclasses['initcfg'] ||= Initcfg.new(parent_instance: self, client: @client, create_children: @create_children)
end

#large_coreObject

enable core files to logdb



49938
49939
49940
# File 'lib/palo_alto/config.rb', line 49938

def large_core
prop_get('large-core')
end

#large_core=(val) ⇒ Object

enable core files to logdb



49942
49943
49944
# File 'lib/palo_alto/config.rb', line 49942

def large_core=(val)
prop_set('large-core', val)
end

#log_forwarding_from_deviceObject



49905
49906
49907
# File 'lib/palo_alto/config.rb', line 49905

def log_forwarding_from_device
@subclasses['log-forwarding-from-device'] ||= LogForwardingFromDevice.new(parent_instance: self, client: @client, create_children: @create_children)
end

#max_audit_versionsObject

maximum number of audited versions of config to preserve



50122
50123
50124
# File 'lib/palo_alto/config.rb', line 50122

def max_audit_versions
prop_get('max-audit-versions')
end

#max_audit_versions=(val) ⇒ Object

maximum number of audited versions of config to preserve



50126
50127
50128
# File 'lib/palo_alto/config.rb', line 50126

def max_audit_versions=(val)
prop_set('max-audit-versions', val)
end

#max_backup_versionsObject

maximum number of versions of config to back up per device



50114
50115
50116
# File 'lib/palo_alto/config.rb', line 50114

def max_backup_versions
prop_get('max-backup-versions')
end

#max_backup_versions=(val) ⇒ Object

maximum number of versions of config to back up per device



50118
50119
50120
# File 'lib/palo_alto/config.rb', line 50118

def max_backup_versions=(val)
prop_set('max-backup-versions', val)
end

#max_rows_in_csv_exportObject

maximum number of rows in exported csv files



50098
50099
50100
# File 'lib/palo_alto/config.rb', line 50098

def max_rows_in_csv_export
prop_get('max-rows-in-csv-export')
end

#max_rows_in_csv_export=(val) ⇒ Object

maximum number of rows in exported csv files



50102
50103
50104
# File 'lib/palo_alto/config.rb', line 50102

def max_rows_in_csv_export=(val)
prop_set('max-rows-in-csv-export', val)
end

#max_rows_in_pdf_reportObject

maximum number of rows in user activity report



50106
50107
50108
# File 'lib/palo_alto/config.rb', line 50106

def max_rows_in_pdf_report
prop_get('max-rows-in-pdf-report')
end

#max_rows_in_pdf_report=(val) ⇒ Object

maximum number of rows in user activity report



50110
50111
50112
# File 'lib/palo_alto/config.rb', line 50110

def max_rows_in_pdf_report=(val)
prop_set('max-rows-in-pdf-report', val)
end

#only_active_primary_logs_to_local_diskObject

Only active primary Panorama will receive logs from device and store in local disk



50154
50155
50156
# File 'lib/palo_alto/config.rb', line 50154

def only_active_primary_logs_to_local_disk
prop_get('only-active-primary-logs-to-local-disk')
end

#only_active_primary_logs_to_local_disk=(val) ⇒ Object

Only active primary Panorama will receive logs from device and store in local disk



50158
50159
50160
# File 'lib/palo_alto/config.rb', line 50158

def only_active_primary_logs_to_local_disk=(val)
prop_set('only-active-primary-logs-to-local-disk', val)
end

#panorama_ssl_send_retriesObject

Retry count for SSL sends to devices



50146
50147
50148
# File 'lib/palo_alto/config.rb', line 50146

def panorama_ssl_send_retries
prop_get('panorama-ssl-send-retries')
end

#panorama_ssl_send_retries=(val) ⇒ Object

Retry count for SSL sends to devices



50150
50151
50152
# File 'lib/palo_alto/config.rb', line 50150

def panorama_ssl_send_retries=(val)
prop_set('panorama-ssl-send-retries', val)
end

#panorama_tcp_receive_timeoutObject

Receive timeout for TCP connection to devices



50130
50131
50132
# File 'lib/palo_alto/config.rb', line 50130

def panorama_tcp_receive_timeout
prop_get('panorama-tcp-receive-timeout')
end

#panorama_tcp_receive_timeout=(val) ⇒ Object

Receive timeout for TCP connection to devices



50134
50135
50136
# File 'lib/palo_alto/config.rb', line 50134

def panorama_tcp_receive_timeout=(val)
prop_set('panorama-tcp-receive-timeout', val)
end

#panorama_tcp_send_timeoutObject

Send timeout for TCP connection to devices



50138
50139
50140
# File 'lib/palo_alto/config.rb', line 50138

def panorama_tcp_send_timeout
prop_get('panorama-tcp-send-timeout')
end

#panorama_tcp_send_timeout=(val) ⇒ Object

Send timeout for TCP connection to devices



50142
50143
50144
# File 'lib/palo_alto/config.rb', line 50142

def panorama_tcp_send_timeout=(val)
prop_set('panorama-tcp-send-timeout', val)
end

#quota_settingsObject



49371
49372
49373
# File 'lib/palo_alto/config.rb', line 49371

def quota_settings
@subclasses['quota-settings'] ||= QuotaSettings.new(parent_instance: self, client: @client, create_children: @create_children)
end

#report_expiration_periodObject

Expiration-period for reports (in days)



49986
49987
49988
# File 'lib/palo_alto/config.rb', line 49986

def report_expiration_period
prop_get('report-expiration-period')
end

#report_expiration_period=(val) ⇒ Object

Expiration-period for reports (in days)



49990
49991
49992
# File 'lib/palo_alto/config.rb', line 49990

def report_expiration_period=(val)
prop_set('report-expiration-period', val)
end

#report_run_timeObject

Time of day to run the scheduled reports hh:mm (e.g. 23:00)



49978
49979
49980
# File 'lib/palo_alto/config.rb', line 49978

def report_run_time
prop_get('report-run-time')
end

#report_run_time=(val) ⇒ Object

Time of day to run the scheduled reports hh:mm (e.g. 23:00)



49982
49983
49984
# File 'lib/palo_alto/config.rb', line 49982

def report_run_time=(val)
prop_set('report-run-time', val)
end

#rule_audit_comment_regexObject

Audit Comment Regular Expression



50050
50051
50052
# File 'lib/palo_alto/config.rb', line 50050

def rule_audit_comment_regex
prop_get('rule-audit-comment-regex')
end

#rule_audit_comment_regex=(val) ⇒ Object

Audit Comment Regular Expression



50054
50055
50056
# File 'lib/palo_alto/config.rb', line 50054

def rule_audit_comment_regex=(val)
prop_set('rule-audit-comment-regex', val)
end

#rule_fail_commitObject

Fail commit if policies have no tags/description



50034
50035
50036
# File 'lib/palo_alto/config.rb', line 50034

def rule_fail_commit
prop_get('rule-fail-commit')
end

#rule_fail_commit=(val) ⇒ Object

Fail commit if policies have no tags/description



50038
50039
50040
# File 'lib/palo_alto/config.rb', line 50038

def rule_fail_commit=(val)
prop_set('rule-fail-commit', val)
end

#rule_hit_countObject

Enable/Disable Policy rule hit-count feature



50002
50003
50004
# File 'lib/palo_alto/config.rb', line 50002

def rule_hit_count
prop_get('rule-hit-count')
end

#rule_hit_count=(val) ⇒ Object

Enable/Disable Policy rule hit-count feature



50006
50007
50008
# File 'lib/palo_alto/config.rb', line 50006

def rule_hit_count=(val)
prop_set('rule-hit-count', val)
end

#rule_require_audit_commentObject

Require audit comment on policies



50042
50043
50044
# File 'lib/palo_alto/config.rb', line 50042

def rule_require_audit_comment
prop_get('rule-require-audit-comment')
end

#rule_require_audit_comment=(val) ⇒ Object

Require audit comment on policies



50046
50047
50048
# File 'lib/palo_alto/config.rb', line 50046

def rule_require_audit_comment=(val)
prop_set('rule-require-audit-comment', val)
end

#rule_require_descriptionObject

Require description on policies



50026
50027
50028
# File 'lib/palo_alto/config.rb', line 50026

def rule_require_description
prop_get('rule-require-description')
end

#rule_require_description=(val) ⇒ Object

Require description on policies



50030
50031
50032
# File 'lib/palo_alto/config.rb', line 50030

def rule_require_description=(val)
prop_set('rule-require-description', val)
end

#rule_require_tagObject

Require Tag on policies



50018
50019
50020
# File 'lib/palo_alto/config.rb', line 50018

def rule_require_tag
prop_get('rule-require-tag')
end

#rule_require_tag=(val) ⇒ Object

Require Tag on policies



50022
50023
50024
# File 'lib/palo_alto/config.rb', line 50022

def rule_require_tag=(val)
prop_set('rule-require-tag', val)
end

#run_predefined_reports_on_panorama_dataObject

Run predefined reports on Panorama Data



49946
49947
49948
# File 'lib/palo_alto/config.rb', line 49946

def run_predefined_reports_on_panorama_data
prop_get('run-predefined-reports-on-panorama-data')
end

#run_predefined_reports_on_panorama_data=(val) ⇒ Object

Run predefined reports on Panorama Data



49950
49951
49952
# File 'lib/palo_alto/config.rb', line 49950

def run_predefined_reports_on_panorama_data=(val)
prop_set('run-predefined-reports-on-panorama-data', val)
end

#secure_conn_clientObject



49781
49782
49783
# File 'lib/palo_alto/config.rb', line 49781

def secure_conn_client
@subclasses['secure-conn-client'] ||= SecureConnClient.new(parent_instance: self, client: @client, create_children: @create_children)
end

#secure_conn_serverObject



49663
49664
49665
# File 'lib/palo_alto/config.rb', line 49663

def secure_conn_server
@subclasses['secure-conn-server'] ||= SecureConnServer.new(parent_instance: self, client: @client, create_children: @create_children)
end

#share_unused_objects_with_devicesObject

During device-group commit send address and service objects unused in rules to the devices



50090
50091
50092
# File 'lib/palo_alto/config.rb', line 50090

def share_unused_objects_with_devices
prop_get('share-unused-objects-with-devices')
end

#share_unused_objects_with_devices=(val) ⇒ Object

During device-group commit send address and service objects unused in rules to the devices



50094
50095
50096
# File 'lib/palo_alto/config.rb', line 50094

def share_unused_objects_with_devices=(val)
prop_set('share-unused-objects-with-devices', val)
end

#storage_partitionObject



49509
49510
49511
# File 'lib/palo_alto/config.rb', line 49509

def storage_partition
maybe_register_subclass('storage-partition', StoragePartition.new(parent_instance: self, client: @client, create_children: @create_children))
end

#support_utf8_for_log_outputObject

Support output log in UTF-8



50178
50179
50180
# File 'lib/palo_alto/config.rb', line 50178

def support_utf8_for_log_output
prop_get('support-utf8-for-log-output')
end

#support_utf8_for_log_output=(val) ⇒ Object

Support output log in UTF-8



50182
50183
50184
# File 'lib/palo_alto/config.rb', line 50182

def support_utf8_for_log_output=(val)
prop_set('support-utf8-for-log-output', val)
end

#threat_vault_accessObject

Turn threat-vault access on or off



50170
50171
50172
# File 'lib/palo_alto/config.rb', line 50170

def threat_vault_access
prop_get('threat-vault-access')
end

#threat_vault_access=(val) ⇒ Object

Turn threat-vault access on or off



50174
50175
50176
# File 'lib/palo_alto/config.rb', line 50174

def threat_vault_access=(val)
prop_set('threat-vault-access', val)
end

#wildcard_topdown_match_modeObject

Set/Unset wildcard topdown match mode, by default it is longest-prefix match mode



50010
50011
50012
# File 'lib/palo_alto/config.rb', line 50010

def wildcard_topdown_match_mode
prop_get('wildcard-topdown-match-mode')
end

#wildcard_topdown_match_mode=(val) ⇒ Object

Set/Unset wildcard topdown match mode, by default it is longest-prefix match mode



50014
50015
50016
# File 'lib/palo_alto/config.rb', line 50014

def wildcard_topdown_match_mode=(val)
prop_set('wildcard-topdown-match-mode', val)
end