lucas.ferreira likes this.
  • hello @VVartak503484

     

    You can generate an agent and save the token generated, or you can enter on your machine > home user dir (Windows C:\\users\<your_user> or Linux /home/<your_user>) and search for the directory call .srcclr

    Inside of that directory, there is a yml file called agent that describes the profile, agent token and configuration for your SCA scan. So basically, you can user the same configuration file.

     

    But I think this is not a best practice. Each user can generate a personal agent inside of MyWorkspace to use SCA scans

    Expand Post
  • Hi @VVartak503484 (Community Member)​ ,

    Release v0.70.0 of SCA Scan in VS Code auto-installs and configures the Agent to your machine. This approach does not allow multiple users to use the same token on different machines. If you try to run the scan on multiple machines using the same token, you'll receive an error message.

    As mentioned by lucas.ferreira, having multiple users on the same token is not best practice. We recommend separate credentials and Agents for each user in your Organization. If this is something you'd like as a feature enhancement, please submit an idea to Product Management through this link.

     

    Thank you,

    Jen

    Expand Post
    • VVartak503484 (Community Member)

      Managing multiple users is not feabile so having a single user whos API credentials can be used would be feasible to manage and monitor, was the idea.

      So if API credentials are shared, the agent can be automatically downloaded as mentioned by you. Once this is done the user will be able to run the scan is it so?

       

      Expand Post

Topics (5)

No articles found
Loading

Ask the Community

Get answers, share a use case, discuss your favorite features, or get input from the community.