Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
71 changes: 36 additions & 35 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,37 +1,38 @@
{
"private": true,
"name": "bloodhound-ce",
"workspaces": {
"packages": [
"cmd/ui",
"packages/javascript/**"
]
},
"scripts": {
"dev": "yarn workspace bloodhound-ui dev",
"debug": "yarn workspace bloodhound-ui debug",
"start": "yarn workspace bloodhound-ui start",
"preview": "yarn workspace bloodhound-ui preview",
"build": "yarn workspaces foreach -ptv run build",
"test": "yarn workspaces foreach -ptv run test run",
"check-types": "yarn workspaces foreach -ptv run check-types",
"lint": "yarn workspaces foreach -ptv run lint",
"format": "yarn workspaces foreach -ptv run format",
"check-format": "yarn workspaces foreach -ptv run check-format"
},
"packageManager": "[email protected]",
"devDependencies": {
"all-contributors-cli": "^6.26.1",
"prettier": "^3.2.5",
"typescript": "^5.1.6"
},
"resolutions": {
"axios": "^1.12.0",
"braces": ">=3.0.3 <4.0.0",
"cross-spawn": "^7.0.5",
"dompurify": "3.2.4",
"form-data": "^4.0.4",
"sha.js": "^2.4.12",
"tar-fs": ">=2.1.3 < 3.0.0"
}
"private": true,
"name": "bloodhound-ce",
"workspaces": {
"packages": [
"cmd/ui",
"packages/javascript/**"
]
},
"scripts": {
"dev": "yarn workspace bloodhound-ui dev",
"debug": "yarn workspace bloodhound-ui debug",
"start": "yarn workspace bloodhound-ui start",
"preview": "yarn workspace bloodhound-ui preview",
"build": "yarn workspaces foreach -ptv run build",
"test": "yarn workspaces foreach -ptv run test run",
"check-types": "yarn workspaces foreach -ptv run check-types",
"lint": "yarn workspaces foreach -ptv run lint",
"format": "yarn workspaces foreach -ptv run format",
"check-format": "yarn workspaces foreach -ptv run check-format"
},
"packageManager": "[email protected]",
"devDependencies": {
"all-contributors-cli": "^6.26.1",
"prettier": "^3.2.5",
"typescript": "^5.1.6"
},
"resolutions": {
"axios": "^1.12.0",
"braces": ">=3.0.3 <4.0.0",
"cross-spawn": "^7.0.5",
"dompurify": "3.2.4",
"form-data": "^4.0.4",
"glob": "^11.1.0",
"sha.js": "^2.4.12",
"tar-fs": ">=2.1.3 < 3.0.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import {
import { DateTime } from 'luxon';
import { FC, useContext } from 'react';
import { UseQueryResult } from 'react-query';
import { useHighestPrivilegeTagId, useOwnedTagId, usePrivilegeZoneAnalysis, usePZPathParams } from '../../../hooks';
import { useHighestPrivilegeTagId, useOwnedTagId, usePZPathParams, usePrivilegeZoneAnalysis } from '../../../hooks';
import { LuxonFormat } from '../../../utils';
import { Cypher } from '../Cypher/Cypher';
import { PrivilegeZonesContext } from '../PrivilegeZonesContext';
Expand Down Expand Up @@ -92,7 +92,14 @@ const TagDetails: FC<{ tagData: AssetGroupTag }> = ({ tagData }) => {
</div>
{Certification && (
<div className='mt-4'>
<DetailField label='Analysis' value={(privilegeZoneAnalysisEnabled && analysis_enabled) || tagId === topTagId ? 'Enabled' : 'Disabled'} />
<DetailField
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

came in by PFC

label='Analysis'
value={
(privilegeZoneAnalysisEnabled && analysis_enabled) || tagId === topTagId
? 'Enabled'
: 'Disabled'
}
/>
</div>
)}
<div className='mt-4'>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,8 @@ export const TagForm: FC = () => {
'Require manual review and approval of object membership in the Zone.'
}
contentProps={{
className: 'max-w-80 dark:bg-neutral-dark-5 dark:text-neutral-light-1 border-0',
className:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

came in by PFC

'max-w-80 dark:bg-neutral-dark-5 dark:text-neutral-light-1 border-0',
side: 'right',
align: 'end',
}}>
Expand Down Expand Up @@ -444,13 +445,15 @@ export const TagForm: FC = () => {
name='analysis_enabled'
render={({ field }) => (
<FormItem>
<FormLabel className='flex gap-2 items-center'>Enable Analysis
<FormLabel className='flex gap-2 items-center'>
Enable Analysis
<Tooltip
tooltip={
'Enables Analysis to produce Attack Path Findings for the Zone.'
}
contentProps={{
className: 'max-w-80 dark:bg-neutral-dark-5 dark:text-neutral-light-1 border-0',
className:
'max-w-80 dark:bg-neutral-dark-5 dark:text-neutral-light-1 border-0',
side: 'right',
align: 'end',
}}>
Expand Down Expand Up @@ -486,7 +489,8 @@ export const TagForm: FC = () => {
'Custom glyphs visually mark nodes in the graph for quick context.'
}
contentProps={{
className: 'max-w-80 dark:bg-neutral-dark-5 dark:text-neutral-light-1 border-0',
className:
'max-w-80 dark:bg-neutral-dark-5 dark:text-neutral-light-1 border-0',
side: 'right',
align: 'end',
}}>
Expand Down
137 changes: 53 additions & 84 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1106,6 +1106,22 @@ __metadata:
languageName: node
linkType: hard

"@isaacs/balanced-match@npm:^4.0.1":
version: 4.0.1
resolution: "@isaacs/balanced-match@npm:4.0.1"
checksum: 102fbc6d2c0d5edf8f6dbf2b3feb21695a21bc850f11bc47c4f06aa83bd8884fde3fe9d6d797d619901d96865fdcb4569ac2a54c937992c48885c5e3d9967fe8
languageName: node
linkType: hard

"@isaacs/brace-expansion@npm:^5.0.0":
version: 5.0.0
resolution: "@isaacs/brace-expansion@npm:5.0.0"
dependencies:
"@isaacs/balanced-match": ^4.0.1
checksum: d7a3b8b0ddbf0ccd8eeb1300e29dd0a0c02147e823d8138f248375a365682360620895c66d113e05ee02389318c654379b0e538b996345b83c914941786705b1
languageName: node
linkType: hard

"@isaacs/cliui@npm:^8.0.2":
version: 8.0.2
resolution: "@isaacs/cliui@npm:8.0.2"
Expand Down Expand Up @@ -1643,13 +1659,6 @@ __metadata:
languageName: node
linkType: hard

"@pkgjs/parseargs@npm:^0.11.0":
version: 0.11.0
resolution: "@pkgjs/parseargs@npm:0.11.0"
checksum: 6ad6a00fc4f2f2cfc6bff76fb1d88b8ee20bc0601e18ebb01b6d4be583733a860239a521a7fbca73b612e66705078809483549d2b18f370eb346c5155c8e4a0f
languageName: node
linkType: hard

"@popperjs/core@npm:^2.11.8":
version: 2.11.8
resolution: "@popperjs/core@npm:2.11.8"
Expand Down Expand Up @@ -6741,13 +6750,13 @@ __metadata:
languageName: node
linkType: hard

"foreground-child@npm:^3.1.0":
version: 3.1.1
resolution: "foreground-child@npm:3.1.1"
"foreground-child@npm:^3.3.1":
version: 3.3.1
resolution: "foreground-child@npm:3.3.1"
dependencies:
cross-spawn: ^7.0.0
cross-spawn: ^7.0.6
signal-exit: ^4.0.1
checksum: 139d270bc82dc9e6f8bc045fe2aae4001dc2472157044fdfad376d0a3457f77857fa883c1c8b21b491c6caade9a926a4bed3d3d2e8d3c9202b151a4cbbd0bcd5
checksum: b2c1a6fc0bf0233d645d9fefdfa999abf37db1b33e5dab172b3cbfb0662b88bfbd2c9e7ab853533d199050ec6b65c03fcf078fc212d26e4990220e98c6930eef
languageName: node
linkType: hard

Expand Down Expand Up @@ -6815,13 +6824,6 @@ __metadata:
languageName: node
linkType: hard

"fs.realpath@npm:^1.0.0":
version: 1.0.0
resolution: "fs.realpath@npm:1.0.0"
checksum: 99ddea01a7e75aa276c250a04eedeffe5662bce66c65c07164ad6264f9de18fb21be9433ead460e54cff20e31721c811f4fb5d70591799df5f85dce6d6746fd0
languageName: node
linkType: hard

"fsevents@npm:~2.3.2, fsevents@npm:~2.3.3":
version: 2.3.3
resolution: "fsevents@npm:2.3.3"
Expand Down Expand Up @@ -6998,33 +7000,19 @@ __metadata:
languageName: node
linkType: hard

"glob@npm:^10.2.2, glob@npm:^10.3.10, glob@npm:^10.4.1":
version: 10.4.5
resolution: "glob@npm:10.4.5"
"glob@npm:^11.1.0":
version: 11.1.0
resolution: "glob@npm:11.1.0"
dependencies:
foreground-child: ^3.1.0
jackspeak: ^3.1.2
minimatch: ^9.0.4
foreground-child: ^3.3.1
jackspeak: ^4.1.1
minimatch: ^10.1.1
minipass: ^7.1.2
package-json-from-dist: ^1.0.0
path-scurry: ^1.11.1
path-scurry: ^2.0.0
bin:
glob: dist/esm/bin.mjs
checksum: 0bc725de5e4862f9f387fd0f2b274baf16850dcd2714502ccf471ee401803997983e2c05590cb65f9675a3c6f2a58e7a53f9e365704108c6ad3cbf1d60934c4a
languageName: node
linkType: hard

"glob@npm:^7.1.3, glob@npm:^7.1.4":
version: 7.2.3
resolution: "glob@npm:7.2.3"
dependencies:
fs.realpath: ^1.0.0
inflight: ^1.0.4
inherits: 2
minimatch: ^3.1.1
once: ^1.3.0
path-is-absolute: ^1.0.0
checksum: 29452e97b38fa704dabb1d1045350fb2467cf0277e155aa9ff7077e90ad81d1ea9d53d3ee63bd37c05b09a065e90f16aec4a65f5b8de401d1dac40bc5605d133
checksum: 1cfbdc743db77688727411f00233404eb9c67d7c89a4ff1f8b8e60031382d4f695ecf60f279d0d45e5ba2377610572d013a858a433b45a133cf20aba6e3206e0
languageName: node
linkType: hard

Expand Down Expand Up @@ -7461,17 +7449,7 @@ __metadata:
languageName: node
linkType: hard

"inflight@npm:^1.0.4":
version: 1.0.6
resolution: "inflight@npm:1.0.6"
dependencies:
once: ^1.3.0
wrappy: 1
checksum: f4f76aa072ce19fae87ce1ef7d221e709afb59d445e05d47fba710e85470923a75de35bfae47da6de1b18afc3ce83d70facf44cfb0aff89f0a3f45c0a0244dfd
languageName: node
linkType: hard

"inherits@npm:2, inherits@npm:^2.0.3, inherits@npm:^2.0.4":
"inherits@npm:^2.0.3, inherits@npm:^2.0.4":
version: 2.0.4
resolution: "inherits@npm:2.0.4"
checksum: 4a48a733847879d6cf6691860a6b1e3f0f4754176e4d71494c41f3475553768b10f84b5ce1d40fbd0e34e6bfbb864ee35858ad4dd2cf31e02fc4a154b724d7f1
Expand Down Expand Up @@ -8007,16 +7985,12 @@ __metadata:
languageName: node
linkType: hard

"jackspeak@npm:^3.1.2":
version: 3.4.3
resolution: "jackspeak@npm:3.4.3"
"jackspeak@npm:^4.1.1":
version: 4.1.1
resolution: "jackspeak@npm:4.1.1"
dependencies:
"@isaacs/cliui": ^8.0.2
"@pkgjs/parseargs": ^0.11.0
dependenciesMeta:
"@pkgjs/parseargs":
optional: true
checksum: be31027fc72e7cc726206b9f560395604b82e0fddb46c4cbf9f97d049bcef607491a5afc0699612eaa4213ca5be8fd3e1e7cd187b3040988b65c9489838a7c00
checksum: daca714c5adebfb80932c0b0334025307b68602765098d73d52ec546bc4defdb083292893384261c052742255d0a77d8fcf96f4c669bcb4a99b498b94a74955e
languageName: node
linkType: hard

Expand Down Expand Up @@ -8575,14 +8549,7 @@ __metadata:
languageName: node
linkType: hard

"lru-cache@npm:^10.2.0":
version: 10.4.3
resolution: "lru-cache@npm:10.4.3"
checksum: 6476138d2125387a6d20f100608c2583d415a4f64a0fecf30c9e2dda976614f09cad4baa0842447bd37dd459a7bd27f57d9d8f8ce558805abd487c583f3d774a
languageName: node
linkType: hard

"lru-cache@npm:^11.2.1":
"lru-cache@npm:^11.0.0, lru-cache@npm:^11.2.1":
version: 11.2.2
resolution: "lru-cache@npm:11.2.2"
checksum: 052b3d0b81a02dd017e8b6d82422bed273732c89c9c63762f538e0a75b7018247896b365c19d9392cc7de9c6a304cde3ac11eb7376f96a4885d0ab32b5c46d5b
Expand Down Expand Up @@ -8815,7 +8782,16 @@ __metadata:
languageName: node
linkType: hard

"minimatch@npm:^3.0.5, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2":
"minimatch@npm:^10.1.1":
version: 10.1.1
resolution: "minimatch@npm:10.1.1"
dependencies:
"@isaacs/brace-expansion": ^5.0.0
checksum: 8820c0be92994f57281f0a7a2cc4268dcc4b610f9a1ab666685716b4efe4b5898b43c835a8f22298875b31c7a278a5e3b7e253eee7c886546bb0b61fb94bca6b
languageName: node
linkType: hard

"minimatch@npm:^3.0.5, minimatch@npm:^3.1.2":
version: 3.1.2
resolution: "minimatch@npm:3.1.2"
dependencies:
Expand Down Expand Up @@ -8916,7 +8892,7 @@ __metadata:
languageName: node
linkType: hard

"minipass@npm:^5.0.0 || ^6.0.2 || ^7.0.0, minipass@npm:^7.1.2":
"minipass@npm:^7.1.2":
version: 7.1.2
resolution: "minipass@npm:7.1.2"
checksum: 2bfd325b95c555f2b4d2814d49325691c7bee937d753814861b0b49d5edcda55cbbf22b6b6a60bb91eddac8668771f03c5ff647dcd9d0f798e9548b9cdc46ee3
Expand Down Expand Up @@ -9330,7 +9306,7 @@ __metadata:
languageName: node
linkType: hard

"once@npm:^1.3.0, once@npm:^1.3.1, once@npm:^1.4.0":
"once@npm:^1.3.1, once@npm:^1.4.0":
version: 1.4.0
resolution: "once@npm:1.4.0"
dependencies:
Expand Down Expand Up @@ -9573,13 +9549,6 @@ __metadata:
languageName: node
linkType: hard

"path-is-absolute@npm:^1.0.0":
version: 1.0.1
resolution: "path-is-absolute@npm:1.0.1"
checksum: 060840f92cf8effa293bcc1bea81281bd7d363731d214cbe5c227df207c34cd727430f70c6037b5159c8a870b9157cba65e775446b0ab06fd5ecc7e54615a3b8
languageName: node
linkType: hard

"path-key@npm:^3.0.0, path-key@npm:^3.1.0":
version: 3.1.1
resolution: "path-key@npm:3.1.1"
Expand All @@ -9594,13 +9563,13 @@ __metadata:
languageName: node
linkType: hard

"path-scurry@npm:^1.11.1":
version: 1.11.1
resolution: "path-scurry@npm:1.11.1"
"path-scurry@npm:^2.0.0":
version: 2.0.1
resolution: "path-scurry@npm:2.0.1"
dependencies:
lru-cache: ^10.2.0
minipass: ^5.0.0 || ^6.0.2 || ^7.0.0
checksum: 890d5abcd593a7912dcce7cf7c6bf7a0b5648e3dee6caf0712c126ca0a65c7f3d7b9d769072a4d1baf370f61ce493ab5b038d59988688e0c5f3f646ee3c69023
lru-cache: ^11.0.0
minipass: ^7.1.2
checksum: a022c6c38fed836079d03f96540eafd4cd989acf287b99613c82300107f366e889513ad8b671a2039a9d251122621f9c6fa649f0bd4d50acf95a6943a6692dbf
languageName: node
linkType: hard

Expand Down