airbyte-faros-destination 0.1.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (280) hide show
  1. package/README.md +161 -0
  2. package/lib/common/write-stats.d.ts +16 -0
  3. package/lib/common/write-stats.js +48 -0
  4. package/lib/community/hasura-client.d.ts +27 -0
  5. package/lib/community/hasura-client.js +278 -0
  6. package/lib/community/hasura-writer.d.ts +12 -0
  7. package/lib/community/hasura-writer.js +44 -0
  8. package/lib/community/types.d.ts +26 -0
  9. package/lib/community/types.js +9 -0
  10. package/lib/converters/agileaccelerator/agileaccelerator_types.d.ts +315 -0
  11. package/lib/converters/agileaccelerator/agileaccelerator_types.js +81 -0
  12. package/lib/converters/agileaccelerator/common.d.ts +64 -0
  13. package/lib/converters/agileaccelerator/common.js +167 -0
  14. package/lib/converters/agileaccelerator/works.d.ts +7 -0
  15. package/lib/converters/agileaccelerator/works.js +105 -0
  16. package/lib/converters/asana/common.d.ts +39 -0
  17. package/lib/converters/asana/common.js +64 -0
  18. package/lib/converters/asana/projects.d.ts +7 -0
  19. package/lib/converters/asana/projects.js +29 -0
  20. package/lib/converters/asana/sections.d.ts +7 -0
  21. package/lib/converters/asana/sections.js +28 -0
  22. package/lib/converters/asana/stories.d.ts +7 -0
  23. package/lib/converters/asana/stories.js +32 -0
  24. package/lib/converters/asana/tags.d.ts +7 -0
  25. package/lib/converters/asana/tags.js +22 -0
  26. package/lib/converters/asana/tasks.d.ts +11 -0
  27. package/lib/converters/asana/tasks.js +160 -0
  28. package/lib/converters/asana/users.d.ts +7 -0
  29. package/lib/converters/asana/users.js +16 -0
  30. package/lib/converters/backlog/common.d.ts +20 -0
  31. package/lib/converters/backlog/common.js +59 -0
  32. package/lib/converters/backlog/issues.d.ts +7 -0
  33. package/lib/converters/backlog/issues.js +119 -0
  34. package/lib/converters/backlog/models.d.ts +156 -0
  35. package/lib/converters/backlog/models.js +23 -0
  36. package/lib/converters/backlog/projects.d.ts +7 -0
  37. package/lib/converters/backlog/projects.js +78 -0
  38. package/lib/converters/backlog/users.d.ts +7 -0
  39. package/lib/converters/backlog/users.js +26 -0
  40. package/lib/converters/bitbucket/branches.d.ts +7 -0
  41. package/lib/converters/bitbucket/branches.js +31 -0
  42. package/lib/converters/bitbucket/commits.d.ts +7 -0
  43. package/lib/converters/bitbucket/commits.js +50 -0
  44. package/lib/converters/bitbucket/common.d.ts +28 -0
  45. package/lib/converters/bitbucket/common.js +56 -0
  46. package/lib/converters/bitbucket/deployments.d.ts +11 -0
  47. package/lib/converters/bitbucket/deployments.js +100 -0
  48. package/lib/converters/bitbucket/issues.d.ts +12 -0
  49. package/lib/converters/bitbucket/issues.js +111 -0
  50. package/lib/converters/bitbucket/pipeline_steps.d.ts +10 -0
  51. package/lib/converters/bitbucket/pipeline_steps.js +83 -0
  52. package/lib/converters/bitbucket/pipelines.d.ts +8 -0
  53. package/lib/converters/bitbucket/pipelines.js +90 -0
  54. package/lib/converters/bitbucket/pull_request_activities.d.ts +13 -0
  55. package/lib/converters/bitbucket/pull_request_activities.js +112 -0
  56. package/lib/converters/bitbucket/pull_requests.d.ts +10 -0
  57. package/lib/converters/bitbucket/pull_requests.js +95 -0
  58. package/lib/converters/bitbucket/repositories.d.ts +9 -0
  59. package/lib/converters/bitbucket/repositories.js +41 -0
  60. package/lib/converters/bitbucket/types.d.ts +667 -0
  61. package/lib/converters/bitbucket/types.js +2 -0
  62. package/lib/converters/bitbucket/workspace_users.d.ts +7 -0
  63. package/lib/converters/bitbucket/workspace_users.js +31 -0
  64. package/lib/converters/bitbucket/workspaces.d.ts +8 -0
  65. package/lib/converters/bitbucket/workspaces.js +61 -0
  66. package/lib/converters/converter-registry.d.ts +25 -0
  67. package/lib/converters/converter-registry.js +64 -0
  68. package/lib/converters/converter.d.ts +63 -0
  69. package/lib/converters/converter.js +122 -0
  70. package/lib/converters/datadog/common.d.ts +27 -0
  71. package/lib/converters/datadog/common.js +34 -0
  72. package/lib/converters/datadog/incidents.d.ts +9 -0
  73. package/lib/converters/datadog/incidents.js +128 -0
  74. package/lib/converters/datadog/users.d.ts +7 -0
  75. package/lib/converters/datadog/users.js +27 -0
  76. package/lib/converters/docker/common.d.ts +87 -0
  77. package/lib/converters/docker/common.js +76 -0
  78. package/lib/converters/docker/tags.d.ts +8 -0
  79. package/lib/converters/docker/tags.js +98 -0
  80. package/lib/converters/github/assignees.d.ts +7 -0
  81. package/lib/converters/github/assignees.js +16 -0
  82. package/lib/converters/github/branches.d.ts +7 -0
  83. package/lib/converters/github/branches.js +28 -0
  84. package/lib/converters/github/collaborators.d.ts +7 -0
  85. package/lib/converters/github/collaborators.js +19 -0
  86. package/lib/converters/github/commits.d.ts +7 -0
  87. package/lib/converters/github/commits.js +48 -0
  88. package/lib/converters/github/common.d.ts +37 -0
  89. package/lib/converters/github/common.js +130 -0
  90. package/lib/converters/github/issue_labels.d.ts +7 -0
  91. package/lib/converters/github/issue_labels.js +20 -0
  92. package/lib/converters/github/issue_milestones.d.ts +8 -0
  93. package/lib/converters/github/issue_milestones.js +42 -0
  94. package/lib/converters/github/issues.d.ts +9 -0
  95. package/lib/converters/github/issues.js +90 -0
  96. package/lib/converters/github/organizations.d.ts +7 -0
  97. package/lib/converters/github/organizations.js +37 -0
  98. package/lib/converters/github/projects.d.ts +7 -0
  99. package/lib/converters/github/projects.js +21 -0
  100. package/lib/converters/github/pull_request_stats.d.ts +7 -0
  101. package/lib/converters/github/pull_request_stats.js +43 -0
  102. package/lib/converters/github/pull_requests.d.ts +7 -0
  103. package/lib/converters/github/pull_requests.js +63 -0
  104. package/lib/converters/github/releases.d.ts +7 -0
  105. package/lib/converters/github/releases.js +51 -0
  106. package/lib/converters/github/repositories.d.ts +7 -0
  107. package/lib/converters/github/repositories.js +44 -0
  108. package/lib/converters/github/review_comments.d.ts +7 -0
  109. package/lib/converters/github/review_comments.js +39 -0
  110. package/lib/converters/github/reviews.d.ts +7 -0
  111. package/lib/converters/github/reviews.js +58 -0
  112. package/lib/converters/github/tags.d.ts +7 -0
  113. package/lib/converters/github/tags.js +31 -0
  114. package/lib/converters/github/users.d.ts +7 -0
  115. package/lib/converters/github/users.js +19 -0
  116. package/lib/converters/gitlab/branches.d.ts +8 -0
  117. package/lib/converters/gitlab/branches.js +44 -0
  118. package/lib/converters/gitlab/commits.d.ts +7 -0
  119. package/lib/converters/gitlab/commits.js +33 -0
  120. package/lib/converters/gitlab/common.d.ts +30 -0
  121. package/lib/converters/gitlab/common.js +70 -0
  122. package/lib/converters/gitlab/group_labels.d.ts +7 -0
  123. package/lib/converters/gitlab/group_labels.js +15 -0
  124. package/lib/converters/gitlab/group_milestones.d.ts +8 -0
  125. package/lib/converters/gitlab/group_milestones.js +41 -0
  126. package/lib/converters/gitlab/groups.d.ts +7 -0
  127. package/lib/converters/gitlab/groups.js +43 -0
  128. package/lib/converters/gitlab/issues.d.ts +10 -0
  129. package/lib/converters/gitlab/issues.js +79 -0
  130. package/lib/converters/gitlab/jobs.d.ts +11 -0
  131. package/lib/converters/gitlab/jobs.js +75 -0
  132. package/lib/converters/gitlab/merge_request_commits.d.ts +7 -0
  133. package/lib/converters/gitlab/merge_request_commits.js +34 -0
  134. package/lib/converters/gitlab/merge_requests.d.ts +10 -0
  135. package/lib/converters/gitlab/merge_requests.js +65 -0
  136. package/lib/converters/gitlab/pipelines.d.ts +7 -0
  137. package/lib/converters/gitlab/pipelines.js +41 -0
  138. package/lib/converters/gitlab/project_labels.d.ts +7 -0
  139. package/lib/converters/gitlab/project_labels.js +15 -0
  140. package/lib/converters/gitlab/project_milestones.d.ts +8 -0
  141. package/lib/converters/gitlab/project_milestones.js +41 -0
  142. package/lib/converters/gitlab/projects.d.ts +7 -0
  143. package/lib/converters/gitlab/projects.js +51 -0
  144. package/lib/converters/gitlab/releases.d.ts +10 -0
  145. package/lib/converters/gitlab/releases.js +68 -0
  146. package/lib/converters/gitlab/tags.d.ts +10 -0
  147. package/lib/converters/gitlab/tags.js +41 -0
  148. package/lib/converters/gitlab/users.d.ts +7 -0
  149. package/lib/converters/gitlab/users.js +33 -0
  150. package/lib/converters/googlecalendar/calendar_models.d.ts +618 -0
  151. package/lib/converters/googlecalendar/calendar_models.js +2 -0
  152. package/lib/converters/googlecalendar/calendars.d.ts +7 -0
  153. package/lib/converters/googlecalendar/calendars.js +29 -0
  154. package/lib/converters/googlecalendar/common.d.ts +52 -0
  155. package/lib/converters/googlecalendar/common.js +130 -0
  156. package/lib/converters/googlecalendar/events.d.ts +8 -0
  157. package/lib/converters/googlecalendar/events.js +117 -0
  158. package/lib/converters/harness/common.d.ts +105 -0
  159. package/lib/converters/harness/common.js +16 -0
  160. package/lib/converters/harness/executions.d.ts +15 -0
  161. package/lib/converters/harness/executions.js +245 -0
  162. package/lib/converters/jenkins/builds.d.ts +9 -0
  163. package/lib/converters/jenkins/builds.js +74 -0
  164. package/lib/converters/jenkins/common.d.ts +25 -0
  165. package/lib/converters/jenkins/common.js +54 -0
  166. package/lib/converters/jenkins/jobs.d.ts +8 -0
  167. package/lib/converters/jenkins/jobs.js +29 -0
  168. package/lib/converters/jira/board_issues.d.ts +7 -0
  169. package/lib/converters/jira/board_issues.js +28 -0
  170. package/lib/converters/jira/boards.d.ts +7 -0
  171. package/lib/converters/jira/boards.js +34 -0
  172. package/lib/converters/jira/common.d.ts +61 -0
  173. package/lib/converters/jira/common.js +64 -0
  174. package/lib/converters/jira/epics.d.ts +8 -0
  175. package/lib/converters/jira/epics.js +45 -0
  176. package/lib/converters/jira/issue_fields.d.ts +7 -0
  177. package/lib/converters/jira/issue_fields.js +15 -0
  178. package/lib/converters/jira/issues.d.ts +52 -0
  179. package/lib/converters/jira/issues.js +545 -0
  180. package/lib/converters/jira/project_versions.d.ts +9 -0
  181. package/lib/converters/jira/project_versions.js +48 -0
  182. package/lib/converters/jira/projects.d.ts +7 -0
  183. package/lib/converters/jira/projects.js +40 -0
  184. package/lib/converters/jira/pull_requests.d.ts +7 -0
  185. package/lib/converters/jira/pull_requests.js +15 -0
  186. package/lib/converters/jira/sprint_issues.d.ts +7 -0
  187. package/lib/converters/jira/sprint_issues.js +15 -0
  188. package/lib/converters/jira/sprints.d.ts +16 -0
  189. package/lib/converters/jira/sprints.js +80 -0
  190. package/lib/converters/jira/users.d.ts +8 -0
  191. package/lib/converters/jira/users.js +33 -0
  192. package/lib/converters/jira/workflow_statuses.d.ts +7 -0
  193. package/lib/converters/jira/workflow_statuses.js +15 -0
  194. package/lib/converters/jsonata.d.ts +17 -0
  195. package/lib/converters/jsonata.js +47 -0
  196. package/lib/converters/okta/common.d.ts +8 -0
  197. package/lib/converters/okta/common.js +17 -0
  198. package/lib/converters/okta/groups.d.ts +7 -0
  199. package/lib/converters/okta/groups.js +47 -0
  200. package/lib/converters/okta/models.d.ts +102 -0
  201. package/lib/converters/okta/models.js +2 -0
  202. package/lib/converters/okta/users.d.ts +8 -0
  203. package/lib/converters/okta/users.js +73 -0
  204. package/lib/converters/okta_faros/common.d.ts +4 -0
  205. package/lib/converters/okta_faros/common.js +11 -0
  206. package/lib/converters/okta_faros/groups.d.ts +13 -0
  207. package/lib/converters/okta_faros/groups.js +23 -0
  208. package/lib/converters/okta_faros/users.d.ts +13 -0
  209. package/lib/converters/okta_faros/users.js +23 -0
  210. package/lib/converters/pagerduty/common.d.ts +37 -0
  211. package/lib/converters/pagerduty/common.js +40 -0
  212. package/lib/converters/pagerduty/incident_log_entries.d.ts +8 -0
  213. package/lib/converters/pagerduty/incident_log_entries.js +56 -0
  214. package/lib/converters/pagerduty/incidents.d.ts +10 -0
  215. package/lib/converters/pagerduty/incidents.js +127 -0
  216. package/lib/converters/pagerduty/priorities_resource.d.ts +11 -0
  217. package/lib/converters/pagerduty/priorities_resource.js +64 -0
  218. package/lib/converters/pagerduty/users.d.ts +7 -0
  219. package/lib/converters/pagerduty/users.js +26 -0
  220. package/lib/converters/phabricator/commits.d.ts +8 -0
  221. package/lib/converters/phabricator/commits.js +75 -0
  222. package/lib/converters/phabricator/common.d.ts +40 -0
  223. package/lib/converters/phabricator/common.js +107 -0
  224. package/lib/converters/phabricator/repositories.d.ts +7 -0
  225. package/lib/converters/phabricator/repositories.js +56 -0
  226. package/lib/converters/phabricator/revisions.d.ts +7 -0
  227. package/lib/converters/phabricator/revisions.js +83 -0
  228. package/lib/converters/phabricator/users.d.ts +7 -0
  229. package/lib/converters/phabricator/users.js +39 -0
  230. package/lib/converters/shortcut/common.d.ts +16 -0
  231. package/lib/converters/shortcut/common.js +68 -0
  232. package/lib/converters/shortcut/epics.d.ts +7 -0
  233. package/lib/converters/shortcut/epics.js +29 -0
  234. package/lib/converters/shortcut/iterations.d.ts +7 -0
  235. package/lib/converters/shortcut/iterations.js +29 -0
  236. package/lib/converters/shortcut/members.d.ts +7 -0
  237. package/lib/converters/shortcut/members.js +26 -0
  238. package/lib/converters/shortcut/models.d.ts +392 -0
  239. package/lib/converters/shortcut/models.js +30 -0
  240. package/lib/converters/shortcut/projects.d.ts +7 -0
  241. package/lib/converters/shortcut/projects.js +46 -0
  242. package/lib/converters/shortcut/stories.d.ts +7 -0
  243. package/lib/converters/shortcut/stories.js +127 -0
  244. package/lib/converters/squadcast/common.d.ts +169 -0
  245. package/lib/converters/squadcast/common.js +62 -0
  246. package/lib/converters/squadcast/events.d.ts +9 -0
  247. package/lib/converters/squadcast/events.js +53 -0
  248. package/lib/converters/squadcast/incidents.d.ts +10 -0
  249. package/lib/converters/squadcast/incidents.js +141 -0
  250. package/lib/converters/squadcast/services.d.ts +7 -0
  251. package/lib/converters/squadcast/services.js +28 -0
  252. package/lib/converters/squadcast/users.d.ts +7 -0
  253. package/lib/converters/squadcast/users.js +27 -0
  254. package/lib/converters/statuspage/common.d.ts +93 -0
  255. package/lib/converters/statuspage/common.js +80 -0
  256. package/lib/converters/statuspage/incident_updates.d.ts +8 -0
  257. package/lib/converters/statuspage/incident_updates.js +45 -0
  258. package/lib/converters/statuspage/incidents.d.ts +10 -0
  259. package/lib/converters/statuspage/incidents.js +128 -0
  260. package/lib/converters/statuspage/users.d.ts +7 -0
  261. package/lib/converters/statuspage/users.js +26 -0
  262. package/lib/converters/victorops/common.d.ts +16 -0
  263. package/lib/converters/victorops/common.js +24 -0
  264. package/lib/converters/victorops/incidents.d.ts +12 -0
  265. package/lib/converters/victorops/incidents.js +209 -0
  266. package/lib/converters/victorops/teams.d.ts +8 -0
  267. package/lib/converters/victorops/teams.js +30 -0
  268. package/lib/converters/victorops/users.d.ts +8 -0
  269. package/lib/converters/victorops/users.js +33 -0
  270. package/lib/destination-runner.d.ts +12 -0
  271. package/lib/destination-runner.js +22 -0
  272. package/lib/destination.d.ts +42 -0
  273. package/lib/destination.js +508 -0
  274. package/lib/index.d.ts +16 -0
  275. package/lib/index.js +39 -0
  276. package/lib/tsconfig.tsbuildinfo +1 -0
  277. package/package.json +71 -0
  278. package/resources/fetch-primary-keys.sql +16 -0
  279. package/resources/introspection-query.gql +61 -0
  280. package/resources/spec.json +468 -0
