fleet/frontend/interfaces/webhook.ts
2021-12-28 13:07:18 -05:00

15 lines
422 B
TypeScript

import PropTypes from "prop-types";
export default PropTypes.shape({
destination_url: PropTypes.string,
policy_ids: PropTypes.arrayOf(PropTypes.number),
enable_failing_policies_webhook: PropTypes.bool,
host_batch_size: PropTypes.number,
});
export interface IWebhookFailingPolicies {
destination_url?: string;
policy_ids?: number[];
enable_failing_policies_webhook?: boolean;
host_batch_size?: number;
}