Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] dev from KelvinTegelaar:dev #48

Merged
merged 24 commits into from
Jun 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
254d3c8
Merge pull request #83 from KelvinTegelaar/dev
BNWEIN Mar 12, 2024
8b9e13e
Merge pull request #84 from KelvinTegelaar/dev
BNWEIN Mar 18, 2024
b9a8077
Merge pull request #85 from KelvinTegelaar/dev
BNWEIN Apr 2, 2024
0300903
Merge pull request #87 from KelvinTegelaar/dev
BNWEIN Apr 4, 2024
0f2677d
Merge pull request #88 from KelvinTegelaar/dev
BNWEIN Apr 12, 2024
bf00526
Merge pull request #89 from KelvinTegelaar/dev
BNWEIN Apr 18, 2024
07e8da9
Merge pull request #90 from KelvinTegelaar/dev
BNWEIN Apr 29, 2024
4536c2e
Merge pull request #92 from KelvinTegelaar/dev
BNWEIN Jun 7, 2024
318e8ea
add all missing options and fix wrong editor value
Jun 13, 2024
f8711d8
Added sharingDomainRestrictionMode Standard
OfficialEsco Jun 13, 2024
1a70f84
Added intuneBrandingProfile standard
OfficialEsco Jun 14, 2024
0c8f833
Merge pull request #97 from KelvinTegelaar/dev
BNWEIN Jun 17, 2024
6323ec4
Update Users.jsx
BNWEIN Jun 19, 2024
e8221aa
Added Quarantine Filters
OfficialEsco Jun 19, 2024
7dc57d1
Renamed Function
BNWEIN Jun 19, 2024
03bf602
Update EditGroup.jsx
BNWEIN Jun 19, 2024
5d00434
JIT tweaks
JohnDuprey Jun 20, 2024
060f555
Update DeployJITAdmin.jsx
JohnDuprey Jun 20, 2024
0d25d54
Merge pull request #2569 from JohnDuprey/dev
JohnDuprey Jun 20, 2024
75e4bc3
Merge pull request #2567 from Ren-Roros-Digital/quarantinefilters
KelvinTegelaar Jun 20, 2024
8e7c3d3
Merge pull request #2565 from BNWEIN/dev
KelvinTegelaar Jun 20, 2024
c245827
Merge pull request #2556 from Ren-Roros-Digital/intunebranding
KelvinTegelaar Jun 20, 2024
c410a39
Merge pull request #2553 from Ren-Roros-Digital/sharingdomainmode
KelvinTegelaar Jun 20, 2024
78ecfdf
Merge pull request #2551 from kris6673/caldefault-fix
KelvinTegelaar Jun 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
122 changes: 117 additions & 5 deletions src/data/standards.json
Original file line number Diff line number Diff line change
Expand Up @@ -855,22 +855,38 @@
"label": "Publishing Editor - The user can create, read, edit, and delete all items in the folder, and create subfolders.",
"value": "PublishingEditor"
},
{
"label": "Editor - The user can create items in the folder. The contents of the folder do not appear.",
"value": "Editor"
},
{
"label": "Publishing Author. The user can read, create all items/subfolders. Can modify and delete only items they create.",
"value": "PublishingAuthor"
},
{
"label": "Author - The user can create and read items, and modify and delete items that they create.",
"value": "Author"
},
{
"label": "Non Editing Author - The user has full read access and create items. Can can delete only own items.",
"value": "NonEditingAuthor"
},
{
"label": "Reviewer - The user can read all items in the folder.",
"value": "Reviewer"
},
{
"label": "Editor - The user can create items in the folder. The contents of the folder do not appear.",
"label": "Contributor - The user can create items and folders.",
"value": "Contributor"
},
{
"label": "Limited Details - The user can view free/busy time within the calendar and the subject and location of appointments.",
"value": "LimitedDetails"
},
{
"label": "Availability Only - Indicates that the user can view only free/busy time within the calendar.",
"value": "AvailabilityOnly"
},
{
"label": "Limited Details - The user can view free/busy time within the calendar and the subject and location of appointments.",
"value": "LimitedDetails"
},
{
"label": "None - The user has no permissions on the folder.",
"value": "none"
Expand Down Expand Up @@ -1366,6 +1382,67 @@
"impact": "Low Impact",
"impactColour": "info"
},
{
"name": "standards.intuneBrandingProfile",
"cat": "Intune Standards",
"tag": ["lowimpact"],
"helpText": "Sets the branding profile for the Intune Company Portal app. This is a tenant wide setting and overrules any settings set on the app level.",
"addedComponent": [
{
"type": "input",
"name": "standards.intuneBrandingProfile.displayName",
"label": "Organization name"
},
{
"type": "boolean",
"name": "standards.intuneBrandingProfile.showLogo",
"label": "Show logo"
},
{
"type": "boolean",
"name": "standards.intuneBrandingProfile.showDisplayNameNextToLogo",
"label": "Show organization name next to logo"
},
{
"type": "input",
"name": "standards.intuneBrandingProfile.contactITName",
"label": "Contact IT name"
},
{
"type": "input",
"name": "standards.intuneBrandingProfile.contactITPhoneNumber",
"label": "Contact IT phone number"
},
{
"type": "input",
"name": "standards.intuneBrandingProfile.contactITEmailAddress",
"label": "Contact IT email address"
},
{
"type": "input",
"name": "standards.intuneBrandingProfile.contactITNotes",
"label": "Contact IT notes"
},
{
"type": "input",
"name": "standards.intuneBrandingProfile.onlineSupportSiteName",
"label": "Online support site name"
},
{
"type": "input",
"name": "standards.intuneBrandingProfile.onlineSupportSiteUrl",
"label": "Online support site URL"
},
{
"type": "input",
"name": "standards.intuneBrandingProfile.privacyUrl",
"label": "Privacy statement URL"
}
],
"label": "Set Intune Company Portal branding profile",
"impact": "Low Impact",
"impactColour": "info"
},
{
"name": "standards.intuneDeviceReg",
"cat": "Intune Standards",
Expand Down Expand Up @@ -1516,6 +1593,41 @@
"impact": "High Impact",
"impactColour": "danger"
},
{
"name": "standards.sharingDomainRestriction",
"cat": "SharePoint Standards",
"tag": ["highimpact", "CIS"],
"helpText": "Restricts sharing to only users with the specified domain. This is useful for organizations that only want to share with their own domain.",
"addedComponent": [
{
"type": "Select",
"name": "standards.sharingDomainRestriction.Mode",
"label": "Limit external sharing by domains",
"values": [
{
"label": "Off",
"value": "none"
},
{
"label": "Restirct sharing to specific domains",
"value": "allowList"
},
{
"label": "Block sharing to specific domains",
"value": "blockList"
}
]
},
{
"type": "input",
"name": "standards.sharingDomainRestriction.Domains",
"label": "Domains to allow/block, comma separated"
}
],
"label": "Restrict sharing to a specific domain",
"impact": "High Impact",
"impactColour": "danger"
},
{
"name": "standards.TenantDefaultTimezone",
"cat": "SharePoint Standards",
Expand Down
11 changes: 11 additions & 0 deletions src/views/email-exchange/administration/QuarantineList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,17 @@ const QuarantineList = () => {
capabilities={{ allTenants: false, helpContext: 'https://google.com' }}
title="Quarantine Management"
datatable={{
filterlist: [
{ filterName : 'Status: Not Released', filter: '"ReleaseStatus":"NotReleased"' },
{ filterName : 'Status: Released', filter: '"ReleaseStatus":"Released"' },
{ filterName : 'Status: Denied', filter: '"ReleaseStatus":"Denied"' },
{ filterName : 'Reason: High Confidence Phishing', filter: '"QuarantineTypes":"HighConfPhish"' },
{ filterName : 'Reason: Phishing', filter: '"QuarantineTypes":"Phish"' },
{ filterName : 'Reason: Spam', filter: '"QuarantineTypes":"Spam"' },
{ filterName : 'Reason: Malware', filter: '"QuarantineTypes":"Malware"' },
{ filterName : 'Reason: FileTypeBlock', filter: '"QuarantineTypes":"FileTypeBlock"' },
{ filterName : 'Reason: Bulk', filter: '"QuarantineTypes":"Bulk"' },
],
keyField: 'id',
reportName: `${tenant?.defaultDomainName}-Mailbox-Quarantine`,
path: '/api/ListMailQuarantine',
Expand Down
36 changes: 35 additions & 1 deletion src/views/identity/administration/DeployJITAdmin.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useState } from 'react'
import { CButton, CCallout, CCol, CForm, CRow, CSpinner, CTooltip } from '@coreui/react'
import { useSelector } from 'react-redux'
import { Field, Form } from 'react-final-form'
import { Field, Form, FormSpy } from 'react-final-form'
import {
Condition,
RFFCFormInput,
Expand Down Expand Up @@ -45,6 +45,7 @@ const DeployJITAdmin = () => {
useraction: values.useraction,
AdminRoles: values.AdminRoles?.map((role) => role.value),
StartDate: startTime,
UseTAP: values.useTap,
EndDate: endTime,
ExpireAction: values.expireAction.value,
PostExecution: {
Expand Down Expand Up @@ -137,6 +138,23 @@ const DeployJITAdmin = () => {
name="UserId"
isLoading={usersIsFetching}
/>
<FormSpy subscription={{ values: true }}>
{({ values }) => {
return users.map((user, key) => {
if (
user.id === values?.UserId?.value &&
user.accountEnabled === false
) {
return (
<CCallout color="warning" key={key} className="mt-3">
This user is currently disabled, they will automatically be
enabled when JIT is executed.
</CCallout>
)
}
})
}}
</FormSpy>
</CCol>
</CRow>
</Condition>
Expand Down Expand Up @@ -195,6 +213,15 @@ const DeployJITAdmin = () => {
/>
</CCol>
</CRow>
<CRow className="mb-3">
<CCol>
<CTooltip content="Generate a Temporary Access Password for the JIT Admin account if enabled for the tenant. This applies to both New and Existing users. The start time coincides with the scheduled time.">
<div>
<RFFCFormSwitch name="useTap" label="Generate TAP" />
</div>
</CTooltip>
</CCol>
</CRow>
<CRow className="mb-3">
<CCol>
<label>Send results to</label>
Expand Down Expand Up @@ -258,6 +285,13 @@ const DeployJITAdmin = () => {
cell: cellGenericFormatter(),
exportSelector: 'userPrincipalName',
},
{
name: 'Account Enabled',
selector: (row) => row['accountEnabled'],
sortable: true,
cell: cellGenericFormatter(),
exportSelector: 'accountEnabled',
},
{
name: 'JIT Enabled',
selector: (row) => row['jitAdminEnabled'],
Expand Down
2 changes: 1 addition & 1 deletion src/views/identity/administration/EditGroup.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ const EditGroup = () => {
allowExternal: values.allowExternal,
sendCopies: values.sendCopies,
mail: group[0].mail,
groupName: group[0].DisplayName,
groupName: group[0].displayName,
}
//window.alert(JSON.stringify(shippedValues))
genericPostRequest({ path: '/api/EditGroup', values: shippedValues }).then((res) => {
Expand Down
2 changes: 1 addition & 1 deletion src/views/identity/administration/Users.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ const Offcanvas = (row, rowIndex, formatExtraData) => {
label: 'Revoke all user sessions',
color: 'danger',
modal: true,
modalUrl: `/api/ExecRevokeSessions?TenantFilter=${tenant.defaultDomainName}&ID=${row.id}`,
modalUrl: `/api/ExecRevokeSessions?TenantFilter=${tenant.defaultDomainName}&ID=${row.id}&Username=${row.userPrincipalName}`,
modalMessage: 'Are you sure you want to revoke this users sessions?',
},
{
Expand Down
4 changes: 2 additions & 2 deletions src/views/teams-share/onedrive/OneDriveList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const OneDriveList = () => {
TenantFilter: tenant.defaultDomainName,
RemovePermission: false,
},
modalUrl: `/api/ExecSharePointOwner`,
modalUrl: `/api/ExecSharePointPerms`,
modalDropdown: {
url: `/api/listUsers?TenantFilter=${tenant.defaultDomainName}`,
labelField: 'displayName',
Expand All @@ -55,7 +55,7 @@ const OneDriveList = () => {
TenantFilter: tenant.defaultDomainName,
RemovePermission: true,
},
modalUrl: `/api/ExecSharePointOwner`,
modalUrl: `/api/ExecSharePointPerms`,
modalDropdown: {
url: `/api/listUsers?TenantFilter=${tenant.defaultDomainName}`,
labelField: 'displayName',
Expand Down
4 changes: 2 additions & 2 deletions src/views/teams-share/sharepoint/SharepointList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const SharepointList = () => {
RemovePermission: false,
URL: row.URL,
},
modalUrl: `/api/ExecSharePointOwner`,
modalUrl: `/api/ExecSharePointPerms`,
modalDropdown: {
url: `/api/listUsers?TenantFilter=${tenant.defaultDomainName}`,
labelField: 'displayName',
Expand All @@ -98,7 +98,7 @@ const SharepointList = () => {
RemovePermission: true,
URL: row.URL,
},
modalUrl: `/api/ExecSharePointOwner`,
modalUrl: `/api/ExecSharePointPerms`,
modalDropdown: {
url: `/api/listUsers?TenantFilter=${tenant.defaultDomainName}`,
labelField: 'displayName',
Expand Down