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] main from KelvinTegelaar:main #3

Merged
merged 153 commits into from
Jan 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
153 commits
Select commit Hold shift + click to select a range
e234b60
Update Extensions.json (CloudFlare ZTNA Tunnel Integration)
Teh-STIG Jan 13, 2025
1366c5e
Add files via upload
Teh-STIG Jan 13, 2025
6bc08c1
Add app certificate alert
rvdwegen Jan 17, 2025
4c7b564
Add support for all CippFormComponent type in alerts input
kris6673 Jan 17, 2025
a3a9775
input type and add option for InactiveLicensedUsers
kris6673 Jan 17, 2025
6b32182
Merge branch 'dev' into patch-4
rvdwegen Jan 17, 2025
5d95e14
Merge pull request #3336 from rvdwegen/patch-4
KelvinTegelaar Jan 17, 2025
fa208ad
Merge branch 'dev' of https://github.com/kris6673/CIPP into input-types
kris6673 Jan 17, 2025
dc0ba36
fix filter and add comment
kris6673 Jan 18, 2025
723cf72
New standard: Add profile photo standard
kris6673 Jan 18, 2025
53b0b3b
Add option to include user mailboxes in shared mailbox sent items del…
kris6673 Jan 18, 2025
fbe8616
change to POST
kris6673 Jan 19, 2025
d7a218b
Add Global Address List report page and menu item
kris6673 Jan 19, 2025
e4cd6a6
Update filter name for Global Address List report to 'Cloud only mail…
kris6673 Jan 19, 2025
62230ef
Change device actions from GET to POST and update field names for con…
kris6673 Jan 19, 2025
09b4490
feat: added Research Compromised Account to Risky Users
OfficialEsco Jan 19, 2025
d0a89a1
fix: added MagnifyingGlassIcon to Research Compromised Account
OfficialEsco Jan 19, 2025
519a67f
Add standard for cleaning up stale Entra devices with configurable ag…
kris6673 Jan 19, 2025
e7deb88
Update device actions and remove unused offCanvas configuration
kris6673 Jan 19, 2025
9f99bd3
Merge pull request #3348 from kris6673/input-types
KelvinTegelaar Jan 19, 2025
8647248
Merge pull request #3351 from kris6673/photo-change
KelvinTegelaar Jan 19, 2025
7b03168
Merge pull request #3352 from kris6673/DelegateSentItems
KelvinTegelaar Jan 19, 2025
2e9a739
Merge pull request #3354 from kris6673/gal
KelvinTegelaar Jan 19, 2025
a9ca690
quota stuff
KelvinTegelaar Jan 19, 2025
a5ca728
Merge branch 'dev' of https://github.com/KelvinTegelaar/CIPP into dev
KelvinTegelaar Jan 19, 2025
55a256f
Merge pull request #3356 from kris6673/devices
KelvinTegelaar Jan 19, 2025
8cbe7ba
reintroduce central search
KelvinTegelaar Jan 19, 2025
c4d4159
Merge pull request #3187 from Teh-STIG/dev
KelvinTegelaar Jan 19, 2025
3524b4b
Merge pull request #3355 from Ren-Roros-Digital/RiskyUserOptions
KelvinTegelaar Jan 19, 2025
736c2ab
improved fuzzy search
KelvinTegelaar Jan 19, 2025
a11d508
added resubmit text
KelvinTegelaar Jan 20, 2025
9d1e317
remove console logs
KelvinTegelaar Jan 20, 2025
fc988e5
Merge pull request #83 from KelvinTegelaar/dev
kris6673 Jan 20, 2025
e7376c6
fixed issue with hanging page
KelvinTegelaar Jan 20, 2025
1bab8f8
bug fix empty results
KelvinTegelaar Jan 20, 2025
afb060a
Merge pull request #84 from KelvinTegelaar/dev
kris6673 Jan 20, 2025
a03c000
add extra help for password push
JohnDuprey Jan 20, 2025
aa136b5
FIX actions bug and add filters
kris6673 Jan 20, 2025
49c972d
Merge pull request #3373 from kris6673/transport-rule-fix
KelvinTegelaar Jan 20, 2025
a65dabb
remove roles
KelvinTegelaar Jan 20, 2025
0073a93
Merge branch 'dev' of https://github.com/KelvinTegelaar/CIPP into dev
KelvinTegelaar Jan 20, 2025
d4e7b30
Enhance transport rule page: add icons, extend info fields, fix templ…
kris6673 Jan 20, 2025
cda1225
Remove broken view button
kris6673 Jan 20, 2025
d7e9921
Remove broken view template buttons
kris6673 Jan 20, 2025
45b2c20
test integration tweak
JohnDuprey Jan 20, 2025
0f7cb5b
add null safety for missing relationship roles
JohnDuprey Jan 20, 2025
4d298b3
Update start.js
JohnDuprey Jan 20, 2025
dd38387
Merge pull request #233 from KelvinTegelaar/dev
JohnDuprey Jan 20, 2025
4c795d6
Merge pull request #3378 from JohnDuprey/dev
JohnDuprey Jan 20, 2025
a8b8e51
Update dev_deploy.yml
JohnDuprey Jan 20, 2025
3a8afdd
Merge pull request #3377 from kris6673/transport-template
KelvinTegelaar Jan 20, 2025
f1aa204
fix for bools
KelvinTegelaar Jan 21, 2025
ddfd9b7
bool issue
KelvinTegelaar Jan 21, 2025
ea38c26
fixes listing issues tenant templates
KelvinTegelaar Jan 21, 2025
26b28e4
Update CippAddGroupTemplateForm.jsx to make displayName required
bmsimp Jan 21, 2025
b382837
fix standard cache issues
KelvinTegelaar Jan 21, 2025
5ff42be
Change vars and result title
rvdwegen Jan 21, 2025
9de7637
Merge pull request #3399 from rvdwegen/patch-7
JohnDuprey Jan 21, 2025
42b83fc
integration mapping fixes
JohnDuprey Jan 22, 2025
d37e4c5
Merge pull request #234 from KelvinTegelaar/dev
JohnDuprey Jan 22, 2025
e41ebe6
Merge pull request #3402 from JohnDuprey/dev
JohnDuprey Jan 22, 2025
59b4f36
Add PR check to prevent nonsense PRs
rvdwegen Jan 22, 2025
18e11e1
Merge pull request #3412 from rvdwegen/patch-8
KelvinTegelaar Jan 22, 2025
eba490b
Merge pull request #3388 from bmsimp/patch-1
KelvinTegelaar Jan 22, 2025
fae980d
feat: added View in InTune for devices
OfficialEsco Jan 15, 2025
5e4873c
fix: readded filters to risk detections
OfficialEsco Jan 22, 2025
935d743
fix: readded filters to risky users
OfficialEsco Jan 22, 2025
76f18e2
fix: readded filters to quarantine management
OfficialEsco Jan 22, 2025
b28de21
fix: readded filters to mailboxes
OfficialEsco Jan 22, 2025
5aad7b3
feat: added view in intune to Analytics Device Score
OfficialEsco Jan 22, 2025
4ed7e24
fix: readded view in Entra
OfficialEsco Jan 22, 2025
9d851e6
Merge pull request #85 from KelvinTegelaar/dev
kris6673 Jan 22, 2025
7a93079
domain check fixes
JohnDuprey Jan 22, 2025
fd405e3
Merge pull request #235 from KelvinTegelaar/dev
JohnDuprey Jan 22, 2025
e72a45d
Merge pull request #3416 from Ren-Roros-Digital/ViewInIntune
KelvinTegelaar Jan 22, 2025
972bd9d
fixes
KelvinTegelaar Jan 22, 2025
0d2d116
Merge branch 'dev' of https://github.com/KelvinTegelaar/CIPP into dev
KelvinTegelaar Jan 22, 2025
455f49d
bring back see more
KelvinTegelaar Jan 22, 2025
5d6ebbe
conditional actions
JohnDuprey Jan 22, 2025
808ab17
Merge branch 'KelvinTegelaar:dev' into dev
JohnDuprey Jan 22, 2025
2a8c87f
Merge pull request #3427 from JohnDuprey/dev
JohnDuprey Jan 22, 2025
9c968a8
actionButton
KelvinTegelaar Jan 22, 2025
2119fd5
Merge branch 'dev' of https://github.com/KelvinTegelaar/CIPP into dev
KelvinTegelaar Jan 22, 2025
5c38a02
mailbox actions
JohnDuprey Jan 22, 2025
b39e2a3
Merge branch 'KelvinTegelaar:dev' into dev
JohnDuprey Jan 22, 2025
5f9e55f
Merge pull request #3428 from JohnDuprey/dev
JohnDuprey Jan 22, 2025
8cc5a22
Merge pull request #87 from KelvinTegelaar/dev
kris6673 Jan 22, 2025
a3d9c4b
add api data key
JohnDuprey Jan 23, 2025
76b274b
Groups - switch to listgraphrequest
JohnDuprey Jan 23, 2025
273cdde
view user improvements
JohnDuprey Jan 23, 2025
14f5f16
Merge pull request #238 from KelvinTegelaar/dev
JohnDuprey Jan 23, 2025
d2f2a71
Merge pull request #3430 from JohnDuprey/dev
JohnDuprey Jan 23, 2025
a915098
Update index.jsx
JohnDuprey Jan 23, 2025
6009077
Merge branch 'dev' of https://github.com/johnduprey/CIPP into dev
JohnDuprey Jan 23, 2025
92047ef
Fix parameter name
rvdwegen Jan 23, 2025
e6596a7
Merge pull request #3431 from rvdwegen/patch-9
KelvinTegelaar Jan 23, 2025
4176e9e
resolves pagination issue
KelvinTegelaar Jan 23, 2025
346588b
Merge pull request #239 from KelvinTegelaar/dev
JohnDuprey Jan 23, 2025
be59621
Update index.jsx
JohnDuprey Jan 23, 2025
9408080
table maintenance
JohnDuprey Jan 23, 2025
c5a7891
Merge pull request #3440 from JohnDuprey/dev
JohnDuprey Jan 23, 2025
0c210ba
field types
JohnDuprey Jan 23, 2025
8782844
table maintenance tweaks
JohnDuprey Jan 23, 2025
faa69ed
Merge branch 'KelvinTegelaar:dev' into dev
JohnDuprey Jan 23, 2025
4cfeefb
Merge pull request #3441 from JohnDuprey/dev
JohnDuprey Jan 23, 2025
68fb2a6
Merge branch 'dev' of https://github.com/KelvinTegelaar/CIPP into dev
kris6673 Jan 23, 2025
e91ba7c
dialogAfterEffect Added
KelvinTegelaar Jan 23, 2025
79b3f64
add enter key support for barcode scanners
JohnDuprey Jan 23, 2025
9e97250
Merge branch 'KelvinTegelaar:dev' into dev
JohnDuprey Jan 23, 2025
79c573c
Merge pull request #3442 from JohnDuprey/dev
JohnDuprey Jan 23, 2025
912c824
Merge branch 'dev' of https://github.com/KelvinTegelaar/CIPP into dev
kris6673 Jan 23, 2025
9938a37
prevent empty input submission in CSV import on Enter key press
kris6673 Jan 23, 2025
eda639f
Merge pull request #3443 from kris6673/dev
JohnDuprey Jan 23, 2025
ff2f09c
open up darkweb searches
KelvinTegelaar Jan 24, 2025
bcdf9f5
fixes incorrect reporting
KelvinTegelaar Jan 24, 2025
31601b9
updated text for alerts
KelvinTegelaar Jan 24, 2025
9cbe81d
bugfixes and tweaks
JohnDuprey Jan 24, 2025
8374296
Update get-cipp-formatting.js
JohnDuprey Jan 24, 2025
cd2a9b3
Merge pull request #240 from KelvinTegelaar/dev
JohnDuprey Jan 24, 2025
d582e31
Merge pull request #3461 from JohnDuprey/dev
JohnDuprey Jan 24, 2025
025b924
add filter to signin report
JohnDuprey Jan 24, 2025
4b0b30e
view user improvements
JohnDuprey Jan 25, 2025
4bc4026
Merge pull request #241 from KelvinTegelaar/dev
JohnDuprey Jan 25, 2025
3c16899
Merge pull request #3463 from JohnDuprey/dev
JohnDuprey Jan 25, 2025
c1bf7fe
mailbox rules table
JohnDuprey Jan 25, 2025
873acf9
Merge pull request #3465 from JohnDuprey/dev
JohnDuprey Jan 25, 2025
50412bf
mailbox rules tweaks
JohnDuprey Jan 25, 2025
0618812
remove deploy now action
JohnDuprey Jan 25, 2025
0f7800e
location tweaks
JohnDuprey Jan 25, 2025
80a8c4b
add external directory object id
JohnDuprey Jan 25, 2025
68bd3fd
Update index.js
JohnDuprey Jan 25, 2025
58ec930
switch delete action to custom function
JohnDuprey Jan 25, 2025
fa819d9
fix workflow
JohnDuprey Jan 25, 2025
24802d7
Merge pull request #3466 from JohnDuprey/dev
JohnDuprey Jan 25, 2025
837a9c8
table tweaks
JohnDuprey Jan 25, 2025
842707e
Merge pull request #3467 from JohnDuprey/dev
JohnDuprey Jan 25, 2025
601b59d
Update get-cipp-signin-errorcode-translation.js
JohnDuprey Jan 25, 2025
051011a
Merge pull request #3468 from JohnDuprey/dev
JohnDuprey Jan 25, 2025
51f5d50
Update get-cipp-signin-errorcode-translation.js
JohnDuprey Jan 25, 2025
3f33d27
fixes formatting offboarding wizarad
KelvinTegelaar Jan 25, 2025
5e51be8
Merge branch 'dev' of https://github.com/KelvinTegelaar/CIPP into dev
KelvinTegelaar Jan 25, 2025
ac5a319
fix inputvalue
JohnDuprey Jan 25, 2025
ed0d2a7
Update dev_deploy.yml
JohnDuprey Jan 25, 2025
eaa936d
Update preferences.js
JohnDuprey Jan 26, 2025
eb74d61
Merge branch 'dev' of https://github.com/KelvinTegelaar/CIPP into kt-dev
JohnDuprey Jan 26, 2025
ea636c0
Update preferences.js
JohnDuprey Jan 26, 2025
2035d56
fix issue on mailbox rules page
JohnDuprey Jan 26, 2025
f18b61e
add edit template
KelvinTegelaar Jan 26, 2025
2a144e4
fixed all tenants
KelvinTegelaar Jan 26, 2025
079cf52
up version
KelvinTegelaar Jan 26, 2025
7e6b681
Merge pull request #3470 from KelvinTegelaar/dev
KelvinTegelaar Jan 26, 2025
f11ec8a
Delete .github/workflows/PR_Branch_Check.yml
KelvinTegelaar Jan 26, 2025
1d499e8
Delete .github/workflows/dev_deploy.yml
KelvinTegelaar Jan 26, 2025
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
41 changes: 0 additions & 41 deletions .github/workflows/dev_deploy.yml

