QuestionQ41

VerifiedDevSecOps Pipeline-Code Stage

Helena Luke works as a DevSecOps engineer at an IT company based in Denver, Colorado. To seamlessly secure source code during build time and strengthen runtime protection for the source code, she wants to integrate Jscrambler with GitLab. To do this, she selected a predefined template and successfully downloaded the Jscrambler configuration file.

She then:

  • Placed the file in the project's root folder
  • Renamed it to .jscramblerrc
  • Opened the configuration file and removed the access and secret keys from it, in order to prevent exposing sensitive information

In which of the following formats does the Jscrambler configuration file exist?

Explanation

The Jscrambler configuration file (commonly named .jscramblerrc) is a JSON file that defines settings such as keys.accessKey, keys.secretKey, applicationId, filesSrc, filesDest, and protection params. When integrating with GitLab CI, Jscrambler's documentation instructs users to download this JSON configuration file, place it in the project root, rename it to .jscramblerrc, and then remove the keys block (accessKey and secretKey) to avoid hardcoding sensitive credentials in the repository — instead storing them as GitLab CI/CD environment variables. This confirms the file is in JSON format.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!