diff options
| author | James Elliott <james-d-elliott@users.noreply.github.com> | 2020-05-05 17:57:30 +1000 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-05 17:57:30 +1000 | 
| commit | c13196a86e267298edb3458d3e47918565e3d139 (patch) | |
| tree | 3fa6692721ea2a4cbf4aff06533104eb91715a16 /cmd/authelia-suites | |
| parent | 87053c93120761639837745a498f7d13b78f7d92 (diff) | |
[CI] Enable gosec linter (#979)
* fix tee append
* convert DB table names from var to const
* fixed file modes
* ignored gosec where relevant and safe
Diffstat (limited to 'cmd/authelia-suites')
| -rw-r--r-- | cmd/authelia-suites/main.go | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/authelia-suites/main.go b/cmd/authelia-suites/main.go index aad794391..66f9fac8b 100644 --- a/cmd/authelia-suites/main.go +++ b/cmd/authelia-suites/main.go @@ -61,7 +61,7 @@ func main() {  }  func createRunningSuiteFile(suite string) error { -	return ioutil.WriteFile(runningSuiteFile, []byte(suite), 0644) +	return ioutil.WriteFile(runningSuiteFile, []byte(suite), 0600)  }  func removeRunningSuiteFile() error {  | 
