Skip to content

Commit 78f1ae7

Browse files
Merge remote-tracking branch 'origin/dev'
2 parents df17aae + 75a3abd commit 78f1ae7

11 files changed

Lines changed: 275 additions & 66 deletions

File tree

docs/accessanalyzer/11.6/requirements/filesystem/filesystems/windowsfile/access.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ Namespaces.
1919

2020
Configure the credential(s) with the following rights on the Windows host(s):
2121

22+
- Granted the "Network access: Restrict clients allowed to make remote calls to SAM" Local Policies > Security Options privilege
23+
- Granted the “Backup files and directories” local policy privilege
2224
- For **Local** or **Proxy as a Service Mode** Scans:
2325
- Group membership in both of the following local groups:
2426
- Power Users
@@ -30,8 +32,6 @@ Configure the credential(s) with the following rights on the Windows host(s):
3032
- Remote Registry service must be enabled on the host where the applet is deployed (Applet or Proxy w/ Applet scans) to determine the system platform and where to deploy the applet.
3133
- The local policy, “Network access: Do not allow storage of passwords and credentials for network authentication” must be disabled in order for the applet to start.
3234
- Sensitive Data Discovery Auditing scans require .NET Framework 4.7.2 or later to be installed on the server where the applet is to be deployed in order for Sensitive Data Discovery collections to successfully occur.
33-
- Granted the "Network access: Restrict clients allowed to make remote calls to SAM" Local Policies > Security Options privilege
34-
- Granted the “Backup files and directories” local policy privilege
3535

3636
:::note
3737
In order to collect data on administrative shares and local policies (logon policies) for a Windows target, the credential must have group membership in the local Administrators group.

docs/accessanalyzer/12.0/requirements/filesystem/filesystems/windowsfile/access.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ Namespaces.
1919

2020
Configure the credential(s) with the following rights on the Windows host(s):
2121

22+
- Granted the "Network access: Restrict clients allowed to make remote calls to SAM" Local Policies > Security Options privilege
23+
- Granted the “Backup files and directories” local policy privilege
2224
- For **Local** or **Proxy as a Service Mode** Scans:
2325
- Group membership in both of the following local groups:
2426
- Power Users
@@ -30,8 +32,6 @@ Configure the credential(s) with the following rights on the Windows host(s):
3032
- Remote Registry service must be enabled on the host where the applet is deployed (Applet or Proxy w/ Applet scans) to determine the system platform and where to deploy the applet.
3133
- The local policy, “Network access: Do not allow storage of passwords and credentials for network authentication” must be disabled in order for the applet to start.
3234
- Sensitive Data Discovery Auditing scans require .NET Framework 4.7.2 or later to be installed on the server where the applet is to be deployed in order for Sensitive Data Discovery collections to successfully occur.
33-
- Granted the "Network access: Restrict clients allowed to make remote calls to SAM" Local Policies > Security Options privilege
34-
- Granted the “Backup files and directories” local policy privilege
3535

3636
:::note
3737
In order to collect data on administrative shares and local policies (logon policies) for a Windows target, the credential must have group membership in the local Administrators group.

docs/activitymonitor/9.0/admin/agents/properties/certificate.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,10 @@ If your deployment includes multiple Console instances, each instance must be up
104104
For automated deployments, the agent executable provides a Command-Line Interface offering equivalent functionality to the Console.
105105
All CLI commands return a non-zero exit code upon failure and output error details in JSON format. 
106106

107+
Before running any commands, open Command Prompt and change to the agent installation directory (by default _C:\Program Files\Netwrix\Activity Monitor\Agent_). Commands must be executed using the agent executable **ConfigurationAgent.Grpc.Host.exe**.
108+
109+
For example: `.\ConfigurationAgent.Grpc.Host.exe <command>`
110+
107111
### **Get current certificate**
108112

109113
Command: `certificate-get` - Prints the current agent’s certificate.

