How to update the emass.json file
Question
I received a pull request to enable CodeQL scanning in my applications GitHub repository, that includes an emass.json
file. How do I update the emass.json
file in the pull request to support CodeQL scanning?
This is Step #2 for configuring CodeQL scans for both GitHub CI and Jenkins CI. This step is performed after determining if the repository should be ignored via the .emass-repo-ignore file and before the excluding languages that cannot be scanned step.
Answer
The CodeQL enablement pull request includes a file titled emass.json
in the .github
directory which is necessary to specify information about the application’s eMASS System ID as well as contact information for your project’s system owner. This file currently contains placeholders that you must update with the relevant information:
{
"systemID": 0,
"systemName": "<systemname>",
"systemOwnerName": "<full_name>",
"systemOwnerEmail": "<email>"
}
You must update this file with your application’s information and commit the changes back to the pull request’s branch.
If you are unsure of your eMASS System ID, please contact OIS ISO SAVD Software Assurance.
References
The CodeQL enablement pull request contains direct links to files in the PR that are referenced in this technical note. The following links in the PR are referenced here:
- Edit emass.json File - links to the file
emass.json
Return to enable CodeQL using GitHub CI or using Jenkins CI to continue with the next step.