moving to jira to a gold license (#67178)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
891e3c585c
commit
bc7655a80f
4 changed files with 5 additions and 3 deletions
|
@ -21,6 +21,7 @@ import {
|
|||
ExecutorSubActionGetIncidentParamsSchema,
|
||||
ExecutorSubActionHandshakeParamsSchema,
|
||||
} from './schema';
|
||||
import { LicenseType } from '../../../../../legacy/common/constants';
|
||||
|
||||
export interface AnyParams {
|
||||
[index: string]: string | number | object | undefined | null;
|
||||
|
@ -51,6 +52,7 @@ export type Comment = TypeOf<typeof CommentSchema>;
|
|||
export interface ExternalServiceConfiguration {
|
||||
id: string;
|
||||
name: string;
|
||||
minimumLicenseRequired: LicenseType;
|
||||
}
|
||||
|
||||
export interface ExternalServiceCredentials {
|
||||
|
|
|
@ -120,9 +120,7 @@ export const createConnector = ({
|
|||
configurationUtilities,
|
||||
executor = createConnectorExecutor({ api, createExternalService }),
|
||||
}: CreateActionTypeArgs): ActionType => ({
|
||||
id: config.id,
|
||||
name: config.name,
|
||||
minimumLicenseRequired: 'platinum',
|
||||
...config,
|
||||
validate: {
|
||||
config: schema.object(validationSchema.config, {
|
||||
validate: curry(validate.config)(configurationUtilities),
|
||||
|
|
|
@ -10,4 +10,5 @@ import * as i18n from './translations';
|
|||
export const config: ExternalServiceConfiguration = {
|
||||
id: '.jira',
|
||||
name: i18n.NAME,
|
||||
minimumLicenseRequired: 'gold',
|
||||
};
|
||||
|
|
|
@ -10,4 +10,5 @@ import * as i18n from './translations';
|
|||
export const config: ExternalServiceConfiguration = {
|
||||
id: '.servicenow',
|
||||
name: i18n.NAME,
|
||||
minimumLicenseRequired: 'platinum',
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue