Skip to content

Little security concern (maybe?)Β #17

Open
@d4rkd3v1l

Description

@d4rkd3v1l

I was just wondering if it really is a good idea to just push all the parameters into the sonar-project.properties file.
As also stuff like "sonar.login=" will end up there, in plain text.

Maybe using command line arguments instead would solve this?
e.g. -Dsonar.login=<token>

At least Bitrise "redacts" stuff coming from "Secrets" in the build logs.

But as I'm not an info sec pro, I'm not quite sure if that solution is really secure in the end either.

Anyway as a reminder: One should definitely use access tokens that only have the minimum amount of permissions (only "perform analysis" I would ay) and the token should be stored in Bitrise "Secrets".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions