mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-07-28 21:38:25 +00:00
feat: prevent planning and applying directories outside PR scope using --restrict-file-list (#2440)
* Add --strict-plan-file-list config * Update server.go * Update server-configuration.md * Update server_test.go * Run gofmt -w * Add --strict-plan-file-list for projects * Add --strict-plan-file-list tests * Change --strict-plan-file-list to --restrict-file-list * Update --restrict-file-list documentation * Update --restrict-file-list and --enable-regexp-cmd documentation Co-authored-by: Fabiano Honorato <fabiano.honorato@ifood.com.br> Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com> Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
This commit is contained in:
committed by
GitHub
parent
c800f706e4
commit
66dc30e755
@@ -103,6 +103,7 @@ var testFlags = map[string]interface{}{
|
||||
SlackTokenFlag: "slack-token",
|
||||
SSLCertFileFlag: "cert-file",
|
||||
SSLKeyFileFlag: "key-file",
|
||||
RestrictFileList: false,
|
||||
TFDownloadURLFlag: "https://my-hostname.com",
|
||||
TFEHostnameFlag: "my-hostname",
|
||||
TFELocalExecutionModeFlag: true,
|
||||
|
||||
Reference in New Issue
Block a user