SCM-Manager 2.30.0

13 views
Skip to first unread message

Rene Pfeuffer

unread,
Jan 24, 2022, 10:01:11 AM1/24/22
to scmmanager
Hello SCM-Manager community,

we just released SCM-Manager 2.30.0.
Check out the changes and new plugins in the related blog post.

René Pfeuffer
SCM-Manager Team

Matthias.Sc...@materna.de

unread,
Jan 24, 2022, 11:25:45 AM1/24/22
to scmma...@googlegroups.com
Hello René,

great news!

Is there also a REST endpoint available for the security alerts which in turn then can be monitored by external tools (e. g. Icinga)?

BR,
Matthias

-----Ursprüngliche Nachricht-----
Von: scmma...@googlegroups.com <scmma...@googlegroups.com> Im Auftrag von Rene Pfeuffer
Gesendet: Montag, 24. Januar 2022 16:01
An: scmmanager <scmma...@googlegroups.com>
Betreff: [EXTERNAL] SCM-Manager 2.30.0

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.


Hello SCM-Manager community,

we just released SCM-Manager 2.30.0.
Check out the changes and new plugins in the related blog post <https://scm-manager.org/blog/posts/2022-01-21-scm-manager-2-30-0/> .

René Pfeuffer
SCM-Manager Team


--
You received this message because you are subscribed to the Google Groups "scmmanager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scmmanager+...@googlegroups.com <mailto:scmmanager+...@googlegroups.com> .
To view this discussion on the web visit https://groups.google.com/d/msgid/scmmanager/6ab71f43-8892-4bdc-8569-877419615e5cn%40googlegroups.com <https://groups.google.com/d/msgid/scmmanager/6ab71f43-8892-4bdc-8569-877419615e5cn%40googlegroups.com?utm_medium=email&utm_source=footer> .

Rene Pfeuffer

unread,
Jan 25, 2022, 8:37:32 AM1/25/22
to scmmanager
Hi Matthias,

of course you can call the alerts API outside of SCM-Manager. The thing is, we tried to make the alerts specific for your installation. So you have to specify the versions of your installed plugins and the SCM-Manager itself to get a result.

You can get this configuration from the SCM-Manager by calling

curl -vu scmadmin:scmadmin http://localhost:8081/scm/api/v2/alerts/

This will give you a json object with a body value. This is the object you have to give our alerts service to get alerts associated with your SCM-Manager or any of its plugins. This might look like this:

curl https://alerts.scm-manager.org/api/v1/alerts --data '{
  "instanceId": "6ed0d86d-f1fc-47eb-9320-fba579aed3c2",
  "version": "2.30.0",
  "os": "Linux",                
  "arch": "64",        
  "jre": "11.0.9",
  "plugins": [
    {                            
      "name": "scm-hg-plugin",
      "version": "2.30.0"
    },
    {                                                                          
      "name": "scm-support-plugin",
      "version": "2.0.0"
    },
    [...]
    {                              
      "name": "scm-ssh-plugin",
      "version": "2.3.0"
    }
  ]
}'

Now you get alerts for all the single components. If there is none, the alerts are null. If there are alerts, you will get an array with objects that will have (among other)

- a title,
- a description, and
- a link

Does this help?

Regards
René
Reply all
Reply to author
Forward
0 new messages