velero/pkg/client
John Naulty 254a5eebb5
Restrict file permissions for config file/dir
Velero client config file should have restricted file permissions to be
read/write-able for the user that creates it--similiar to files like
`.ssh/id_rsa`

Refer to OTG-CONFIG-009: Test File Permission
> Impoper file permission configuration may result in privilledge
escalation, information explousure, DLL injection, or unauthorized file
access.
Therefore, files permission must be properly configured with minium
access permission by default.

[source](https://www.owasp.org/index.php/Test_File_Permission_(OTG-CONFIG-009))

Ticket: #1758
Signed-off-by: John Naulty <johnnaulty@bitgo.com>
2020-01-15 09:41:25 -08:00
..
auth_providers.go update license headers to Velero contributors (#1302) 2019-03-20 12:32:48 -07:00
client.go add better error message when cluster config can't be found 2019-11-08 15:01:12 -07:00
client_test.go update license headers to Velero contributors (#1302) 2019-03-20 12:32:48 -07:00
config.go Restrict file permissions for config file/dir 2020-01-15 09:41:25 -08:00
config_test.go Add features package (#1849) 2019-09-18 10:57:04 -06:00
dynamic.go fixes for breaking changes 2019-05-20 13:25:36 -06:00
factory.go Updates for org move to vmware-tanzu (#1920) 2019-09-30 17:26:56 -04:00
factory_test.go Add features package (#1849) 2019-09-18 10:57:04 -06:00