mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
Lower needed exposed ports warning to info (#116)
This commit is contained in:
parent
02265400d9
commit
305a99c890
1 changed files with 1 additions and 1 deletions
|
@ -2862,7 +2862,7 @@ class Script(TestSuite):
|
|||
if self.contains("yunohost firewall allow") and not self.contains(
|
||||
"--needs_exposed_ports"
|
||||
):
|
||||
yield Warning(
|
||||
yield Info(
|
||||
"You used 'yunohost firewall allow' to expose a port on the outside but did not use 'yunohost service add' with '--needs_exposed_ports' ... If you are ABSOLUTELY SURE that the service needs to be exposed on THE OUTSIDE, then add '--needs_exposed_ports' to 'yunohost service add' with the relevant port number. Otherwise, opening the port leads to a significant security risk and you should keep the damn port closed !"
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue