{% 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 %} {% if object.allowed_path_regex %} {% endif %} {% if object.blocked_path_regex %} {% endif %}
Regexes
Allow path regex {{ object.allowed_path_regex }}
Blocked path regex {{ object.blocked_path_regex }}
{% 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 %}
{% if perms.santa.delete_enrollment %} {% endif %} {% for enrollment in enrollments %} {% with enrollment.secret as secret %} {% with enrollment.distributor as distributor %} {% if perms.santa.delete_enrollment %} {% endif %} {% endwith %} {% endwith %} {% endfor %}
Business unit Tags Created at Request count Version Distributor
{{ secret.meta_business_unit|default:"-" }} {% for tag in secret.tags.all %} {% inventory_tag tag %} {% empty %} - {% endfor %} {{ secret.created_at }} {{ secret.request_count }}{% if secret.quota %} / {{ secret.quota }}{% endif %} {{ enrollment.version }} {% if distributor %} {{ distributor.get_description_for_enrollment }} {% else %} - {% endif %} {% if not distributor and not secret.is_used_up %} plist configuration profile {% elif secret.is_used_up %} Enrollment used up. {% endif %} {% if enrollment.can_be_deleted %} {% url 'santa:delete_enrollment' object.pk enrollment.pk as url %} {% button 'DELETE' url "Delete enrollment" %} {% endif %}
{% endif %} {% endif %} {% if perms.santa.view_votinggroup %}

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 %}
{% for voting_group in voting_groups %} {% endfor %}
Realm group Can unflag target? Can mark malware? Can reset target? Target types Voting weight
{% if perms.realms.view_realmgroup %} {{ voting_group.realm_group }} {% else %} {{ voting_group.realm_group }} {% endif %} {{ voting_group.can_unflag_target|yesno }} {{ voting_group.can_mark_malware|yesno }} {{ voting_group.can_reset_target|yesno }} {{ voting_group.ballot_target_types|join:", "|default:"-" }} {{ voting_group.voting_weight }} {% if perms.santa.change_votinggroup %} {% url 'santa:update_voting_group' configuration.id voting_group.id as url %} {% button 'UPDATE' url "Edit voting group" %} {% endif %} {% if perms.santa.delete_votinggroup %} {% url 'santa:delete_voting_group' configuration.id voting_group.id as url %} {% button 'DELETE' url "Delete voting group" %} {% endif %}
{% endif %} {% endif %} {% if perms.santa.view_rule %}
{% if perms.santa.view_rule %} {% endif %}

Rule{{ rules_count|pluralize }} ({{ rules_count }})

{% if perms.santa.view_rule %}
{% endif %}
{% endif %} {% endblock %}