Skip to content

Commit b2e240f

Browse files
committed
prettier all files
1 parent 3c7f50c commit b2e240f

File tree

13,152 files changed

+504687
-295199
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

13,152 files changed

+504687
-295199
lines changed

.prettierrc

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@
66
"tabWidth": 2,
77
"overrides": [
88
{
9-
"files": "*.md",
10-
"options": {
11-
"proseWrap": "always",
12-
"tabWidth": 4
13-
}
14-
},
15-
{
16-
"files": "*.ts",
17-
"options": {
18-
"semi": true
19-
}
9+
"files": "*.md",
10+
"options": {
11+
"proseWrap": "always",
12+
"tabWidth": 4
2013
}
14+
},
15+
{
16+
"files": "*.ts",
17+
"options": {
18+
"semi": true
19+
}
20+
}
2121
]
22-
}
22+
}

README.md

Lines changed: 27 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,37 @@
11
# Netwrix Product Documentation
22

3-
This repository contains the complete documentation site for all Netwrix products, built with [Docusaurus](https://docusaurus.io/). The site provides comprehensive user guides, configuration instructions, API documentation, and release notes for the entire Netwrix product suite.
3+
This repository contains the complete documentation site for all Netwrix products, built with
4+
[Docusaurus](https://docusaurus.io/). The site provides comprehensive user guides, configuration
5+
instructions, API documentation, and release notes for the entire Netwrix product suite.
46

57
## What's Included
68

79
This documentation covers the following Netwrix products:
810

911
### Security & Compliance
12+
1013
- **1Secure** - Cloud security posture management
1114
- **Access Analyzer** - File access permissions and data governance
1215
- **Auditor** - IT infrastructure auditing and compliance
1316
- **Threat Manager/Prevention** - Security threat detection and response
1417

1518
### Identity & Access Management
19+
1620
- **UserCube** (both on-premises and SaaS) - Identity governance and administration
1721
- **Password Policy Enforcer** - Active Directory password policy management
1822
- **Password Reset** - Self-service password reset solution
1923
- **Password Secure** - Privileged access management
2024
- **Privilege Secure** - Privileged account management
2125

2226
### Change Management & Governance
27+
2328
- **StrongPoint for NetSuite** - Change management and compliance for NetSuite
2429
- **StrongPoint for Salesforce** - Change management for Salesforce environments
2530
- **StrongPoint NetSuite Flashlight** - NetSuite documentation and analysis
2631
- **StrongPoint Salesforce Flashlight** - Salesforce documentation and analysis
2732

2833
### IT Management
34+
2935
- **Activity Monitor** - Real-time activity monitoring and alerting
3036
- **Change Tracker** - Infrastructure change tracking
3137
- **Data Classification** - Automated data discovery and classification
@@ -35,6 +41,7 @@ This documentation covers the following Netwrix products:
3541
- **Recovery for Active Directory** - AD backup and recovery
3642

3743
### Additional Tools
44+
3845
- **Access Information Center** - Centralized access reporting
3946
- Various configuration guides and API documentation
4047

@@ -46,21 +53,26 @@ This documentation covers the following Netwrix products:
4653
## Quick Start
4754

4855
1. **Install dependencies:**
49-
```bash
50-
npm install
51-
```
56+
57+
```bash
58+
npm install
59+
```
5260

5361
2. **Start development server:**
54-
```bash
55-
npm start
56-
```
57-
This starts a local development server and opens the site in your browser. Most changes are reflected live without requiring a restart.
62+
63+
```bash
64+
npm start
65+
```
66+
67+
This starts a local development server and opens the site in your browser. Most changes are
68+
reflected live without requiring a restart.
5869

5970
3. **Build for production:**
60-
```bash
61-
npm run build
62-
```
63-
This generates static content into the `build` directory that can be served by any static hosting service.
71+
```bash
72+
npm run build
73+
```
74+
This generates static content into the `build` directory that can be served by any static
75+
hosting service.
6476

6577
## Available Scripts
6678

@@ -131,8 +143,10 @@ The deployment process runs `npm run build` and serves the generated static file
131143
## Support
132144
133145
For technical issues with the documentation site, please check:
146+
134147
1. The Docusaurus documentation: https://docusaurus.io/docs
135148
2. Build logs in the deployment system
136149
3. Browser console for client-side issues
137150
138-
For product-specific documentation questions, refer to the respective product documentation or contact the product teams.
151+
For product-specific documentation questions, refer to the respective product documentation or
152+
contact the product teams.

build-product.js

Lines changed: 57 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,93 +1,93 @@
11
#!/usr/bin/env node
22
// Script to build individual products for testing
33

4-
const fs = require('fs');
5-
const path = require('path');
6-
const { execSync } = require('child_process');
4+
const fs = require('fs')
5+
const path = require('path')
6+
const { execSync } = require('child_process')
77

8-
const productsConfigPath = path.join(__dirname, 'docusaurus.config.products.js');
8+
const productsConfigPath = path.join(__dirname, 'docusaurus.config.products.js')
99

1010
// Get product name from command line
11-
const product = process.argv[2];
11+
const product = process.argv[2]
1212

1313
if (!product) {
14-
console.log('Usage: node build-product.js <product-name>');
15-
console.log('Available products:');
16-
console.log(' - 1secure');
17-
console.log(' - accessanalyzer');
18-
console.log(' - accessinformationcenter');
19-
console.log(' - activitymonitor');
20-
console.log(' - auditor');
21-
console.log(' - changetracker');
22-
console.log(' - dataclassification');
23-
console.log(' - endpointprotector');
24-
console.log(' - groupid');
25-
console.log(' - passwordpolicyenforcer');
26-
console.log(' - passwordreset');
27-
console.log(' - passwordsecure');
28-
console.log(' - policypak');
29-
console.log(' - privilegesecure');
30-
console.log(' - recoveryforactivedirectory');
31-
console.log(' - strongpointfornetsuite');
32-
console.log(' - strongpointforsalesforce');
33-
console.log(' - strongpointnetsuiteflashlight');
34-
console.log(' - strongpointsalesforceflashlight');
35-
console.log(' - threatmanager');
36-
console.log(' - threatprevention');
37-
console.log(' - usercube');
38-
console.log(' - usercube_saas');
39-
process.exit(1);
14+
console.log('Usage: node build-product.js <product-name>')
15+
console.log('Available products:')
16+
console.log(' - 1secure')
17+
console.log(' - accessanalyzer')
18+
console.log(' - accessinformationcenter')
19+
console.log(' - activitymonitor')
20+
console.log(' - auditor')
21+
console.log(' - changetracker')
22+
console.log(' - dataclassification')
23+
console.log(' - endpointprotector')
24+
console.log(' - groupid')
25+
console.log(' - passwordpolicyenforcer')
26+
console.log(' - passwordreset')
27+
console.log(' - passwordsecure')
28+
console.log(' - policypak')
29+
console.log(' - privilegesecure')
30+
console.log(' - recoveryforactivedirectory')
31+
console.log(' - strongpointfornetsuite')
32+
console.log(' - strongpointforsalesforce')
33+
console.log(' - strongpointnetsuiteflashlight')
34+
console.log(' - strongpointsalesforceflashlight')
35+
console.log(' - threatmanager')
36+
console.log(' - threatprevention')
37+
console.log(' - usercube')
38+
console.log(' - usercube_saas')
39+
process.exit(1)
4040
}
4141

4242
// Read the products config file
43-
let configContent = fs.readFileSync(productsConfigPath, 'utf8');
43+
let configContent = fs.readFileSync(productsConfigPath, 'utf8')
4444

4545
// Update the PRODUCTS object to enable only the selected product
46-
const productsRegex = /const PRODUCTS = {[\s\S]*?};/;
47-
const currentProducts = configContent.match(productsRegex)[0];
46+
const productsRegex = /const PRODUCTS = {[\s\S]*?};/
47+
const currentProducts = configContent.match(productsRegex)[0]
4848

4949
// Parse the current state
50-
const productStates = {};
51-
const lines = currentProducts.split('\n');
52-
lines.forEach(line => {
53-
const match = line.match(/^\s*'([^']+)':\s*(true|false),?$/);
50+
const productStates = {}
51+
const lines = currentProducts.split('\n')
52+
lines.forEach((line) => {
53+
const match = line.match(/^\s*'([^']+)':\s*(true|false),?$/)
5454
if (match) {
55-
productStates[match[1]] = false; // Set all to false
55+
productStates[match[1]] = false // Set all to false
5656
}
57-
});
57+
})
5858

