{% extends 'base.html' %}
{% load inventory_extras %}
{% load ui_extras %}
{% block content %}
{{ object.name }}
{% if show_events_link %}
{% url 'santa:configuration_events' object.pk as url %}
{% button 'EVENTS' url %}
{% endif %}
{% if perms.santa.add_rule %}
{% endif %}
{% for link, anchor_text in store_links %}
{% button 'LINK' link anchor_text %}
{% endfor %}
Santa configuration
{% if perms.santa.change_configuration %}
{% url 'santa:update_configuration' object.pk as url %}
{% button 'UPDATE' url "Edit Configuration" %}
{% endif %}
{% if perms.santa.delete_configuration and object.can_be_deleted %}
{% url 'santa:delete_configuration' object.pk as url %}
{% button 'DELETE' url "Delete Configuration" %}
{% endif %}
| Attribute |
Value |
| Name |
{{ object.name }} |
| Mode |
{% if object.is_monitor_mode %}
{% else %}
{% endif %}
{{ object.get_client_mode_display }}
|
| Client certificate auth |
{{ object.client_certificate_auth|yesno }} |
| Batch size |
{{ object.batch_size }} |
| Full sync interval |
{{ object.full_sync_interval }}s |
| Enable bundles |
{{ object.enable_bundles|yesno }} |
| Enable transitive rules |
{{ object.enable_transitive_rules|yesno }} |
{% if object.allowed_path_regex or object.blocked_path_regex %}
Regexes
|
{% if object.allowed_path_regex %}
| Allow path regex |
{{ object.allowed_path_regex }}
|
{% endif %}
{% if object.blocked_path_regex %}
| Blocked path regex |
{{ object.blocked_path_regex }}
|
{% endif %}
{% endif %}
USB
|
| Block USB mass storage |
{{ object.block_usb_mount|yesno }} |
| Remount USB mode |
{% if object.remount_usb_mode %}
{{ object.remount_usb_mode|join:" " }}
{% else %}
-
{% endif %}
|
Voting
|
| Realm |
{% if object.voting_realm %}
{% if perms.realms.view_realm %}
{{ object.voting_realm }}
{% else %}
{{ object.voting_realm }}
{% endif %}
{% else %}
-
{% endif %}
|
| Default voting weight |
{{ object.default_voting_weight }}
|
| Default ballot target types |
{{ object.default_ballot_target_types|join:", "|default:"-" }}
|
| Thresholds |
Globally allowlisted: {{ object.globally_allowlisted_threshold }}
Partially allowlisted: {{ object.partially_allowlisted_threshold}}
Banned: {{ object.banned_threshold }}
|
Zentral options
|
| Allow Unknown shard |
{{ object.allow_unknown_shard }}% |
| Enable all event upload shard |
{{ object.enable_all_event_upload_shard }}% |
| Sync incident severity |
{{ object.get_sync_incident_severity|default:"Configuration error" }} |
{% created_updated_at object %}
{% if perms.santa.view_enrollment %}
Enrollment{{ enrollments_count|pluralize }} ({{ enrollments_count }})
{% if perms.santa.add_enrollment %}
{% url 'santa:create_enrollment' object.id as url %}
{% button 'CREATE' url "Create new Enrollment" %}
{% endif %}
{% if enrollments %}
Voting group{{ voting_groups|length|pluralize }} ({{ voting_groups|length }})
{% if perms.santa.add_votinggroup %}
{% url 'santa:create_voting_group' object.id as url %}
{% button 'CREATE' url "Create voting group" %}
{% endif %}
{% if voting_groups %}
{% endif %}
{% endblock %}