feat: events docs
@@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
title: "Project Events"
|
||||||
|
openapi: "POST /api/v1/events/subscribe/project-events"
|
||||||
|
---
|
||||||
@@ -46,6 +46,7 @@
|
|||||||
"pages": [
|
"pages": [
|
||||||
"documentation/platform/organization",
|
"documentation/platform/organization",
|
||||||
"documentation/platform/project",
|
"documentation/platform/project",
|
||||||
|
"documentation/platform/event-subscriptions",
|
||||||
"documentation/platform/folder",
|
"documentation/platform/folder",
|
||||||
{
|
{
|
||||||
"group": "Secrets",
|
"group": "Secrets",
|
||||||
@@ -724,6 +725,10 @@
|
|||||||
"group": "Admin",
|
"group": "Admin",
|
||||||
"pages": ["api-reference/endpoints/admin/bootstrap-instance"]
|
"pages": ["api-reference/endpoints/admin/bootstrap-instance"]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"group": "Events",
|
||||||
|
"pages": ["api-reference/endpoints/events/project-events"]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"group": "Identities",
|
"group": "Identities",
|
||||||
"pages": [
|
"pages": [
|
||||||
@@ -1560,7 +1565,7 @@
|
|||||||
"api-reference/endpoints/app-connections/mysql/delete"
|
"api-reference/endpoints/app-connections/mysql/delete"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"group": "Netlify",
|
"group": "Netlify",
|
||||||
"pages": [
|
"pages": [
|
||||||
"api-reference/endpoints/app-connections/netlify/list",
|
"api-reference/endpoints/app-connections/netlify/list",
|
||||||
@@ -2392,7 +2397,7 @@
|
|||||||
"href": "https://infisical.com"
|
"href": "https://infisical.com"
|
||||||
},
|
},
|
||||||
"api": {
|
"api": {
|
||||||
"openapi": "https://app.infisical.com/api/docs/json",
|
"openapi": "https://09eb298540fe.ngrok-free.app/api/docs/json",
|
||||||
"mdx": {
|
"mdx": {
|
||||||
"server": ["https://app.infisical.com"]
|
"server": ["https://app.infisical.com"]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,74 @@
|
|||||||
|
---
|
||||||
|
title: "Event Subscriptions"
|
||||||
|
sidebarTitle: "Events"
|
||||||
|
description: "Subscribe to events in Infisical in real-time"
|
||||||
|
---
|
||||||
|
|
||||||
|
<Info>
|
||||||
|
<strong>Note:</strong> Event Subscriptions is a paid feature.<br /><br />
|
||||||
|
On Infisical Cloud, this feature is available on the <strong>Pro</strong> and <strong>Enterprise</strong> tiers, each providing different event retention periods.<br />
|
||||||
|
For self-hosted deployments, please contact <a href="mailto:[email protected]">[email protected]</a> to purchase an enterprise license.
|
||||||
|
</Info>
|
||||||
|
|
||||||
|
## Introduction
|
||||||
|
|
||||||
|
Event Subscriptions in Infisical let you receive real-time notifications when specific actions take place within your account or organization. These can include changes to secrets, users, teams, and other important resources.
|
||||||
|
|
||||||
|
Currently, you can subscribe to notifications for the following event types:
|
||||||
|
|
||||||
|
### Supported Event Types
|
||||||
|
|
||||||
|
- `secret:created`: Triggered when a secret is created.
|
||||||
|
- `secret:updated`: Triggered when a secret is updated.
|
||||||
|
- `secret:deleted`: Triggered when a secret is deleted.
|
||||||
|
|
||||||
|
## Permissions Setup
|
||||||
|
|
||||||
|
Proper permissions are required for configuring event subscriptions. To set up the necessary permissions, follow these steps:
|
||||||
|
|
||||||
|
<Steps>
|
||||||
|
<Step title="Select a project and copy the 'Project ID'">
|
||||||
|

|
||||||
|
On your project page, open <strong>Project Settings</strong> from the sidebar.<br />
|
||||||
|
In the Project name section, click <strong>Copy Project ID</strong> to copy your Project ID, or extract it from the URL:<br />
|
||||||
|
`https://app.infisical.com/project/<your_project_id>/settings`
|
||||||
|
</Step>
|
||||||
|
|
||||||
|
<Step title="Navigate to 'Access Management' and open 'Project Roles'">
|
||||||
|

|
||||||
|

|
||||||
|
Go to <strong>Access Management</strong>, then select <strong>Project Roles</strong>.
|
||||||
|
</Step>
|
||||||
|
|
||||||
|
<Step title="Select an existing role or create a new one">
|
||||||
|

|
||||||
|
You can either edit an existing role or create a new role for event subscriptions.
|
||||||
|
</Step>
|
||||||
|
|
||||||
|
<Step title="Assign policies to the role">
|
||||||
|

|
||||||
|
Choose the specific resources that the role should have access to.<br />
|
||||||
|

|
||||||
|
</Step>
|
||||||
|
|
||||||
|
<Step title="Enable the 'Subscribe' action in permissions">
|
||||||
|

|
||||||
|
Make sure the <strong>Subscribe</strong> action is selected for the relevant resources and events.<br />
|
||||||
|
<AccordionGroup>
|
||||||
|
<Accordion title="Add conditions to your permission">
|
||||||
|
By default, the role will have access to all events for the selected resources in this project.
|
||||||
|
If needed, you can add filters to limit the scope of accessible events.<br />
|
||||||
|

|
||||||
|
</Accordion>
|
||||||
|
</AccordionGroup>
|
||||||
|
</Step>
|
||||||
|
</Steps>
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
For integration and implementation details, please refer to our [API Reference](/api-reference/endpoints/events).
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
**Note:** Only users or roles with the appropriate permissions can manage or subscribe to events.<br />
|
||||||
|
<strong>Availability:</strong> Event Subscriptions are not included in the Free plan.
|
||||||
|
After Width: | Height: | Size: 910 KiB |
|
After Width: | Height: | Size: 531 KiB |
|
After Width: | Height: | Size: 879 KiB |
|
After Width: | Height: | Size: 858 KiB |
|
After Width: | Height: | Size: 866 KiB |
|
After Width: | Height: | Size: 895 KiB |
|
After Width: | Height: | Size: 834 KiB |
|
After Width: | Height: | Size: 678 KiB |