5959
// Enable only the selected product
6060
if (productStates.hasOwnProperty(product)) {
61-
productStates[product] = true;
61+
productStates[product] = true
6262
} else {
63-
console.error(`Error: Product '${product}' not found!`);
64-
process.exit(1);
63+
console.error(`Error: Product '${product}' not found!`)
64+
process.exit(1)
6565
}
6666

6767
// Build the new PRODUCTS object
68-
let newProductsObj = 'const PRODUCTS = {\n';
68+
let newProductsObj = 'const PRODUCTS = {\n'
6969
Object.entries(productStates).forEach(([name, enabled]) => {
70-
newProductsObj += ` '${name}': ${enabled},\n`;
71-
});
72-
newProductsObj += '};';
70+
newProductsObj += ` '${name}': ${enabled},\n`
71+
})
72+
newProductsObj += '};'
7373

7474
// Replace in the config
75-
configContent = configContent.replace(productsRegex, newProductsObj);
75+
configContent = configContent.replace(productsRegex, newProductsObj)
7676

7777
// Write back the updated config
78-
fs.writeFileSync(productsConfigPath, configContent);
78+
fs.writeFileSync(productsConfigPath, configContent)
7979

80-
console.log(`\nBuilding documentation for: ${product}`);
81-
console.log('This will show only errors specific to this product.\n');
80+
console.log(`\nBuilding documentation for: ${product}`)
81+
console.log('This will show only errors specific to this product.\n')
8282

8383
try {
8484
// Run the build with the modular config
8585
execSync('npm run build -- --config ./docusaurus.config.modular.js', {
8686
stdio: 'inherit',
87-
cwd: __dirname
88-
});
89-
console.log(`\n✅ Build completed successfully for ${product}!`);
87+
cwd: __dirname,
88+
})
89+
console.log(`\n✅ Build completed successfully for ${product}!`)
9090
} catch (error) {
91-
console.log(`\n❌ Build failed for ${product}. Check the errors above.`);
92-
process.exit(1);
93-
}
91+
console.log(`\n❌ Build failed for ${product}. Check the errors above.`)
92+
process.exit(1)
93+
}

0 commit comments

Comments
 (0)