diff --git a/src/components/AgentTable.vue b/src/components/AgentTable.vue index 28a297d..305f7f1 100644 --- a/src/components/AgentTable.vue +++ b/src/components/AgentTable.vue @@ -228,7 +228,7 @@ - Edit Policies + Assign Automation Policy diff --git a/src/components/AlertsManager.vue b/src/components/AlertsManager.vue index 8df6ecb..27d2850 100644 --- a/src/components/AlertsManager.vue +++ b/src/components/AlertsManager.vue @@ -143,9 +143,21 @@ - {{ props.row.name }} + {{ props.row.name }} + Default + - Applied To Placeholder + + Show where template is applied ({{ props.row.applied_count }}) - - - - - - + + + + + + + - - Powershell - - - Python - - - Batch - + + Powershell + + + Python + + + Batch + - {{ props.node.name }} - {{ props.node.description }} - + {{ props.node.name }} + {{ props.node.description }} + - - - - - - - - Edit - - - - - - - Delete - - - - - - - {{ favoriteText(props.node.favorite) }} - - - - - - - - - View Code - - - - - - - Download Script - - - - - - Close - - - - - - - - - - - - - - Shell - - - - - @@ -258,9 +159,8 @@ @@ -268,23 +168,23 @@ Delete - + - {{ favoriteText(props.row.favorite) }} + {{ favoriteText(props.node.favorite) }} - + View Code - + @@ -298,34 +198,126 @@ - - - - - - Powershell - - - Python - - - Batch - - - {{ props.row.name }} - {{ props.row.category }} - - {{ truncateText(props.row.description) }} - {{ - props.row.description - }} - - - - + + + + + + + + + + + Shell + + + No Scripts Found + + + + + + + + + + + Edit + + + + + + + Delete + + + + + + + {{ favoriteText(props.row.favorite) }} + + + + + + + + + View Code + + + + + + + Download Script + + + + + + Close + + + + + + + + + Powershell + + + Python + + + Batch + + + {{ props.row.name }} + {{ props.row.category }} + + {{ truncateText(props.row.description) }} + {{ + props.row.description + }} + + + + + - - - - - + + + + + + + - - - - - - - - - Enable Policy - - - - - - - - Enforce Policy (Will override Agent tasks/checks) - - - - - - - - - - - - - - - Edit - - - - - - - Copy - - - - - - - Delete - - - - - - - - - Show Relations - - - - - - - {{ patchPolicyText(props.row) }} - - - - - - - {{ alertTemplateText(props.row) }} - - - - - - Close - - - - - - - - - - - - - {{ props.row.name }} - Default Server - Default Workstation - - {{ props.row.desc }} - - {{ `Show Relations (${props.row.agents_count}+)` }} - - - {{ patchPolicyText(props.row) }} - - - {{ alertTemplateText(props.row) }} - - - - Create a copy of this policy + row-key="id" + binary-state-sort + hide-pagination + virtual-scroll + no-data-label="No Policies" + > + + + + + Enable Policy - - - - - + + - - - - - - - - - - - - - - - + + + + Enforce Policy (Will override Agent tasks/checks) + + + + + + + + + + + + + + + Edit + + + + + + + Copy + + + + + + + Delete + + + + + + + + + Show Relations + + + + + + + {{ patchPolicyText(props.row) }} + + + + + + + {{ alertTemplateText(props.row) }} + + + + + + Close + + + + + + + + + + + + + {{ props.row.name }} + Default Server + Default Workstation + + {{ props.row.desc }} + + {{ `Show Relations (${props.row.agents_count})` }} + + + {{ patchPolicyText(props.row) }} + + + {{ alertTemplateText(props.row) }} + + + + Create a copy of this policy + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/components/automation/PolicyChecksTab.vue b/src/components/automation/PolicyChecksTab.vue index 2f005b2..4036ba8 100644 --- a/src/components/automation/PolicyChecksTab.vue +++ b/src/components/automation/PolicyChecksTab.vue @@ -317,7 +317,8 @@ export default { this.editCheckPK = check.id; this.showDialog = true; }, - hideDialog(component) { + hideDialog() { + this.getChecks(); this.showDialog = false; this.dialogComponent = null; this.editCheckPK = null; @@ -331,7 +332,7 @@ export default { }) .onOk(() => { this.$q.loading.show(); - this.axios + this.$axios .delete(`/checks/${check.id}/check/`) .then(r => { this.getChecks(); diff --git a/src/components/automation/modals/RelationsView.vue b/src/components/automation/modals/RelationsView.vue index 04a70b7..94beb9e 100644 --- a/src/components/automation/modals/RelationsView.vue +++ b/src/components/automation/modals/RelationsView.vue @@ -1,11 +1,13 @@ - - {{ policy.name }} Relations + + {{ policy.name }} Relations - - + + Close + + + + + + Assigned to {{ template.name }} + + + Close + + + + + + + + + + + + + + + + + {{ policy.name }} + + + + + + + + + + {{ client.name }} + + + + + + + + + + {{ site.name }} + + + + + + + + + + + + \ No newline at end of file diff --git a/src/components/modals/coresettings/EditCoreSettings.vue b/src/components/modals/coresettings/EditCoreSettings.vue index 9a3eefe..54bbeff 100644 --- a/src/components/modals/coresettings/EditCoreSettings.vue +++ b/src/components/modals/coresettings/EditCoreSettings.vue @@ -90,7 +90,7 @@ Reset Patch Policy on Agents: - + @@ -305,26 +305,20 @@ - - - - \ No newline at end of file