@@ -0,0 +1,468 @@
1
+ {
2
+ "documentationUrl": "https://docs.faros.ai",
3
+ "supportsIncremental": true,
4
+ "supportsNormalization": false,
5
+ "supportsDBT": true,
6
+ "supported_destination_sync_modes": [
7
+ "overwrite",
8
+ "append",
9
+ "append_dedup"
10
+ ],
11
+ "connectionSpecification": {
12
+ "$schema": "http://json-schema.org/draft-07/schema#",
13
+ "title": "Faros Destination Spec",
14
+ "type": "object",
15
+ "required": [
16
+ "edition_configs"
17
+ ],
18
+ "additionalProperties": false,
19
+ "properties": {
20
+ "edition_configs": {
21
+ "order": 0,
22
+ "title": "Faros Edition",
23
+ "description": "Choose your Faros Edition.",
24
+ "type": "object",
25
+ "oneOf": [
26
+ {
27
+ "type": "object",
28
+ "title": "Community Edition",
29
+ "required": [
30
+ "hasura_url"
31
+ ],
32
+ "properties": {
33
+ "edition": {
34
+ "type": "string",
35
+ "title": "Community Edition",
36
+ "description": "Community Edition",
37
+ "const": "community"
38
+ },
39
+ "hasura_url": {
40
+ "type": "string",
41
+ "title": "Hasura URL",
42
+ "description": "The Community Edition Hasura URL.",
43
+ "default": "http://localhost:8080"
44
+ },
45
+ "segment_user_id": {
46
+ "type": "string",
47
+ "title": "Segment User Id",
48
+ "description": "The User UUID with which to track events in Segment. If not present, then reporting is disabled. See https://community.faros.ai/docs/telemetry for more details.",
49
+ "format": "uuid"
50
+ }
51
+ }
52
+ },
53
+ {
54
+ "type": "object",
55
+ "title": "Cloud Edition",
56
+ "required": [
57
+ "api_key",
58
+ "api_url"
59
+ ],
60
+ "properties": {
61
+ "edition": {
62
+ "type": "string",
63
+ "title": "Cloud Edition",
64
+ "description": "Cloud Edition",
65
+ "const": "cloud"
66
+ },
67
+ "api_url": {
68
+ "type": "string",
69
+ "title": "API URL",
70
+ "description": "The Faros API URL.",
71
+ "default": "https://prod.api.faros.ai",
72
+ "examples": [
73
+ "https://prod.api.faros.ai"
74
+ ]
75
+ },
76
+ "api_key": {
77
+ "title": "API Key",
78
+ "type": "string",
79
+ "description": "The Faros API key to use to access the API.",
80
+ "airbyte_secret": true
81
+ },
82
+ "graph": {
83
+ "type": "string",
84
+ "title": "Graph name",
85
+ "description": "The Faros graph name.",
86
+ "default": "default"
87
+ },
88
+ "expiration": {
89
+ "type": "string",
90
+ "title": "Revision expiration",
91
+ "description": "The Faros graph revision expiration time.",
92
+ "default": "5 seconds",
93
+ "examples": [
94
+ "5 seconds"
95
+ ]
96
+ }
97
+ }
98
+ }
99
+ ]
100
+ },
101
+ "origin": {
102
+ "order": 1,
103
+ "type": "string",
104
+ "title": "Origin name",
105
+ "description": "The Faros origin name used for uploaded entries. Must be unique.",
106
+ "examples": [
107
+ "my-faros-destination"
108
+ ]
109
+ },
110
+ "dry_run": {
111
+ "order": 2,
112
+ "type": "boolean",
113
+ "title": "Dry run",
114
+ "description": "Process all input records but avoid writing into Faros API",
115
+ "default": false
116
+ },
117
+ "invalid_record_strategy": {
118
+ "order": 3,
119
+ "type": "string",
120
+ "title": "Invalid record strategy",
121
+ "description": "Strategy to follow to handle an invalid input record.",
122
+ "default": "SKIP",
123
+ "enum": [
124
+ "FAIL",
125
+ "SKIP"
126
+ ]
127
+ },
128
+ "jsonata_expression": {
129
+ "order": 4,
130
+ "type": "string",
131
+ "title": "JSONata expression",
132
+ "description": "JSONata expression for converting input records. If provided applies the expression based on specified JSONata apply mode."
133
+ },
134
+ "jsonata_mode": {
135
+ "order": 5,
136
+ "type": "string",
137
+ "title": "JSONata apply mode",
138
+ "description": "JSONata apply mode when converting input records.",
139
+ "default": "FALLBACK",
140
+ "enum": [
141
+ "FALLBACK",
142
+ "OVERRIDE"
143
+ ]
144
+ },
145
+ "jsonata_destination_models": {
146
+ "order": 6,
147
+ "type": "array",
148
+ "items": {
149
+ "type": "string"
150
+ },
151
+ "title": "JSONata destination models",
152
+ "description": "Destination models when using JSONata expression.",
153
+ "examples": [
154
+ "ims_Incident",
155
+ "vcs_Commit"
156
+ ]
157
+ },
158
+ "source_specific_configs": {
159
+ "order": 7,
160
+ "type": "object",
161
+ "title": "Source-specific configs",
162
+ "description": "Configuration options that apply to specific sources.",
163
+ "oneOf": [
164
+ {
165
+ "type": "object",
166
+ "title": "Configurations",
167
+ "properties": {
168
+ "agileaccelerator": {
169
+ "title": "AgileAccelerator",
170
+ "description": "Configuration options that apply to records generated by the AgileAccelerator Source.",
171
+ "type": "object",
172
+ "oneOf": [
173
+ {
174
+ "type": "object",
175
+ "title": "Configuration",
176
+ "properties": {
177
+ "max_description_length": {
178
+ "type": "integer",
179
+ "title": "Max Description Length",
180
+ "description": "Value to cut description to specific length",
181
+ "default": 1000
182
+ },
183
+ "work_additional_fields": {
184
+ "type": "array",
185
+ "title": "Work Additional Fields",
186
+ "description": "Fields to save to tms_Task's additionalFields variable",
187
+ "default": []
188
+ }
189
+ }
190
+ }
191
+ ]
192
+ },
193
+ "backlog": {
194
+ "title": "Backlog",
195
+ "description": "Configuration options that apply to records generated by the Backlog Source.",
196
+ "type": "object",
197
+ "oneOf": [
198
+ {
199
+ "type": "object",
200
+ "title": "Configuration",
201
+ "properties": {
202
+ "max_description_length": {
203
+ "type": "integer",
204
+ "title": "Max Description Length",
205
+ "description": "Value to cut description to specific length",
206
+ "default": 1000
207
+ }
208
+ }
209
+ }
210
+ ]
211
+ },
212
+ "bitbucket": {
213
+ "title": "Bitbucket",
214
+ "description": "Configuration options that apply to records generated by the Bitbucket Source.",
215
+ "type": "object",
216
+ "oneOf": [
217
+ {
218
+ "type": "object",
219
+ "title": "Configuration",
220
+ "properties": {
221
+ "application_mapping": {
222
+ "type": "string",
223
+ "title": "Application Mapping",
224
+ "description": "JSON map of StatusPage service(s) name, to compute platform specific app name and platform name. Used to reference compute_Application object, from an ims_Incident object.",
225
+ "multiline": true,
226
+ "default": "{}",
227
+ "examples": [
228
+ "{ \"Aion\": { \"name\": \"aion\", \"platform\": \"ECS\" } }"
229
+ ]
230
+ }
231
+ }
232
+ }
233
+ ]
234
+ },
235
+ "datadog": {
236
+ "title": "Datadog",
237
+ "description": "Configuration options that apply to records generated by the Datadog Source.",
238
+ "type": "object",
239
+ "oneOf": [
240
+ {
241
+ "type": "object",
242
+ "title": "Configuration",
243
+ "properties": {
244
+ "application_mapping": {
245
+ "type": "string",
246
+ "title": "Application Mapping",
247
+ "description": "JSON map of Datadog service(s) name, to compute platform specific app name and platform name. Used to reference compute_Application object, from an ims_Incident object.",
248
+ "multiline": true,
249
+ "default": "{}",
250
+ "examples": [
251
+ "{ \"Aion\": { \"name\": \"aion\", \"platform\": \"ECS\" } }"
252
+ ]
253
+ },
254
+ "default_severity": {
255
+ "type": "string",
256
+ "title": "Default Severity",
257
+ "description": "A default severity category if not present",
258
+ "pattern": "^(Sev[1-5])?(Custom)?$",
259
+ "examples": [
260
+ "Sev1",
261
+ "Sev2",
262
+ "Sev3",
263
+ "Sev4",
264
+ "Sev5",
265
+ "Custom"
266
+ ]
267
+ }
268
+ }
269
+ }
270
+ ]
271
+ },
272
+ "docker": {
273
+ "title": "Docker",
274
+ "description": "Configuration options that apply to records generated by the Docker Source.",
275
+ "type": "object",
276
+ "oneOf": [
277
+ {
278
+ "type": "object",
279
+ "title": "Configuration",
280
+ "required": [
281
+ "organization"
282
+ ],
283
+ "properties": {
284
+ "label_prefix": {
285
+ "type": "string",
286
+ "title": "Label Prefix",
287
+ "description": "Label prefix used to construct build key and commit key for cicd_Artifact and cicd_ArtifactCommitAssociation from labels. Every label key start with this prefix. If the prefix is 'faros-', then the label keys will be 'faros-build-id', 'faros-pipeline-id', etc."
288
+ },
289
+ "skip_tags": {
290
+ "type": "array",
291
+ "items": {
292
+ "type": "string"
293
+ },
294
+ "title": "Skip tags",
295
+ "description": "The images with the listed tags will be ignored by the feed"
296
+ },
297
+ "organization": {
298
+ "type": "string",
299
+ "title": "Organization",
300
+ "description": "Organization name to associate with image tags",
301
+ "default": "unknown-org"
302
+ }
303
+ }
304
+ }
305
+ ]
306
+ },
307
+ "jira": {
308
+ "title": "Jira",
309
+ "description": "Configuration options that apply to records generated by the Jira Source.",
310
+ "type": "object",
311
+ "oneOf": [
312
+ {
313
+ "type": "object",
314
+ "title": "Configuration",
315
+ "properties": {
316
+ "use_board_ownership": {
317
+ "type": "boolean",
318
+ "title": "Use Board Ownership",
319
+ "description": "Use Jira boards for assigning owners of tasks, or use projects.",
320
+ "default": false
321
+ },
322
+ "truncate_limit": {
323
+ "type": "integer",
324
+ "title": "Truncate Limit",
325
+ "description": "Truncate the descriptions of projects, tasks, and epics.",
326
+ "default": 10000
327
+ },
328
+ "exclude_fields": {
329
+ "type": "array",
330
+ "items": {
331
+ "type": "string"
332
+ },
333
+ "title": "Exclude Fields",
334
+ "description": "List of fields to exclude when saving tasks. Defaults to no exclusions.",
335
+ "default": []
336
+ },
337
+ "additional_fields_array_limit": {
338
+ "type": "integer",
339
+ "title": "Additional Fields Array Limit",
340
+ "description": "Truncates an additional field's array value to the given length.",
341
+ "default": 50
342
+ }
343
+ }
344
+ }
345
+ ]
346
+ },
347
+ "pagerduty": {
348
+ "title": "PagerDuty",
349
+ "description": "Configuration options that apply to records generated by the PagerDuty Source.",
350
+ "type": "object",
351
+ "oneOf": [
352
+ {
353
+ "type": "object",
354
+ "title": "Configuration",
355
+ "properties": {
356
+ "application_mapping": {
357
+ "type": "string",
358
+ "title": "Application Mapping",
359
+ "description": "JSON map of PagerDuty service(s) name, to compute platform specific app name and platform name. Used to reference compute_Application object, from an ims_Incident object.",
360
+ "multiline": true,
361
+ "default": "{}",
362
+ "examples": [
363
+ "{ \"Aion\": { \"name\": \"aion\", \"platform\": \"ECS\" } }"
364
+ ]
365
+ },
366
+ "default_severity": {
367
+ "type": "string",
368
+ "title": "Default Severity",
369
+ "description": "A default severity category if not present",
370
+ "pattern": "^(Sev[1-5])?(Custom)?$",
371
+ "examples": [
372
+ "Sev1",
373
+ "Sev2",
374
+ "Sev3",
375
+ "Sev4",
376
+ "Sev5",
377
+ "Custom"
378
+ ]
379
+ }
380
+ }
381
+ }
382
+ ]
383
+ },
384
+ "squadcast": {
385
+ "title": "SquadCast",
386
+ "description": "Configuration options that apply to records generated by the SquadCast Source.",
387
+ "type": "object",
388
+ "oneOf": [
389
+ {
390
+ "type": "object",
391
+ "title": "Configuration",
392
+ "properties": {
393
+ "application_mapping": {
394
+ "type": "string",
395
+ "title": "Application Mapping",
396
+ "description": "JSON map of SquadCast service(s) name, to compute platform specific app name and platform name. Used to reference compute_Application object, from an ims_Incident object.",
397
+ "multiline": true,
398
+ "default": "{}",
399
+ "examples": [
400
+ "{ \"Aion\": { \"name\": \"aion\", \"platform\": \"ECS\" } }"
401
+ ]
402
+ }
403
+ }
404
+ }
405
+ ]
406
+ },
407
+ "statuspage": {
408
+ "title": "StatusPage",
409
+ "description": "Configuration options that apply to records generated by the StatusPage Source.",
410
+ "type": "object",
411
+ "oneOf": [
412
+ {
413
+ "type": "object",
414
+ "title": "Configuration",
415
+ "properties": {
416
+ "application_mapping": {
417
+ "type": "string",
418
+ "title": "Application Mapping",
419
+ "description": "JSON map of StatusPage service(s) name, to compute platform specific app name and platform name. Used to reference compute_Application object, from an ims_Incident object.",
420
+ "multiline": true,
421
+ "default": "{}",
422
+ "examples": [
423
+ "{ \"Aion\": { \"name\": \"aion\", \"platform\": \"ECS\" } }"
424
+ ]
425
+ }
426
+ }
427
+ }
428
+ ]
429
+ },
430
+ "victorops": {
431
+ "title": "VictorOps",
432
+ "description": "Configuration options that apply to records generated by the VictorOps Source.",
433
+ "type": "object",
434
+ "oneOf": [
435
+ {
436
+ "type": "object",
437
+ "title": "Configuration",
438
+ "properties": {
439
+ "application_mapping": {
440
+ "type": "string",
441
+ "title": "Application Mapping",
442
+ "description": "JSON map of VictorOps service(s) name, to compute a Faros Application and Platform name. Used to reference compute_Application object, from an ims_Incident object. If specified, and such service exists, the feed will write a compute_Application object.",
443
+ "multiline": true,
444
+ "default": "{}",
445
+ "examples": [
446
+ "{ \"Aion\": { \"name\": \"aion\", \"platform\": \"ECS\" } }"
447
+ ]
448
+ },
449
+ "application_field": {
450
+ "type": "string",
451
+ "title": "Application Field",
452
+ "description": "Field name in a VictorOps incident, to compute a Faros Application name. The value of this field will be used to look up the app/platform in the specified application mapping",
453
+ "default": "service",
454
+ "examples": [
455
+ "routing_key"
456
+ ]
457
+ }
458
+ }
459
+ }
460
+ ]
461
+ }
462
+ }
463
+ }
464
+ ]
465
+ }
466
+ }
467
+ }
468
+ }