-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs(webhook): Inventory webhook description. #2470
docs(webhook): Inventory webhook description. #2470
Conversation
@estenberg this is more fyi Eystein, we will have to adjust the existing screenshots later. |
d5db8d3
to
1717b89
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have not tested the steps but it looks reasonable to me
5bf2d6c
to
a1f7ddf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Take or leave suggestions for re-phrasing.
to notify external applications about device lifecycle and inventory changed events. This helps | ||
you avoid polling and manual synchronization between Mender and other systems, as well as allows | ||
you to handle device-related events and integrate Mender into your ecosystem seamlessly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to notify external applications about device lifecycle and inventory changed events. This helps | |
you avoid polling and manual synchronization between Mender and other systems, as well as allows | |
you to handle device-related events and integrate Mender into your ecosystem seamlessly. | |
to notify external applications about device lifecycle and inventory changed events. This eliminates the need for manual polling and synchronization, allowing for efficient handling of device-related events. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed. I only could not resist and added extra sentence about integration.
|
||
This integration is available in all Mender plans, as well as Mender Open Source. | ||
We divided webhook integrations into two categories (_scopes_): `deviceauth` and `inventory`. | ||
The former is available in all Mender plans, as well as Mender Open Source, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I want to suggest a link to mender plans here when mentioned. I dunno how stable that url is. https://mender.io/pricing/plans
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure.
You need an external service or application exposed on the internet and able to receive data | ||
from Mender in the form of an HTTP POST request. The hostname part of the URL must resolve | ||
to a globally routable unicast IP address. We recommend using HTTPS and configuring | ||
a secret for request signing purposes (see [below](#signature-header)). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need an external service or application exposed on the internet and able to receive data | |
from Mender in the form of an HTTP POST request. The hostname part of the URL must resolve | |
to a globally routable unicast IP address. We recommend using HTTPS and configuring | |
a secret for request signing purposes (see [below](#signature-header)). | |
To receive data from Mender, you'll need an internet-accessible service or app that can accept HTTP POST requests. The service's domain name should resolve to a publicly accessible IP address. For security, we recommend using HTTPS and setting up a secret for verifying request authenticity (see [below](#signature-header)). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed. I just added unicast
. I like that word. Unicast.
* device provisioning, | ||
* device decommissioning, or | ||
* its authentication status changes. | ||
|
||
### Inventory changed triggers | ||
|
||
A webhook in the `inventory` scope fires when device changed inventory events: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A webhook in the `inventory` scope fires when device changed inventory events: | |
A webhook in the `inventory` scope fires whenever Mender Server detects and updates a change in a device's inventory information. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed.
### Inventory changed triggers | ||
|
||
A webhook in the `inventory` scope fires when device changed inventory events: | ||
* Mender Server detected a change in the device inventory and updated it in the db |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Mender Server detected a change in the device inventory and updated it in the db |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed.
|
||
If you specify a secret, an integrity check is calculated and located in the `X-Men-Signature` header, which contains the HMAC-SHA256 of the payload using the configured secret. | ||
If you specify a secret, an integrity check is calculated and located in the `X-Men-Signature` header, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why X-Men
? Could be Avengers, Fantastic Four, Justice League, Teen Titans.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
haha! a. I like XMen second: can we make it Spiderman?
Changelog: Title Ticket: MEN-7450 Signed-off-by: Peter Grzybowski <[email protected]>
a1f7ddf
to
34e18c2
Compare
Merging these commits will result in the following changelog entries: Changelogsmender-docs (men_7450__docs_update_docs_with_webhook_types_and_describe_both_old_and_new_types_)New changes in mender-docs since master:
|
Changelog: Title
Ticket: MEN-7450