Skip to content

Commit

Permalink
feat(essntl-3718): inventory groups filter and columns
Browse files Browse the repository at this point in the history
  • Loading branch information
Fewwy committed Jul 14, 2023
1 parent ddf5246 commit 6e4cf50
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 171 deletions.
170 changes: 0 additions & 170 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/SmartComponents/ComplianceSystems/ComplianceSystems.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export const ComplianceSystems = () => {
Columns.customName({
showLink: true,
}),
Columns.inventoryColumn('groups'),
Columns.inventoryColumn('tags'),
Columns.OS,
Columns.Policies,
Expand Down
1 change: 1 addition & 0 deletions src/SmartComponents/CreatePolicy/EditPolicySystems.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ export const EditPolicySystems = ({
},
sortBy: ['name'],
},
Columns.inventoryColumn('groups'),
Columns.inventoryColumn('tags'),
Columns.OperatingSystem,
]}
Expand Down
1 change: 1 addition & 0 deletions src/SmartComponents/EditPolicy/EditPolicySystemsTab.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ const EditPolicySystemsTab = ({ policy, onSystemSelect, selectedSystems }) => {
<SystemsTable
columns={[
Columns.Name,
Columns.inventoryColumn('groups'),
Columns.inventoryColumn('tags'),
Columns.OperatingSystem,
]}
Expand Down
1 change: 1 addition & 0 deletions src/SmartComponents/PolicyDetails/PolicySystemsTab.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const PolicySystemsTab = ({ policy }) => {
Columns.customName({
showLink: true,
}),
Columns.inventoryColumn('groups'),
Columns.inventoryColumn('tags'),
Columns.OS,
Columns.SsgVersion,
Expand Down
1 change: 1 addition & 0 deletions src/SmartComponents/ReportDetails/ReportDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ export const ReportDetails = ({ route }) => {
showLink: true,
showOsInfo: true,
}),
Columns.inventoryColumn('groups'),
Columns.inventoryColumn('tags'),
Columns.SsgVersion,
Columns.FailedRules,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ export const ReportDetails = ({ route }) => {
showLink: true,
showOsInfo: true,
}),
Columns.inventoryColumn('groups'),
Columns.inventoryColumn('tags'),
Columns.SsgVersion,
Columns.FailedRules,
Expand Down
2 changes: 1 addition & 1 deletion src/SmartComponents/SystemsTable/SystemsTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ export const SystemsTable = ({
noSystemsTable={noSystemsTable}
ref={inventory}
getEntities={getEntities}
hideFilters={{ all: true, tags: false }}
hideFilters={{ all: true, tags: false, hostGroupFilter: false }}
showTags
onLoad={defaultOnLoad(columns)}
tableProps={{
Expand Down

0 comments on commit 6e4cf50

Please sign in to comment.