"use strict";(self.webpackChunkdocs_website=self.webpackChunkdocs_website||[]).push([[70377],{7653:(e,n,t)=>{t.d(n,{A:()=>a});const a={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"}},4732:(e,n,t)=>{t.d(n,{A:()=>l});var a=t(89379),i=t(96540),s=t(7653),r=t(89990),o=function(e,n){return i.createElement(r.A,(0,a.A)((0,a.A)({},e),{},{ref:n,icon:s.A}))};const l=i.forwardRef(o)},15680:(e,n,t)=>{t.d(n,{xA:()=>d,yg:()=>y});var a=t(96540);function i(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function s(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,a)}return t}function r(e){for(var n=1;n=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}var l=a.createContext({}),c=function(e){var n=a.useContext(l),t=n;return e&&(t="function"==typeof e?e(n):r(r({},n),e)),t},d=function(e){var n=c(e.components);return a.createElement(l.Provider,{value:n},e.children)},u="mdxType",p={inlineCode:"code",wrapper:function(e){var n=e.children;return a.createElement(a.Fragment,{},n)}},g=a.forwardRef((function(e,n){var t=e.components,i=e.mdxType,s=e.originalType,l=e.parentName,d=o(e,["components","mdxType","originalType","parentName"]),u=c(t),g=i,y=u["".concat(l,".").concat(g)]||u[g]||p[g]||s;return t?a.createElement(y,r(r({ref:n},d),{},{components:t})):a.createElement(y,r({ref:n},d))}));function y(e,n){var t=arguments,i=n&&n.mdxType;if("string"==typeof e||i){var s=t.length,r=new Array(s);r[0]=g;var o={};for(var l in n)hasOwnProperty.call(n,l)&&(o[l]=n[l]);o.originalType=e,o[u]="string"==typeof e?e:i,r[1]=o;for(var c=2;c{t.d(n,{A:()=>v});var a=t(96540),i=t(20053);const s="availabilityCard_P5od",r="managedIcon_AxXO",o="platform_wqXv",l="platformAvailable_Y8lN";var c=t(4732),d=t(89379);const u={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};var p=t(89990),g=function(e,n){return a.createElement(p.A,(0,d.A)((0,d.A)({},e),{},{ref:n,icon:u}))};const y=a.forwardRef(g);const h={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M811.4 418.7C765.6 297.9 648.9 212 512.2 212S258.8 297.8 213 418.6C127.3 441.1 64 519.1 64 612c0 110.5 89.5 200 199.9 200h496.2C870.5 812 960 722.5 960 612c0-92.7-63.1-170.7-148.6-193.3zm36.3 281a123.07 123.07 0 01-87.6 36.3H263.9c-33.1 0-64.2-12.9-87.6-36.3A123.3 123.3 0 01140 612c0-28 9.1-54.3 26.2-76.3a125.7 125.7 0 0166.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10c54.3 14.5 92.1 63.8 92.1 120 0 33.1-12.9 64.3-36.3 87.7z"}}]},name:"cloud",theme:"outlined"};var m=function(e,n){return a.createElement(p.A,(0,d.A)((0,d.A)({},e),{},{ref:n,icon:h}))};const f=a.forwardRef(m),v=({saasOnly:e,ossOnly:n})=>a.createElement("div",{className:(0,i.A)(s,"card")},a.createElement("strong",null,"Feature Availability"),a.createElement("div",null,a.createElement("span",{className:(0,i.A)(o,!e&&l)},"Self-Hosted DataHub ",e?a.createElement(c.A,null):a.createElement(y,null))),a.createElement("div",null,a.createElement(f,{className:r}),a.createElement("span",{className:(0,i.A)(o,!n&&l)},"DataHub Cloud ",n?a.createElement(c.A,null):a.createElement(y,null))))},57137:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>u,contentTitle:()=>c,default:()=>h,frontMatter:()=>l,metadata:()=>d,toc:()=>p});t(96540);var a=t(15680),i=t(43655);function s(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function r(e,n){return n=null!=n?n:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,a)}return t}(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})),e}function o(e,n){if(null==e)return{};var t,a,i=function(e,n){if(null==e)return{};var t,a,i={},s=Object.keys(e);for(a=0;a=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}const l={description:"This page provides an overview of working with the DataHub Incidents API.",title:"Incidents",slug:"/incidents/incidents",custom_edit_url:"https://github.com/datahub-project/datahub/blob/master/docs/incidents/incidents.md"},c="Incidents",d={unversionedId:"docs/incidents/incidents",id:"version-1.1.0/docs/incidents/incidents",title:"Incidents",description:"This page provides an overview of working with the DataHub Incidents API.",source:"@site/versioned_docs/version-1.1.0/docs/incidents/incidents.md",sourceDirName:"docs/incidents",slug:"/incidents/incidents",permalink:"/docs/1.1.0/incidents/incidents",draft:!1,editUrl:"https://github.com/datahub-project/datahub/blob/master/docs/incidents/incidents.md",tags:[],version:"1.1.0",frontMatter:{description:"This page provides an overview of working with the DataHub Incidents API.",title:"Incidents",slug:"/incidents/incidents",custom_edit_url:"https://github.com/datahub-project/datahub/blob/master/docs/incidents/incidents.md"},sidebar:"overviewSidebar",previous:{title:"Domains",permalink:"/docs/1.1.0/domains"},next:{title:"UI Based Ingestion / Managed Ingestion",permalink:"/docs/1.1.0/ui-ingestion"}},u={},p=[{value:"Introduction",id:"introduction",level:2},{value:"Creating an Incident",id:"creating-an-incident",level:2},{value:"Resolving an Incident",id:"resolving-an-incident",level:2},{value:"Finding Assets with Active Incidents",id:"finding-assets-with-active-incidents",level:2},{value:"Creating an Incident via API",id:"creating-an-incident-via-api",level:2},{value:"Examples",id:"examples",level:3},{value:"CURL",id:"curl",level:4},{value:"Python",id:"python",level:4},{value:"Retrieving Active Incidents",id:"retrieving-active-incidents",level:2},{value:"Examples",id:"examples-1",level:3},{value:"CURL",id:"curl-1",level:4},{value:"Resolving an Incident via API",id:"resolving-an-incident-via-api",level:2},{value:"Examples",id:"examples-2",level:3},{value:"CURL",id:"curl-2",level:4},{value:"Tips",id:"tips",level:2},{value:"Enabling Slack Notifications (DataHub Cloud Only)",id:"enabling-slack-notifications-datahub-cloud-only",level:2}],g={toc:p},y="wrapper";function h(e){var{components:n}=e,t=o(e,["components"]);return(0,a.yg)(y,r(function(e){for(var n=1;n\n")),(0,a.yg)("p",{parentName:"admonition"},(0,a.yg)("strong",{parentName:"p"},"Exploring GraphQL API")),(0,a.yg)("p",{parentName:"admonition"},"Also, remember that you can play with an interactive version of the GraphQL API at ",(0,a.yg)("inlineCode",{parentName:"p"},"https://your-account-id.acryl.io/api/graphiql"))),(0,a.yg)("h2",{id:"enabling-slack-notifications-datahub-cloud-only"},"Enabling Slack Notifications (DataHub Cloud Only)"),(0,a.yg)("p",null,"In DataHub Cloud, you can configure your to send Slack notifications to a specific channel when incidents are raised or their status is changed."),(0,a.yg)("p",null,"These notifications are also able to tag the immediate asset's owners, along with the owners of downstream assets consuming it."),(0,a.yg)("p",{align:"center"},(0,a.yg)("img",{width:"70%",src:"https://raw.githubusercontent.com/datahub-project/static-assets/main/imgs/saas/Screen-Shot-2022-03-22-at-6.46.41-PM.png"})),(0,a.yg)("p",null,"To do so, simply follow the ",(0,a.yg)("a",{parentName:"p",href:"/docs/1.1.0/managed-datahub/slack/saas-slack-setup"},"Slack Integration Guide")," and contact your DataHub Cloud customer success team to enable the feature!"))}h.isMDXComponent=!0}}]);