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

SBOM View #6035

Draft
wants to merge 115 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
115 commits
Select commit Hold shift + click to select a range
e1649dd
Initial dump
charleshu-8 Jul 10, 2024
c5f5178
Merge branch 'master' into sbomMapper
charleshu-8 Jul 16, 2024
a32c643
Linting
charleshu-8 Jul 16, 2024
739c654
Linting
charleshu-8 Jul 16, 2024
86a3a38
Linting
charleshu-8 Jul 16, 2024
71d778a
Change in license handling
charleshu-8 Jul 16, 2024
9c6b85e
Passthrough implementation
charleshu-8 Jul 18, 2024
0569126
Finished intermediary object generation
charleshu-8 Jul 22, 2024
452eec6
Linting
charleshu-8 Jul 22, 2024
f5732a7
Merge branch 'master' into sbomMapper
charleshu-8 Jul 22, 2024
ab79f27
Linting
charleshu-8 Jul 22, 2024
d08b9f2
Logical density change
charleshu-8 Jul 22, 2024
5045bb7
Mapping progress; component flattening
charleshu-8 Jul 22, 2024
f1a7460
Linting
charleshu-8 Jul 22, 2024
ba42d20
create basic table and sidebar functionality
kemley76 Jul 22, 2024
f73acb6
built out the UI to view the additional component details
kemley76 Jul 23, 2024
3370eb3
Quick typing fix
charleshu-8 Jul 23, 2024
2d0604b
Mapping progress
charleshu-8 Jul 24, 2024
5f8bb76
Formatting overhaul; additional tags; results section
charleshu-8 Jul 24, 2024
9b3b40c
Merge branch 'sbomMapper' into sbom-view
kemley76 Jul 25, 2024
12da117
VEX ingestion; various mapping adjustments
charleshu-8 Jul 25, 2024
73b1f48
Test fix
charleshu-8 Jul 25, 2024
f7ea434
VEX ingestion fix
charleshu-8 Jul 25, 2024
26b5aac
Clean up
charleshu-8 Jul 25, 2024
7b9201c
Test fix
charleshu-8 Jul 25, 2024
702859d
added option to choose which headers are viewable on the SBOM compone…
kemley76 Jul 25, 2024
0fd592b
Merge branch 'master' into sbomMapper
charleshu-8 Jul 26, 2024
e80302f
Merge branch 'sbomMapper' into sbom-view
kemley76 Jul 26, 2024
7aa8322
VEX support
charleshu-8 Jul 26, 2024
6ec7c71
Merge branch 'sbomMapper' of https://github.com/mitre/heimdall2 into …
charleshu-8 Jul 26, 2024
dfbdf7b
linting
kemley76 Jul 26, 2024
57a6c8a
Refactoring
charleshu-8 Jul 29, 2024
cec0115
add ability to navigate from vulns to components
kemley76 Jul 29, 2024
fd8a14f
Merge branch 'master' into sbomMapper
charleshu-8 Jul 30, 2024
ec42b2f
Component field filtering and vulnerability ID appending
charleshu-8 Jul 30, 2024
043ca2b
VEX alignment changes
charleshu-8 Jul 30, 2024
ee47c70
Merge branch 'sbomMapper' into sbom-view
kemley76 Jul 30, 2024
633b637
Impact aggregation change
charleshu-8 Jul 31, 2024
f1b873b
SBOM support visibility; auto cleaning control Description
charleshu-8 Jul 31, 2024
e605a88
Various styling changes
charleshu-8 Jul 31, 2024
62b3b35
Testing update
charleshu-8 Jul 31, 2024
23b7ba8
Linting
charleshu-8 Jul 31, 2024
dad20e3
add column to display vulns affecting a given component
kemley76 Jul 31, 2024
9de0b80
Merge branch 'sbomMapper' into sbom-view
kemley76 Jul 31, 2024
f88b5fa
clean up truncation of component vuln tooltips
kemley76 Jul 31, 2024
9682304
add ability to naviagate from component to a vuln that affects it
kemley76 Jul 31, 2024
fe56281
add ability to view all component data
kemley76 Aug 1, 2024
609872b
Move porfile desc to summary
charleshu-8 Aug 2, 2024
35e2be8
Merge branch 'master' into sbomMapper
charleshu-8 Aug 2, 2024
5df72ae
custom tab for component.properties in SBOM view
kemley76 Aug 2, 2024
c728d74
Merge branch 'sbomMapper' into sbom-view
kemley76 Aug 2, 2024
08d7c74
Added conditional to control title genreation
charleshu-8 Aug 2, 2024
ea2506e
Merge branch 'sbomMapper' of https://github.com/mitre/heimdall2 into …
charleshu-8 Aug 2, 2024
7c298fe
add link in component vulnerabilities tab to navigate back to results…
kemley76 Aug 2, 2024
d9fc3f3
Merge branch 'master' into sbomMapper
charleshu-8 Aug 5, 2024
33f460a
add ability to filter out components without any vulns
kemley76 Aug 5, 2024
5ef2478
Merge branch 'sbomMapper' into sbom-view
kemley76 Aug 5, 2024
a5b09e4
redesigned how to navigate to sbom view
kemley76 Aug 5, 2024
2d0bf1a
Merge branch 'master' into sbomMapper
charleshu-8 Aug 6, 2024
d075534
refined sidebar and data storing/filtering for SBOM view
kemley76 Aug 6, 2024
d6ce91c
Merge branch 'master' into sbomMapper
charleshu-8 Aug 7, 2024
e69f71b
Merge branch 'master' into sbom-view
kemley76 Aug 7, 2024
18673b8
add ability to view top level sbom component and metadata
kemley76 Aug 7, 2024
ada82be
fix small logial error
kemley76 Aug 7, 2024
55eac14
refactor sbom component filtering function
kemley76 Aug 7, 2024
0e14fe7
Review changes
charleshu-8 Aug 7, 2024
7a557e9
Merge branch 'master' into sbomMapper
charleshu-8 Aug 7, 2024
a219581
Adding CycloneDX types
charleshu-8 Aug 7, 2024
a3bbaeb
CWE tag fix
charleshu-8 Aug 8, 2024
9c4677e
Linting
charleshu-8 Aug 8, 2024
2c581f6
Typing
charleshu-8 Aug 8, 2024
7fd52f7
Linting
charleshu-8 Aug 8, 2024
02912cc
Linting
charleshu-8 Aug 8, 2024
603d6cb
Linting
charleshu-8 Aug 8, 2024
17b3426
Linting
charleshu-8 Aug 8, 2024
516ef25
Fixing typing errors
charleshu-8 Aug 8, 2024
3c2517b
Merge branch 'sbomMapper' into sbom-view
kemley76 Aug 8, 2024
f5e469c
built beginnings of dependency tree viewer
kemley76 Aug 9, 2024
a9a4007
Review changes
charleshu-8 Aug 9, 2024
ec9c5e6
Tag changes
charleshu-8 Aug 12, 2024
ef3f64e
Ref refactor
charleshu-8 Aug 12, 2024
3becdd7
overhaul of sbom representation in SBOM view
kemley76 Aug 12, 2024
8e089fd
Merge branch 'sbomMapper' into sbom-view
kemley76 Aug 12, 2024
4df5a0d
Typing refactor, component hierarchy refactor
charleshu-8 Aug 12, 2024
a687b4c
fix display issues with external references in SBOM view
kemley76 Aug 12, 2024
79777b6
force the sbom component columns to have consistent ordering
kemley76 Aug 13, 2024
cd74818
Typing fixes
charleshu-8 Aug 13, 2024
5270436
re-adjust structure of sbom component filtering
kemley76 Aug 13, 2024
39480e3
Continued typing edits
charleshu-8 Aug 13, 2024
86604cd
Message refactor
charleshu-8 Aug 13, 2024
5bec252
Tags & description field changes
charleshu-8 Aug 13, 2024
eee78e4
Merge branch 'master' into sbomMapper
charleshu-8 Aug 13, 2024
e105352
updated route navigation for when SBOMs are loaded
kemley76 Aug 14, 2024
385e010
many small UI QoL improvements
kemley76 Aug 14, 2024
8487233
Generic testing
charleshu-8 Aug 14, 2024
524e494
ensure that all components have a bom-ref
kemley76 Aug 14, 2024
ce6d5d5
ensure expanded components can remain open when filtering
kemley76 Aug 14, 2024
6808709
Refactoring
charleshu-8 Aug 15, 2024
368fb48
Merge branch 'master' into sbomMapper
charleshu-8 Aug 15, 2024
f68d4dc
Typing refactor
charleshu-8 Aug 15, 2024
1f7ac58
added component navigation on dependency tree
kemley76 Aug 15, 2024
bbf55d3
Merge branch 'sbomMapper' into sbom-view
kemley76 Aug 15, 2024
37cfce5
minor formatting
kemley76 Aug 16, 2024
6432c5b
add functionality to search bar
kemley76 Aug 16, 2024
d4cc79a
Eugene changes
charleshu-8 Aug 16, 2024
f34cc21
fixed issues with dependency tree traversal
kemley76 Aug 16, 2024
a5dad39
Descriptions field fix
charleshu-8 Aug 16, 2024
20c5e43
Merge branch 'sbomMapper' into sbom-view
kemley76 Aug 16, 2024
b9a50b9
ensure that any url fields render as link in ComponentContent
kemley76 Aug 16, 2024
efbb901
fix bug when clearing SBOM search bar filter
kemley76 Aug 16, 2024
4db42f3
remove todo comments
kemley76 Aug 16, 2024
f99ed99
added ability to see severity counts in tree view
kemley76 Aug 16, 2024
efe0180
fixed issue with null route in test
kemley76 Aug 16, 2024
8b781e2
fix code smells
kemley76 Aug 16, 2024
c5f5e61
Merge branch 'master' into sbom-view
kemley76 Aug 16, 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
14 changes: 14 additions & 0 deletions apps/frontend/src/components/cards/controltable/ControlRowCol.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@
class="pa-2 mono pre-formatted"
v-html="sanitize_html(resultMessage.trim())"
/>
<v-chip v-if="componentRef" :to="{name: 'sbom', query: {componentRef}}">
See more component details
<v-icon right> mdi-view-list-outline </v-icon>
</v-chip>
<!-- eslint-enable vue/no-v-html -->
</v-col>
<v-col v-if="result['backtrace'] !== undefined" cols="12" class="pa-2">
Expand Down Expand Up @@ -83,6 +87,16 @@ export default class ControlRowCol extends mixins(HtmlSanitizeMixin) {
? `-Message-\n${this.result.message}\n\n-Skip Message-\n${this.result.skip_message}`
: this.result.message || this.result.skip_message;
}

get componentRef(): string | null {
// Checks to see if the result represents a component
// from an SBOM and contains a bom-ref
const matches = this.result.message?.match(/- Bom-ref: (?<ref>.+)$/m);
if (matches && matches.groups?.ref) {
return matches.groups.ref;
}
return null;
}
}
</script>

Expand Down
Loading
Loading