From 39b4c8cf350b78e9f3309d8898b617ecfe5c120e Mon Sep 17 00:00:00 2001 From: John Duprey Date: Wed, 2 Aug 2023 23:54:34 -0400 Subject: [PATCH] Azure Cloud Shell - Add new section to Backend URLs - Add CippOffcanvas with preset commands - Cleanup card layout --- src/views/cipp/CIPPSettings.js | 151 +++++++++++++++++++++++++++------ 1 file changed, 124 insertions(+), 27 deletions(-) diff --git a/src/views/cipp/CIPPSettings.js b/src/views/cipp/CIPPSettings.js index bb428a0fac45..08126ca42e76 100644 --- a/src/views/cipp/CIPPSettings.js +++ b/src/views/cipp/CIPPSettings.js @@ -69,6 +69,7 @@ import { Form } from 'react-final-form' import useConfirmModal from 'src/hooks/useConfirmModal' import { setCurrentTenant } from 'src/store/features/app' import { + CippOffcanvas, CippCodeBlock, ModalService, StatusIcon, @@ -821,7 +822,7 @@ const ExcludedTenantsSettings = () => { } const SecuritySettings = () => { const [listBackend, listBackendResult] = useLazyGenericGetRequestQuery() - + const [visible, setVisible] = useState(false) return (
{listBackendResult.isUninitialized && listBackend({ path: 'api/ExecBackendURLs' })} @@ -833,16 +834,16 @@ const SecuritySettings = () => { Resource Group - +

The Resource group contains all the CIPP resources in your tenant, except the SAM Application - +

- Go to Resource Group + Go to Resource Group
@@ -853,16 +854,16 @@ const SecuritySettings = () => { Key Vault - +

The keyvault allows you to check token information. By default you do not have access. - +

- Go to Keyvault + Go to Keyvault
@@ -873,16 +874,16 @@ const SecuritySettings = () => { Static Web App (Role Management) - +

The Static Web App role management allows you to invite other users to the application. - +

- Go to Role Management + Go to Role Management
@@ -895,15 +896,13 @@ const SecuritySettings = () => { Function App (Deployment Center) - - The Function App Deployment Center allows you to run updates on the API - +

The Function App Deployment Center allows you to run updates on the API

- Go to Function App Deployment Center + Go to Function App Deployment Center
@@ -914,17 +913,17 @@ const SecuritySettings = () => { Function App (Configuration) - +

At the Function App Configuration you can check the status of the API access to your keyvault - - Go to Function App Configuration - - +

+ + Go to Function App Configuration +
@@ -934,20 +933,118 @@ const SecuritySettings = () => { Function App (Overview) - - At the function App Overview, you can stop and start the backend API - +

At the function App Overview, you can stop and start the backend API

- Go to Function App Overview + Go to Function App Overview
+ + + + + Cloud Shell + + +

Launch an Azure Cloud Shell Window

+ + window.open( + 'https://shell.azure.com/powershell', + '_blank', + 'toolbar=no,scrollbars=yes,resizable=yes,menubar=no,location=no,status=no', + ) + } + rel="noreferrer" + > + Cloud Shell + + setVisible(true)} className="mb-3"> + Command Reference + +
+
+
+
+ setVisible(false)} + title="Command Reference" + > +
Function App Config
+ +
Function App Deployment
+ +
Watch Function Logs
+ +
Static Web App Config
+ +
List CIPP Users
+ +
)