Conversation
a745752 to
03520a4
Compare
c0bb68e to
d61431f
Compare
3d37aca to
4045b3d
Compare
163f7bc to
74a2ca8
Compare
Signed-off-by: Matej Feder <matej.feder@dnation.cloud>
Signed-off-by: Matej Feder <matej.feder@dnation.cloud>
Signed-off-by: Matej Feder <matej.feder@dnation.cloud>
Signed-off-by: Matej Feder <matej.feder@dnation.cloud>
Signed-off-by: Matej Feder <matej.feder@dnation.cloud>
Signed-off-by: Matej Feder <matej.feder@dnation.cloud>
Signed-off-by: Matej Feder <matej.feder@dnation.cloud>
Signed-off-by: Matej Feder <matej.feder@dnation.cloud>
Signed-off-by: Matej Feder <matej.feder@dnation.cloud>
Signed-off-by: Matej Feder <matej.feder@dnation.cloud>
Signed-off-by: Matej Feder <matej.feder@dnation.cloud>
Signed-off-by: Matej Feder <matej.feder@dnation.cloud>
Signed-off-by: Marc Schöchlin <schoechlin@osb-alliance.com> Signed-off-by: Matej Feder <matej.feder@dnation.cloud>
Signed-off-by: Marc Schöchlin <schoechlin@osb-alliance.com> Signed-off-by: Matej Feder <matej.feder@dnation.cloud>
Signed-off-by: Marc Schöchlin <schoechlin@osb-alliance.com> Signed-off-by: Matej Feder <matej.feder@dnation.cloud>
Signed-off-by: Matej Feder <matej.feder@dnation.cloud>
* refactor group lookup * add documentation * add timeout and connections close Signed-off-by: Matej Feder <matej.feder@dnation.cloud>
- fix security groups problem - add script execution Signed-off-by: Marc Schöchlin <schoechlin@osb-alliance.com> Signed-off-by: Matej Feder <matej.feder@dnation.cloud>
Signed-off-by: Matej Feder <matej.feder@dnation.cloud> Co-authored-by: Marc Schöchlin <schoechlin@osb-alliance.com> Signed-off-by: Matej Feder <matej.feder@dnation.cloud>
* enhance quotas Signed-off-by: Marc Schöchlin <schoechlin@osb-alliance.com> Signed-off-by: Matej Feder <matej.feder@dnation.cloud>
Signed-off-by: Marc Schöchlin <schoechlin@osb-alliance.com> Signed-off-by: Matej Feder <matej.feder@dnation.cloud>
Signed-off-by: Matej Feder <matej.feder@dnation.cloud>
Signed-off-by: Marc Schöchlin <schoechlin@osb-alliance.com> Signed-off-by: Matej Feder <matej.feder@dnation.cloud>
| self.assign_role_to_user("manager") | ||
| LOGGER.info( | ||
| f"Created user {self.obj.name} / {self.obj.id} with password {self.obj.password} in {self.domain.name}") | ||
| f"Created user {self.obj.name} / {self.obj.id} with password {self.obj.password} in {domain_ident(self.domain.id)}") |
Check failure
Code scanning / CodeQL
Clear-text logging of sensitive information
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix
AI over 1 year ago
To fix the problem, we need to remove the logging of sensitive information, specifically the user password. Instead of logging the password, we can log a message that indicates the user was created without including the sensitive details. This change should be made in the create_and_get_user method of the SCSLandscapeTestUser class.
We will replace the line that logs the password with a line that logs a message indicating the user was created, without including the password. This change will ensure that sensitive information is not exposed in the logs.
| @@ -95,3 +95,3 @@ | ||
| LOGGER.info( | ||
| f"Created user {self.obj.name} / {self.obj.id} with password {self.obj.password} in {domain_ident(self.domain.id)}") | ||
| f"Created user {self.obj.name} / {self.obj.id} in {domain_ident(self.domain.id)}") | ||
| return self.obj |
Signed-off-by: Matej Feder <matej.feder@dnation.cloud>
Signed-off-by: Matej Feder <matej.feder@dnation.cloud>
|
To ensure that this documentation can be found or that this MVP can be continued at a later date, it would be good to link this documentation on the documentation page. In @maxwolfs 's and my opinion, we add a ‘Concepts’ section below https://docs.scs.community/contributor-docs where we add this documentation as a menu item ‘Netbox SONiC Provisioning’. |
Relates to
Closes SovereignCloudStack/issues#689