This file was deleted.

Binary file added public/assets/integrations/cloudflare.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion public/version.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "7.0.5"
"version": "7.1.0"
}
48 changes: 31 additions & 17 deletions src/components/CippCards/CippBannerListCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ import {
} from "@mui/material";
import ChevronDownIcon from "@heroicons/react/24/outline/ChevronDownIcon";
import { CippPropertyListCard } from "./CippPropertyListCard";
import { CippDataTable } from "../CippTable/CippDataTable";

export const CippBannerListCard = (props) => {
const { items = [], isCollapsible = false, isFetching = false, ...other } = props;
const { items = [], isCollapsible = false, isFetching = false, children, ...other } = props;
const [expanded, setExpanded] = useState(null);

const handleExpand = useCallback((itemId) => {
Expand Down Expand Up @@ -113,17 +114,19 @@ export const CippBannerListCard = (props) => {

{/* Right Side: Status and Expand Icon */}
<Stack alignItems="center" direction="row" spacing={2}>
<Stack alignItems="center" direction="row" spacing={1}>
<Box
sx={{
backgroundColor: statusColor,
borderRadius: "50%",
height: 8,
width: 8,
}}
/>
<Typography variant="body2">{item.statusText}</Typography>
</Stack>
{item?.statusText && (
<Stack alignItems="center" direction="row" spacing={1}>
<Box
sx={{
backgroundColor: statusColor,
borderRadius: "50%",
height: 8,
width: 8,
}}
/>
<Typography variant="body2">{item.statusText}</Typography>
</Stack>
)}
{isCollapsible && (
<IconButton onClick={() => handleExpand(item.id)}>
<SvgIcon
Expand All @@ -142,11 +145,18 @@ export const CippBannerListCard = (props) => {
{isCollapsible && (
<Collapse in={isExpanded}>
<Divider />
<CippPropertyListCard
propertyItems={item.propertyItems || []}
layout="dual"
isFetching={item.isFetching || false}
/>
<Stack spacing={1}>
{item?.propertyItems?.length > 0 && (
<CippPropertyListCard
propertyItems={item.propertyItems || []}
layout="dual"
isFetching={item.isFetching || false}
/>
)}
{item?.table && <CippDataTable {...item.table} />}
{item?.children && <Box sx={{ pl: 3 }}>{item.children}</Box>}
{item?.actionButton && <Box sx={{ pl: 3, pb: 2 }}>{item.actionButton}</Box>}
</Stack>
</Collapse>
)}
</li>
Expand Down Expand Up @@ -174,8 +184,12 @@ CippBannerListCard.propTypes = {
subtext: PropTypes.string,
statusColor: PropTypes.string,
statusText: PropTypes.string,
actionButton: PropTypes.element,
propertyItems: PropTypes.array,
table: PropTypes.object,
actionButton: PropTypes.element,
isFetching: PropTypes.bool,
children: PropTypes.node,
})
).isRequired,
isCollapsible: PropTypes.bool,
Expand Down
175 changes: 136 additions & 39 deletions src/components/CippCards/CippDomainCards.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import {
Typography,
Chip,
Stack,
Divider,
FormControlLabel,
} from "@mui/material";
import SearchIcon from "@mui/icons-material/Search";
import ClearIcon from "@mui/icons-material/Clear";
Expand All @@ -19,7 +21,7 @@ import ErrorIcon from "@mui/icons-material/Error";
import WarningIcon from "@mui/icons-material/Warning";
import HelpIcon from "@mui/icons-material/Help";
import MoreVertIcon from "@mui/icons-material/MoreVert";
import { Controller, get, useForm } from "react-hook-form";
import { Controller, useForm } from "react-hook-form";
import { ApiGetCall } from "/src/api/ApiCall";
import CippButtonCard from "/src/components/CippCards/CippButtonCard";
import { CippCodeBlock } from "/src/components/CippComponents/CippCodeBlock";
Expand Down Expand Up @@ -268,6 +270,60 @@ function DomainResultCard({ title, data, isFetching, info, type }) {
</>
),
}
: type === "HTTPS"
? {
children: (
<>
{data?.Tests?.map((test, index) => (
<>
<CippPropertyListCard
key={index}
title={`Certificate info for ${test.Hostname}`}
copyItems={true}
showDivider={false}
propertyItems={[
{
label: "Issuer",
value:
test.Certificate.Issuer.match(/O=([^,]+)/)?.[1] ||
test.Certificate.Issuer,
},
{
label: "Subject",
value:
test.Certificate.Subject.match(/CN=([^,]+)/)?.[1] ||
test.Certificate.Subject,
},
{
label: "Created",
value: getCippFormatting(test.Certificate.NotBefore, "NotBefore"),
},
{
label: "Expires",
value: getCippFormatting(test.Certificate.NotAfter, "NotAfter"),
},
{ label: "Serial Number", value: test.Certificate.SerialNumber },
{ label: "Thumbprint", value: test.Certificate.Thumbprint },
{
label: "DNS Names",
value: getCippFormatting(
test.Certificate.DnsNameList.map((dns) => dns.Unicode),
"DNSName"
),
},
]}
/>
<ResultList
passes={test.ValidationPasses}
warns={test.ValidationWarns}
fails={test.ValidationFails}
/>
<Divider />
</>
))}
</>
),
}
: {};

return (
Expand Down Expand Up @@ -326,6 +382,9 @@ export const CippDomainCards = ({ domain: propDomain = "", fullwidth = false })
});
const [optionsVisible, setOptionsVisible] = useState(false);
const [domain, setDomain] = useState(propDomain);
const [selector, setSelector] = useState("");
const [spfRecord, setSpfRecord] = useState("");
const [subdomains, setSubdomains] = useState("");
const enableHttps = watch("enableHttps");

useEffect(() => {
Expand All @@ -337,13 +396,20 @@ export const CippDomainCards = ({ domain: propDomain = "", fullwidth = false })

const onSubmit = (values) => {
setDomain(values.domain);
setSelector(values.dkimSelector);
setSpfRecord(values.spfRecord);
setSubdomains(values.subdomains);
};

const handleClear = () => {
setValue("domain", "");
setValue("spfRecord", "");
setValue("dkimSelector", "");
setValue("subdomains", "");
setDomain("");
setSelector("");
setSpfRecord("");
setSubdomains("");
};

// API calls with dynamic queryKey using domain
Expand All @@ -370,8 +436,8 @@ export const CippDomainCards = ({ domain: propDomain = "", fullwidth = false })

const { data: spfData, isFetching: spfLoading } = ApiGetCall({
url: "/api/ListDomainHealth",
queryKey: `spf-${domain}`,
data: { Domain: domain, Action: "ReadSPFRecord" },
queryKey: `spf-${domain}-${spfRecord}`,
data: { Domain: domain, Action: "ReadSPFRecord", Record: spfRecord },
waiting: !!domain,
});

Expand All @@ -384,8 +450,8 @@ export const CippDomainCards = ({ domain: propDomain = "", fullwidth = false })

const { data: dkimData, isFetching: dkimLoading } = ApiGetCall({
url: "/api/ListDomainHealth",
queryKey: `dkim-${domain}`,
data: { Domain: domain, Action: "ReadDkimRecord" },
queryKey: `dkim-${domain}-${selector}`,
data: { Domain: domain, Action: "ReadDkimRecord", Selector: selector },
waiting: !!domain,
});

Expand All @@ -403,6 +469,13 @@ export const CippDomainCards = ({ domain: propDomain = "", fullwidth = false })
waiting: !!domain,
});

const { data: httpsData, isFetching: httpsLoading } = ApiGetCall({
url: "/api/ListDomainHealth",
queryKey: `https-${domain}-${subdomains}`,
data: { Domain: domain, Action: "TestHttpsCertificate", Subdomains: subdomains },
waiting: !!domain && enableHttps,
});

// Adjust grid item size based on fullwidth prop
const gridItemSize = fullwidth ? 12 : 4;

Expand Down Expand Up @@ -438,45 +511,50 @@ export const CippDomainCards = ({ domain: propDomain = "", fullwidth = false })
</Grid>
</Grid>
<Collapse in={optionsVisible}>
<Controller
name="spfRecord"
control={control}
render={({ field }) => (
<TextField {...field} fullWidth label="SPF Record" className="mt-2" />
)}
/>
<Controller
name="dkimSelector"
control={control}
render={({ field }) => (
<TextField {...field} fullWidth label="DKIM Selector" className="mt-2" />
)}
/>
<Controller
name="enableHttps"
control={control}
render={({ field }) => (
<Switch {...field} checked={field.value} label="Enable HTTPS check" />
)}
/>
{enableHttps && (
<Stack direction="column" spacing={1} sx={{ mt: 1 }}>
<Controller
name="subdomains"
name="spfRecord"
control={control}
render={({ field }) => (
<TextField {...field} fullWidth label="HTTPS Subdomains" className="mt-2" />
<TextField {...field} fullWidth label="SPF Record" className="mt-2" />
)}
/>
)}
<Button
variant="outlined"
color="error"
startIcon={<ClearIcon />}
onClick={handleClear}
className="mt-2"
>
Clear
</Button>
<Controller
name="dkimSelector"
control={control}
render={({ field }) => (
<TextField {...field} fullWidth label="DKIM Selector" className="mt-2" />
)}
/>
<Controller
name="enableHttps"
control={control}
render={({ field }) => (
<FormControlLabel
control={<Switch {...field} checked={field.value} />}
label="Enable HTTPS check"
/>
)}
/>
{enableHttps && (
<Controller
name="subdomains"
control={control}
render={({ field }) => (
<TextField {...field} fullWidth label="HTTPS Subdomains" className="mt-2" />
)}
/>
)}
<Button
variant="outlined"
color="error"
startIcon={<ClearIcon />}
onClick={handleClear}
className="mt-2"
>
Clear
</Button>
</Stack>
</Collapse>
</CippButtonCard>
</Grid>
Expand Down Expand Up @@ -605,6 +683,25 @@ export const CippDomainCards = ({ domain: propDomain = "", fullwidth = false })
}
/>
</Grid>
{enableHttps && (
<Grid item xs={12} md={gridItemSize}>
<DomainResultCard
title="HTTPS Certificate"
type="HTTPS"
data={httpsData}
isFetching={httpsLoading}
info={
<div>
<ResultList
passes={httpsData?.ValidationPasses}
warns={httpsData?.ValidationWarns}
fails={httpsData?.ValidationFails}
/>
</div>
}
/>
</Grid>
)}
</>
)}
</Grid>
Expand Down
Loading
Loading