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

Oui Security Dashboards Changes #1531

Closed
Closed
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
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,14 @@
EuiPanel,
EuiSpacer,
EuiTitle,
EuiDescriptionList,
EuiDescriptionListDescription,
EuiDescriptionListTitle,
} from '@elastic/eui';
import { Toast } from '@elastic/eui/src/components/toast/global_toast_list';
import { cloneDeep, set, without } from 'lodash';
import { AppDependencies } from '../../../types';
import { SETTING_GROUPS, SettingMapItem } from './constants';
import { SETTING_GROUPS, SettingGroup, SettingMapItem } from './constants';
import { EditSettingGroup } from './edit-setting-group';
import { AuditLoggingSettings } from './types';
import { buildHashUrl, buildUrl } from '../../utils/url-builder';
Expand Down Expand Up @@ -229,6 +232,24 @@
);
};

const renderSettingGroup = (settingGroup: SettingGroup) => {
return (

Check warning on line 236 in public/apps/configuration/panels/audit-logging/audit-logging-edit-settings.tsx

View check run for this annotation

Codecov / codecov/patch

public/apps/configuration/panels/audit-logging/audit-logging-edit-settings.tsx#L236

Added line #L236 was not covered by tests
<EuiPanel>
<EuiTitle size="s">
<h3>{settingGroup.title}</h3>
</EuiTitle>
<EuiDescriptionList textStyle="reverse">
{settingGroup.settings.map((setting) => (
<React.Fragment key={setting.title}>

Check warning on line 243 in public/apps/configuration/panels/audit-logging/audit-logging-edit-settings.tsx

View check run for this annotation

Codecov / codecov/patch

public/apps/configuration/panels/audit-logging/audit-logging-edit-settings.tsx#L242-L243

Added lines #L242 - L243 were not covered by tests
<EuiDescriptionListTitle>{setting.title}</EuiDescriptionListTitle>
<EuiDescriptionListDescription>{setting.description}</EuiDescriptionListDescription>
</React.Fragment>
))}
</EuiDescriptionList>
</EuiPanel>
);
};

let content;

if (props.setting === 'general') {
Expand Down
79 changes: 1 addition & 78 deletions public/assets/get_started.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@
"**/request.ts",
"src/**/*"
],
}
}
Loading