Skip to content

Commit

Permalink
Update S6473 to add parameter ports to kubernetes (#4557)
Browse files Browse the repository at this point in the history
  • Loading branch information
rudy-regazzoni-sonarsource authored Dec 5, 2024
1 parent 8ab7b69 commit 11265c1
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 22 deletions.
12 changes: 1 addition & 11 deletions rules/S6473/ansible/rule.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,7 @@ include::../message.adoc[]

include::../highlighting.adoc[]

=== Parameters

.ports
****
----
22, 23, 3389, 5800, 5900
----
Comma separated list of sensitive ports that expose administration services.
****
include::../parameters.adoc[]

'''

Expand Down
12 changes: 1 addition & 11 deletions rules/S6473/docker/rule.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,7 @@ include::../message.adoc[]

include::../highlighting.adoc[]

=== Parameters

.ports
****
----
22, 23, 3389, 5800, 5900
----
Comma separated list of sensitive ports that expose administration services.
****
include::../parameters.adoc[]

'''

Expand Down
4 changes: 4 additions & 0 deletions rules/S6473/kubernetes/rule.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,8 @@ include::../message.adoc[]

include::../highlighting.adoc[]

include::../parameters.adoc[]

'''

endif::env-github,rspecator-view[]
11 changes: 11 additions & 0 deletions rules/S6473/parameters.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
=== Parameters

.ports
****
----
22, 23, 3389, 5800, 5900
----
Comma separated list of sensitive ports that expose administration services.
****

0 comments on commit 11265c1

Please sign in to comment.