docusaurus.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ const config = {
218218
logo: {
219219
alt: 'Netwrix Logo',
220220
src: 'branding/Netwrix_Logo_Dark.svg',
221-
srcDark: 'branding/Netwrix_Logo_Light.svg',
221+
srcDark: 'branding/logo-light.svg',
222222
href: '/',
223223
},
224224
items: [

src/components/CommunityHighlights/styles.module.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,11 @@
105105
border-color: var(--ifm-color-emphasis-200);
106106
}
107107

108+
[data-theme='dark'] .featuredLabel {
109+
background: linear-gradient(45deg, #8d1f1f, #835b00);
110+
color: #fff;
111+
}
112+
108113
.featuredCard::before {
109114
content: '';
110115
position: absolute;

src/css/custom.css

Lines changed: 99 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@
6262
--ifm-color-success: #34C263;
6363
--ifm-color-success-dark: #27914A;
6464
--ifm-button-background-color: #5851DB;
65+
/* Infima defaults this to `transparent` (relying on the browser's white
66+
canvas). An explicit opaque value is needed so that sticky elements
67+
like search-page controls can hide content scrolling behind them. */
68+
--ifm-background-color: #fff;
6569
}
6670

6771
.table-of-contents {
@@ -382,8 +386,102 @@ html {
382386
position: relative;
383387
}
384388

385-
/* Responsive improvements */
389+
/* Transfer the search-area visual chrome (background, bottom border, top radius)
390+
from .DocSearch-Form to .DocSearch-SearchBar now that our custom controls are
391+
siblings of the form rather than children of it. */
392+
.DocSearch-SearchBar {
393+
background: var(--docsearch-searchbox-focus-background);
394+
border-bottom: 1px solid var(--docsearch-subtle-color);
395+
border-radius: 4px 4px 0 0;
396+
align-items: center;
397+
}
398+
399+
/* Fix .DocSearch-Title — the library sets line-height: 0.5em which causes
400+
wrapped lines to overlap, and no word-break so long queries overflow horizontally. */
401+
.DocSearch-Title {
402+
line-height: 1.4 !important;
403+
white-space: normal !important;
404+
word-break: break-word;
405+
overflow-wrap: break-word;
406+
}
407+
408+
/* Hide the "close the query" text label — keep only the × icon.
409+
!important is needed because DocSearch styles are dynamically imported
410+
after our CSS, so they would otherwise win the cascade. */
411+
.DocSearch-Clear {
412+
font-size: 0 !important;
413+
}
414+
415+
/* Strip the duplicate chrome from the form itself.
416+
width: auto !important overrides DocSearch's dynamically-loaded width: 100%,
417+
which would otherwise force the form to consume the entire first flex row and
418+
push the × button onto its own line on mobile. */
419+
.DocSearch-Form {
420+
flex: 1 1 auto;
421+
width: auto !important;
422+
background: transparent;
423+
border-block-end: none !important;
424+
border-radius: 0;
425+
}
426+
427+
/* Hide the DocSearch-owned close button — we render our own in the portal so
428+
we never mutate React-owned DOM nodes (which causes reconciliation crashes). */
429+
.DocSearch-Close {
430+
display: none !important;
431+
}
432+
433+
/* Custom controls (Typo Tolerance toggle + product filter) portaled into the search bar. */
434+
.search-custom-controls {
435+
display: flex;
436+
align-items: center;
437+
gap: 8px;
438+
margin-right: 8px;
439+
}
440+
441+
/* Our replacement close button rendered inside the portal. */
442+
.search-modal-close {
443+
display: flex;
444+
align-items: center;
445+
justify-content: center;
446+
flex-shrink: 0;
447+
background: none;
448+
border: none;
449+
cursor: pointer;
450+
color: var(--docsearch-muted-color);
451+
padding: 0;
452+
margin: 0 16px 0 8px;
453+
}
454+
.search-modal-close:hover {
455+
color: var(--docsearch-text-color);
456+
}
457+
[data-theme='dark'] .search-modal-close {
458+
color: white;
459+
}
460+
461+
/* On mobile, wrap the custom controls onto their own row below the search input,
462+
but keep the × button on the first row (upper-right corner). */
386463
@media (max-width: 768px) {
464+
.DocSearch-SearchBar {
465+
flex-wrap: wrap;
466+
}
467+
468+
.DocSearch-Form {
469+
order: 1;
470+
}
471+
472+
.search-modal-close {
473+
order: 2;
474+
margin: 0 16px 0 8px;
475+
}
476+
477+
.search-custom-controls {
478+
order: 3;
479+
flex: 0 0 100%;
480+
margin-right: 0;
481+
padding: 6px 16px 8px;
482+
border-bottom: 1px solid var(--docsearch-subtle-color);
483+
}
484+
387485
.DocSearch-Button-Keys {
388486
display: none;
389487
}

src/pages/index.module.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,10 @@
234234
background: var(--ifm-background-color);
235235
}
236236

237+
[data-theme='dark'] .stats {
238+
background: linear-gradient(135deg, #003c6c 0%, #005a9e 100%);
239+
}
240+
237241
/* Responsive */
238242
@media screen and (max-width: 996px) {
239243
.heroBanner {

src/theme/ColorModeToggle/index.js

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
import React from 'react';
2+
import clsx from 'clsx';
3+
import useIsBrowser from '@docusaurus/useIsBrowser';
4+
import {translate} from '@docusaurus/Translate';
5+
import IconDarkMode from '@theme/Icon/DarkMode';
6+
import IconLightMode from '@theme/Icon/LightMode';
7+
import styles from './styles.module.css';
8+
9+
/**
10+
* Swizzled ColorModeToggle.
11+
*
12+
* Docusaurus default shows the current-mode icon (sun in light, moon in dark).
13+
* This version shows the target-mode icon instead:
14+
* - Light mode → moon ("switch to dark")
15+
* - Dark mode → sun ("switch to light")
16+
*/
17+
export default function ColorModeToggle({className, buttonClassName, value, onChange}) {
18+
const isBrowser = useIsBrowser();
19+
const title = translate(
20+
{
21+
message: 'Switch between dark and light mode (currently {mode})',
22+
id: 'theme.colorToggle.ariaLabel',
23+
description: 'The ARIA label for the navbar color mode toggle',
24+
},
25+
{
26+
mode:
27+
value === 'dark'
28+
? translate({
29+
message: 'dark mode',
30+
id: 'theme.colorToggle.ariaLabel.mode.dark',
31+
description: 'The name for the dark color mode',
32+
})
33+
: translate({
34+
message: 'light mode',
35+
id: 'theme.colorToggle.ariaLabel.mode.light',
36+
description: 'The name for the light color mode',
37+
}),
38+
},
39+
);
40+
41+
return (
42+
<div className={clsx(styles.toggle, className)}>
43+
<button
44+
className={clsx('clean-btn', buttonClassName, styles.toggleButton, {
45+
[styles.toggleButtonDisabled]: !isBrowser,
46+
})}
47+
type="button"
48+
onClick={() => onChange(value === 'dark' ? 'light' : 'dark')}
49+
disabled={!isBrowser}
50+
title={title}
51+
aria-label={title}
52+
aria-live="polite">
53+
{/* Moon shown in light mode → "click to switch to dark" */}
54+
<IconDarkMode className={clsx(styles.icon, styles.lightModeIcon)} />
55+
{/* Sun shown in dark mode → "click to switch to light" */}
56+
<IconLightMode className={clsx(styles.icon, styles.darkModeIcon)} />
57+
</button>
58+
</div>
59+
);
60+
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
.toggle {
2+
display: flex;
3+
align-items: center;
4+
}
5+
6+
.toggleButton {
7+
display: flex;
8+
overflow: hidden;
9+
}
10+
11+
.toggleButtonDisabled {
12+
cursor: not-allowed;
13+
}
14+
15+
.icon {
16+
width: 1.4rem;
17+
height: 1.4rem;
18+
}
19+
20+
/* Moon (lightModeIcon) visible in light mode */
21+
.lightModeIcon {
22+
display: block;
23+
}
24+
25+
/* Sun (darkModeIcon) hidden in light mode */
26+
.darkModeIcon {
27+
display: none;
28+
}
29+
30+
[data-theme='dark'] .lightModeIcon {
31+
display: none;
32+
}
33+
34+
[data-theme='dark'] .darkModeIcon {
35+
display: block;
36+
}

0 commit comments

Comments
 (0)