You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After importing the projects with either method, install SonarLint for quicker feedback on potential sonar issues.
257
257
258
+
#### Adding custom badges to your README
259
+
Badges are great for quickly checking several status reports of a specific repository.
260
+
Sometimes a application doesn't serve badges ([LFX Security tool](https://security.lfx.linuxfoundation.org/) for example), and you need to do it yourself.
261
+
We use [shields.io](https://shields.io/) for this problem.
262
+
263
+
In case of the LFX Security Tool, we used the following:
264
+
- Go to [shields.io](https://shields.io/).
265
+
- Go to the 'Dynamic' section.
266
+
- Choose JSON as data type.
267
+
- Insert 'LFX Security Tool' as the label.
268
+
- Insert the API to use, in case of our LFX Security tool projects we use [this API](https://api.security.lfx.linuxfoundation.org/v1/project/e8b6fdf9-2686-44c5-bbaa-6965d04ad3e1/issues).
269
+
- Now you can query using JsonPath. To get all open high issues from the 'CoMPAS Core' project, use `issues[?(@['repository-name'] == 'compas-core')]['high-open-issues']`.
0 commit comments