Skip to content

Commit

Permalink
fix compliance policies
Browse files Browse the repository at this point in the history
  • Loading branch information
KelvinTegelaar committed Jan 16, 2025
1 parent a181e18 commit 2864974
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions src/pages/endpoint/MEM/list-compliance-policies/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,22 @@ const Page = () => {
const actions = [
{
label: "Create template based on policy",
type: "POST",
type: "GET",
url: "/api/AddIntuneTemplate",
data: {
TenantFilter: "Tenant",
ID: "id",
URLName: "deviceCompliancePolicies",
URLName: "URLName",
},
confirmText: "Are you sure you want to create a template based on this policy?",
icon: <Book />,
color: "info",
},
{
label: "Assign to All Users",
type: "POST",
type: "GET",
url: "/api/ExecAssignPolicy",
data: {
AssignTo: "allLicensedUsers",
TenantFilter: "Tenant",
ID: "id",
type: "deviceCompliancePolicies",
},
Expand All @@ -36,11 +34,10 @@ const Page = () => {
},
{
label: "Assign to All Devices",
type: "POST",
type: "GET",
url: "/api/ExecAssignPolicy",
data: {
AssignTo: "AllDevices",
TenantFilter: "Tenant",
ID: "id",
type: "deviceCompliancePolicies",
},
Expand All @@ -50,11 +47,10 @@ const Page = () => {
},
{
label: "Assign Globally (All Users / All Devices)",
type: "POST",
type: "GET",
url: "/api/ExecAssignPolicy",
data: {
AssignTo: "AllDevicesAndUsers",
TenantFilter: "Tenant",
ID: "id",
type: "deviceCompliancePolicies",
},
Expand All @@ -64,10 +60,9 @@ const Page = () => {
},
{
label: "Delete Policy",
type: "POST",
type: "GET",
url: "/api/RemovePolicy",
data: {
TenantFilter: "Tenant",
ID: "id",
URLName: "deviceCompliancePolicies",
},
Expand Down

0 comments on commit 2864974

Please sign in to comment.