Commit d2a1b179 authored by Zamir Martins Filho's avatar Zamir Martins Filho

Change from vendor specific to Gitlab

Replacing Cilium by Container Network
Policies and ModSecurity by Web
Application Firewall across the UI
parent 8c1c9585
...@@ -215,10 +215,10 @@ export default { ...@@ -215,10 +215,10 @@ export default {
</div> </div>
<div class="form-group flex flex-wrap"> <div class="form-group flex flex-wrap">
<gl-form-checkbox :checked="wafLogEnabled" @input="wafLogChanged"> <gl-form-checkbox :checked="wafLogEnabled" @input="wafLogChanged">
<strong>{{ s__('ClusterIntegration|Send ModSecurity Logs') }}</strong> <strong>{{ s__('ClusterIntegration|Send Web Application Firewall Logs') }}</strong>
</gl-form-checkbox> </gl-form-checkbox>
<gl-form-checkbox :checked="ciliumLogEnabled" @input="ciliumLogChanged"> <gl-form-checkbox :checked="ciliumLogEnabled" @input="ciliumLogChanged">
<strong>{{ s__('ClusterIntegration|Send Cilium Logs') }}</strong> <strong>{{ s__('ClusterIntegration|Send Container Network Policies Logs') }}</strong>
</gl-form-checkbox> </gl-form-checkbox>
</div> </div>
<div v-if="showButtons" class="mt-3"> <div v-if="showButtons" class="mt-3">
......
...@@ -13,12 +13,12 @@ import { ...@@ -13,12 +13,12 @@ import {
GlIcon, GlIcon,
} from '@gitlab/ui'; } from '@gitlab/ui';
import eventHub from '~/clusters/event_hub'; import eventHub from '~/clusters/event_hub';
import modSecurityLogo from 'images/cluster_app_logos/modsecurity.png'; import modSecurityLogo from 'images/cluster_app_logos/gitlab.png';
const { UPDATING, UNINSTALLING, INSTALLING, INSTALLED, UPDATED } = APPLICATION_STATUS; const { UPDATING, UNINSTALLING, INSTALLING, INSTALLED, UPDATED } = APPLICATION_STATUS;
export default { export default {
title: 'ModSecurity Web Application Firewall', title: 'Web Application Firewall',
modsecurityUrl: 'https://modsecurity.org/about.html', modsecurityUrl: 'https://modsecurity.org/about.html',
components: { components: {
GlAlert, GlAlert,
......
---
title: Change from vendor specific to Gitlab
merge_request: 34576
author:
type: changed
...@@ -5350,10 +5350,10 @@ msgstr "" ...@@ -5350,10 +5350,10 @@ msgstr ""
msgid "ClusterIntegration|Select zone to choose machine type" msgid "ClusterIntegration|Select zone to choose machine type"
msgstr "" msgstr ""
msgid "ClusterIntegration|Send Cilium Logs" msgid "ClusterIntegration|Send Container Network Policies Logs"
msgstr "" msgstr ""
msgid "ClusterIntegration|Send ModSecurity Logs" msgid "ClusterIntegration|Send Web Application Firewall Logs"
msgstr "" msgstr ""
msgid "ClusterIntegration|Service Token" msgid "ClusterIntegration|Service Token"
......
...@@ -70,12 +70,12 @@ describe('FluentdOutputSettings', () => { ...@@ -70,12 +70,12 @@ describe('FluentdOutputSettings', () => {
}); });
describe.each` describe.each`
desc | changeFn | key | value desc | changeFn | key | value
${'when protocol dropdown is triggered'} | ${() => changeProtocol(1)} | ${'protocol'} | ${'udp'} ${'when protocol dropdown is triggered'} | ${() => changeProtocol(1)} | ${'protocol'} | ${'udp'}
${'when host is changed'} | ${() => changeHost('test-host')} | ${'host'} | ${'test-host'} ${'when host is changed'} | ${() => changeHost('test-host')} | ${'host'} | ${'test-host'}
${'when port is changed'} | ${() => changePort(123)} | ${'port'} | ${123} ${'when port is changed'} | ${() => changePort(123)} | ${'port'} | ${123}
${'when wafLogEnabled changes'} | ${() => changeCheckbox(findCheckbox('Send ModSecurity Logs'))} | ${'wafLogEnabled'} | ${!defaultSettings.wafLogEnabled} ${'when wafLogEnabled changes'} | ${() => changeCheckbox(findCheckbox('Send Web Application Firewall Logs'))} | ${'wafLogEnabled'} | ${!defaultSettings.wafLogEnabled}
${'when ciliumLogEnabled changes'} | ${() => changeCheckbox(findCheckbox('Send Cilium Logs'))} | ${'ciliumLogEnabled'} | ${!defaultSettings.ciliumLogEnabled} ${'when ciliumLogEnabled changes'} | ${() => changeCheckbox(findCheckbox('Send Container Network Policies Logs'))} | ${'ciliumLogEnabled'} | ${!defaultSettings.ciliumLogEnabled}
`('$desc', ({ changeFn, key, value }) => { `('$desc', ({ changeFn, key, value }) => {
beforeEach(() => { beforeEach(() => {
changeFn(); changeFn();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment