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
Copy file name to clipboardExpand all lines: content/events-api/security.md
+13-1Lines changed: 13 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,6 @@
1
-
# How to check the request signature?
1
+
# Security
2
+
3
+
## How to check the request signature?
2
4
3
5
Akeneo PIM uses the **secret** to create a hash **signature** of the API event.
4
6
@@ -44,3 +46,13 @@ You are encouraged to use a string comparison function that is safe to timing at
44
46
:::
45
47
46
48
You can also use the `X-Akeneo-Request-Timestamp` to validate that the event request is not too old.
49
+
50
+
## Constraints on IP addresses
51
+
52
+
For security reasons, we block private IP and IP in the ranges that are marked as Reserved-By-Protocol in [RFC 6890](http://www.faqs.org/rfcs/rfc6890.html) as event API target.
53
+
54
+
These ranges are the following ones:
55
+
- private IPv4 ranges: 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16
56
+
- IPv6 addresses starting with FD or FC
57
+
- reserved IPv4 ranges: 0.0.0.0/8, 169.254.0.0/16, 127.0.0.0/8 and 240.0.0.0/4
58
+
- reserved IPv6 ranges: ::1/128, ::/128, ::ffff:0:0/96 and fe80::/10
Copy file name to clipboardExpand all lines: content/getting-started/quick-start-my-first-webhook-5x/step-1.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,9 @@
2
2
3
3
Here, you will connect an event subscription to a fake endpoint and receive your first data. :rocket:
4
4
5
-
::: info
6
-
For security reasons, local URLs are blocked for event API target location and cannot be used as a fake endpoint. Use Mockbin or a comparable tool instead.
7
-
:::
5
+
::: tips
6
+
When testing your app, we advise you to check our [Constraints on IP addresses](/events-documentation/security.html#constraints-on-ip-addresses) and use [Mockbin](#create-a-bin-on-mockbin) or a comparable tool instead.
0 commit comments