@jupiterone/jupiterone-mcp
Version:
Model Context Protocol server for JupiterOne account rules and rule details
16 lines • 13.7 kB
TypeScript
export declare const LIST_ALERT_INSTANCES = "\n query listAlertInstances($alertStatus: AlertStatus, $limit: Int, $cursor: String) {\n listAlertInstances(alertStatus: $alertStatus, limit: $limit, cursor: $cursor) {\n instances {\n ...AlertInstanceFragment\n __typename\n }\n pageInfo {\n endCursor\n hasNextPage\n __typename\n }\n __typename\n }\n }\n\n fragment AlertInstanceFragment on AlertInstance {\n accountId\n resourceGroupId\n createdOn\n dismissedOn\n endReason\n id\n lastEvaluationBeginOn\n lastEvaluationEndOn\n lastEvaluationResult {\n answerText\n evaluationEndOn\n outputs {\n name\n value\n __typename\n }\n rawDataDescriptors {\n name\n recordCount\n __typename\n }\n __typename\n }\n lastUpdatedOn\n level\n questionRuleInstance {\n id\n name\n description\n tags\n pollingInterval\n labels {\n labelName\n labelValue\n __typename\n }\n __typename\n }\n reportRuleInstance {\n name\n description\n __typename\n }\n ruleId\n ruleVersion\n status\n users\n __typename\n }\n";
export declare const LIST_RULE_INSTANCES = "\n query listRuleInstances($limit: Int, $cursor: String, $filters: ListRuleInstancesFilters) {\n listRuleInstances(limit: $limit, cursor: $cursor, filters: $filters) {\n questionInstances {\n ...RuleInstanceFields\n __typename\n }\n pageInfo {\n hasNextPage\n endCursor\n __typename\n }\n __typename\n }\n }\n\n fragment RuleInstanceFields on QuestionRuleInstance {\n id\n resourceGroupId\n accountId\n name\n description\n version\n lastEvaluationStartOn\n lastEvaluationEndOn\n evaluationStep\n specVersion\n notifyOnFailure\n triggerActionsOnNewEntitiesOnly\n ignorePreviousResults\n pollingInterval\n templates\n outputs\n labels {\n labelName\n labelValue\n __typename\n }\n question {\n queries {\n query\n name\n version\n includeDeleted\n __typename\n }\n __typename\n }\n questionId\n latest\n deleted\n type\n operations {\n when\n actions\n __typename\n }\n latestAlertId\n latestAlertIsActive\n state {\n actions\n __typename\n }\n tags\n remediationSteps\n __typename\n }\n";
export declare const GET_ACCOUNT_INFO = "\n query account {\n iamGetAccount {\n accountId\n accountSubdomain\n accountName\n accountOwner\n status\n accountType\n accountLogoUrl\n __typename\n }\n }\n";
export declare const GET_DASHBOARDS = "\n query GetDashboards {\n getDashboards(options: {includeAllJ1ManagedDashboards: true}) {\n id\n name\n userId\n category\n supportedUseCase\n prerequisites {\n prerequisitesMet\n preRequisitesGroupsFulfilled\n preRequisitesGroupsRequired\n __typename\n }\n isJ1ManagedBoard\n resourceGroupId\n starred\n _timeUpdated\n _createdAt\n __typename\n }\n }\n";
export declare const GET_DASHBOARD_DETAILS = "\n query solo_GetDashboard($dashboardId: String!) {\n getDashboard(dashboardId: $dashboardId) {\n ...InsightsDashboard\n __typename\n }\n }\n\n fragment InsightsDashboard on InsightsDashboard {\n id\n name\n category\n userId\n supportedUseCase\n isJ1ManagedBoard\n published\n publishedToUserIds\n publishedToGroupIds\n groupIds\n userIds\n scopeFilters\n resourceGroupId\n starred\n _timeUpdated\n _createdAt\n prerequisites {\n prerequisitesMet\n preRequisitesGroupsFulfilled\n preRequisitesGroupsRequired\n __typename\n }\n parameters {\n ...DashboardParameterFields\n __typename\n }\n widgets {\n ...InsightsWidget\n __typename\n }\n layouts {\n ...InsightsDashboardLayoutConfig\n __typename\n }\n __typename\n }\n\n fragment DashboardParameterFields on DashboardParameter {\n dashboardId\n accountId\n id\n label\n name\n options\n valueType\n type\n default\n disableCustomInput\n requireValue\n __typename\n }\n\n fragment InsightsWidget on InsightsWidget {\n id\n title\n description\n type\n questionId\n noResultMessage\n includeDeleted\n config {\n queries {\n id\n name\n query\n __typename\n }\n settings\n postQueryFilters\n disableQueryPolicyFilters\n __typename\n }\n __typename\n }\n\n fragment InsightsDashboardLayoutConfig on InsightsDashboardLayoutConfig {\n xs {\n ...InsightsDashboardLayoutItem\n __typename\n }\n sm {\n ...InsightsDashboardLayoutItem\n __typename\n }\n md {\n ...InsightsDashboardLayoutItem\n __typename\n }\n lg {\n ...InsightsDashboardLayoutItem\n __typename\n }\n xl {\n ...InsightsDashboardLayoutItem\n __typename\n }\n __typename\n }\n\n fragment InsightsDashboardLayoutItem on InsightsDashboardLayoutItem {\n static\n moved\n w\n h\n x\n y\n i\n __typename\n }\n";
export declare const GET_INTEGRATION_DEFINITIONS = "\n query IntegrationDefinitions($cursor: String, $includeConfig: Boolean = false) {\n integrationDefinitions(cursor: $cursor) {\n definitions {\n ...IntegrationDefinitionsValues\n __typename\n }\n pageInfo {\n endCursor\n hasNextPage\n __typename\n }\n __typename\n }\n }\n\n fragment IntegrationDefinitionsValues on IntegrationDefinition {\n id\n name\n type\n title\n integrationType\n integrationClass\n integrationCategory\n totalInstanceCount\n description\n ...IntegrationDefinitionConfigFragment @include(if: $includeConfig)\n __typename\n }\n\n fragment IntegrationDefinitionConfigFragment on IntegrationDefinition {\n configFields {\n ...ConfigFieldsRecursive\n __typename\n }\n authSections {\n id\n description\n displayName\n configFields {\n ...ConfigFieldsRecursive\n __typename\n }\n verificationDisabled\n __typename\n }\n configSections {\n displayName\n configFields {\n ...ConfigFieldsRecursive\n __typename\n }\n __typename\n }\n __typename\n }\n\n fragment ConfigFieldsRecursive on ConfigField {\n ...ConfigFieldValues\n configFields {\n ...ConfigFieldValues\n configFields {\n ...ConfigFieldValues\n __typename\n }\n __typename\n }\n __typename\n }\n\n fragment ConfigFieldValues on ConfigField {\n key\n displayName\n description\n type\n format\n defaultValue\n helperText\n inputAdornment\n mask\n optional\n immutable\n readonly\n computed\n options {\n value\n description\n label\n webLink\n default\n __typename\n }\n __typename\n }\n";
export declare const GET_INTEGRATION_INSTANCES = "\n query IntegrationInstances($definitionId: String, $cursor: String, $limit: Int, $filter: ListIntegrationInstancesSearchFilter) {\n integrationInstancesV2(\n definitionId: $definitionId\n cursor: $cursor\n limit: $limit\n filter: $filter\n ) {\n instances {\n ...IntegrationInstanceLiteValues\n __typename\n }\n pageInfo {\n endCursor\n hasNextPage\n __typename\n }\n __typename\n }\n }\n\n fragment IntegrationInstanceLiteValues on IntegrationInstanceLite {\n id\n name\n accountId\n sourceIntegrationInstanceId\n pollingInterval\n pollingIntervalCronExpression {\n hour\n dayOfWeek\n __typename\n }\n integrationDefinitionId\n description\n config\n instanceRelationship\n resourceGroupId\n createdOn\n createdBy\n updatedOn\n updatedBy\n mostRecentJob {\n status\n hasSkippedSteps\n createDate\n __typename\n }\n __typename\n }\n";
export declare const GET_INTEGRATION_JOBS = "\n query IntegrationJobs($status: IntegrationJobStatus, $integrationInstanceId: String, $integrationDefinitionId: String, $integrationInstanceIds: [String], $cursor: String, $size: Int) {\n integrationJobs(\n status: $status\n integrationInstanceId: $integrationInstanceId\n integrationDefinitionId: $integrationDefinitionId\n integrationInstanceIds: $integrationInstanceIds\n cursor: $cursor\n size: $size\n ) {\n jobs {\n ...IntegrationJobValues\n __typename\n }\n pageInfo {\n endCursor\n hasNextPage\n __typename\n }\n __typename\n }\n }\n\n fragment IntegrationJobValues on IntegrationJob {\n id\n status\n integrationInstanceId\n createDate\n endDate\n hasSkippedSteps\n integrationInstance {\n id\n name\n __typename\n }\n integrationDefinition {\n id\n title\n integrationType\n __typename\n }\n __typename\n }\n";
export declare const GET_INTEGRATION_JOB = "\n query IntegrationJob($integrationJobId: ID!, $integrationInstanceId: String!) {\n integrationJob(\n id: $integrationJobId\n integrationInstanceId: $integrationInstanceId\n ) {\n ...IntegrationJobValues\n __typename\n }\n }\n\n fragment IntegrationJobValues on IntegrationJob {\n id\n status\n integrationInstanceId\n createDate\n endDate\n hasSkippedSteps\n integrationInstance {\n id\n name\n __typename\n }\n integrationDefinition {\n id\n title\n integrationType\n __typename\n }\n __typename\n }\n";
export declare const GET_INTEGRATION_EVENTS = "\n query ListEvents($jobId: String!, $integrationInstanceId: String!, $cursor: String, $size: Int) {\n integrationEvents(\n size: $size\n cursor: $cursor\n jobId: $jobId\n integrationInstanceId: $integrationInstanceId\n ) {\n events {\n ...IntegrationInstanceEventValues\n __typename\n }\n pageInfo {\n endCursor\n hasNextPage\n __typename\n }\n __typename\n }\n }\n\n fragment IntegrationInstanceEventValues on IntegrationEvent {\n id\n name\n description\n createDate\n jobId\n level\n eventCode\n __typename\n }\n";
export declare const LIST_RULE_EVALUATIONS = "\n query listCollectionResults($collectionType: CollectionType!, $collectionOwnerId: String!, $beginTimestamp: Long!, $endTimestamp: Long!, $limit: Int, $cursor: String, $tag: String) {\n listCollectionResults(\n collectionType: $collectionType\n collectionOwnerId: $collectionOwnerId\n beginTimestamp: $beginTimestamp\n endTimestamp: $endTimestamp\n limit: $limit\n cursor: $cursor\n tag: $tag\n ) {\n results {\n accountId\n collectionOwnerId\n collectionOwnerVersion\n collectionType\n outputs {\n name\n value\n __typename\n }\n rawDataDescriptors {\n name\n persistedResultType\n rawDataKey\n recordCount\n recordCreateCount\n recordDeleteCount\n recordUpdateCount\n __typename\n }\n tag\n timestamp\n __typename\n }\n pageInfo {\n endCursor\n hasNextPage\n __typename\n }\n __typename\n }\n }\n";
export declare const GET_RULE_EVALUATION_DETAILS = "\n query ruleEvaluationDetails($ruleEvaluationDetailsInput: RuleEvaluationDetailsInput!) {\n ruleEvaluationDetails(input: $ruleEvaluationDetailsInput) {\n accountRuleId\n startedOn\n question {\n totalDuration\n queries {\n status\n queryEvaluationDetails {\n name\n duration\n status\n error\n __typename\n }\n __typename\n }\n __typename\n }\n conditions {\n status\n condition\n __typename\n }\n actions {\n status\n actionEvaluationDetails {\n actionId\n action\n status\n duration\n finishedOn\n logs\n __typename\n }\n __typename\n }\n ruleEvaluationOrigin\n __typename\n }\n }\n";
export declare const GET_RAW_DATA_DOWNLOAD_URL = "\n query getRawDataDownloadUrl($rawDataKey: String!) {\n getRawDataDownloadUrl(rawDataKey: $rawDataKey)\n }\n";
export declare const QUERY_V2 = "\n query J1QLv2($query: String!, $variables: JSON, $cursor: String, $scopeFilters: JSON, $includeDeleted: Boolean, $returnRowMetadata: Boolean, $returnComputedProperties: Boolean) {\n queryV2(query: $query, variables: $variables, cursor: $cursor, scopeFilters: $scopeFilters, includeDeleted: $includeDeleted, returnRowMetadata: $returnRowMetadata, returnComputedProperties: $returnComputedProperties) {\n type\n url\n correlationId\n }\n }\n";
export declare const GET_ENTITY_COUNTS = "\n query GetEntityCounts {\n getEntityCounts {\n classes\n types\n }\n }\n";
//# sourceMappingURL=queries.d.ts.map