Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
qiuqunfeng
waf-console
Commits
2cbd500e
Commit
2cbd500e
authored
Feb 07, 2025
by
qiuqunfeng
Browse files
commit
parent
8a2d5b05
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
internal/service/waf.go
internal/service/waf.go
+8
-0
No files found.
internal/service/waf.go
View file @
2cbd500e
...
...
@@ -49,6 +49,14 @@ func (s *wafService) CreateWaf(ctx context.Context, req *CreateWafReq) (*Waf, er
Name
:
req
.
GatewayName
,
Namespace
:
req
.
Namespace
,
},
Uri
:
&
v1alpha1
.
StringMatch
{
Prefix
:
"/"
,
},
LogConfig
:
&
v1alpha1
.
LogConfig
{
Enable
:
1
,
Level
:
"info"
,
},
Mode
:
"block"
,
},
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment