opal-security 3.1.0 → 3.1.1-beta.4a79f20
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.
- package/README.md +18 -34
- package/lib/commands/request/create.js +8 -6
- package/lib/commands/request/get.d.ts +6 -1
- package/lib/commands/request/get.js +99 -5
- package/lib/commands/request/list.d.ts +6 -2
- package/lib/commands/request/list.js +87 -6
- package/lib/graphql/gql.d.ts +22 -2
- package/lib/graphql/gql.js +5 -1
- package/lib/graphql/graphql.d.ts +254 -117
- package/lib/graphql/graphql.js +782 -4
- package/lib/lib/requests.d.ts +29 -9
- package/lib/lib/requests.js +255 -56
- package/lib/utils/displays.d.ts +3 -0
- package/lib/utils/displays.js +68 -4
- package/oclif.manifest.json +51 -7
- package/package.json +2 -1
package/lib/graphql/graphql.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.PaginatedEntityDropdownDocument = exports.GetRequestableAppsQueryDocument = exports.CheckAuthSessionQueryDocument = exports.GetGroupDocument = exports.RequestDecisionLevel = exports.WebhookPubsubPublishConnectionAuthType = exports.WebhookPubsubPublishConnectionApiKeyLocation = exports.Visibility = exports.VerifyFactorStatus = exports.UsersSortByField = exports.UserProductRole = exports.UserErrorType = exports.UsageAttributionType = exports.UiSource = exports.TimePeriod = exports.TimeBucket = exports.ThirdPartyProvider = void 0;
|
|
3
|
+
exports.GroupUserSource = exports.GroupUserSortByField = exports.GroupType = exports.GroupResourceSource = exports.GroupBindingsSortByField = exports.GroupBindingSuggestionsSortByField = exports.GeneralSettingType = exports.FiltersMatchMode = exports.FilterRule = exports.FactorType = exports.EventType = exports.EventSeverity = exports.ErrorNotificationSettingType = exports.EntityType = exports.ConnectionValidationStatus = exports.ConnectionValidationSeverity = exports.ConnectionType = exports.BundlesSortByField = exports.BundleItemsSortByField = exports.AuthType = exports.AuthSessionStatus = exports.AuthFlowType = exports.AssociatedItemsSortByField = exports.AssignmentsSortByField = exports.AppsSortByField = exports.AppType = exports.AppItemsSortByField = exports.AppCategory = exports.ApiAuthType = exports.ApiAccessLevel = exports.AldwinRole = exports.AccessType = exports.AccessRuleStatus = exports.AccessReviewUserWarningType = exports.AccessReviewType = exports.AccessReviewTab = exports.AccessReviewSummaryStatus = exports.AccessReviewStatus = exports.AccessReviewReviewerAssignmentPolicy = exports.AccessReviewItemsSortByField = exports.AccessReviewItemStatus = exports.AccessReviewItemOutcome = exports.AccessReviewGroupResourceVisibilityPolicy = exports.AccessReviewGroupItemKind = exports.AccessReviewEndUserView = exports.AccessReviewAssignedStatus = exports.AccessReviewAction = exports.AccessOption = exports.AccessChangeType = exports.AwsIdentityCenterImportSetting = void 0;
|
|
4
|
+
exports.TagsSortByField = exports.TagFilterMatchMode = exports.SyncType = exports.SyncTaskStatus = exports.SubEventsSortByField = exports.StringFormatType = exports.SortDirection = exports.ServiceType = exports.SearchType = exports.RolePermissionTargetType = exports.RolePermission = exports.RoleAssignmentsSortByField = exports.RoleAssignmentSource = exports.RiskLevel = exports.ReviewerUserStatus = exports.ReviewerAction = exports.ReviewStageOperator = exports.ResourceUserSource = exports.ResourceUserSortByField = exports.ResourceType = exports.RequestsSortByField = exports.RequestType = exports.RequestTemplateCustomFieldType = exports.RequestStatus = exports.RequestMessageLevel = exports.RequestMessageCode = exports.RequestApprovalType = exports.RecommendationsSubscoreType = exports.RecommendationsMetricType = exports.RecommendationsFeedbackType = exports.RecommendationsEntityType = exports.PubsubPublishMessageType = exports.PubsubPublishMessageStatusCode = exports.PubsubPublishConnectionType = exports.ProvisionSource = exports.PropagationTaskType = exports.PropagationStatusCode = exports.OwnersSortByField = exports.OrganizationType = exports.OidcProviderType = exports.NotificationType = exports.MessageChannelType = exports.MfaProvider = exports.IntegrationType = exports.ImportSetting = exports.IdpConnectionUserAttributeUseAs = exports.IdpConnectionType = exports.IdentityCategory = exports.HrIdpStatus = exports.HealthStatus = void 0;
|
|
5
|
+
exports.RequestDefaultsDocument = exports.ResourceAccessLevelsDocument = exports.PaginatedEntityDropdownDocument = exports.GetRequestableAppsQueryDocument = exports.CheckAuthSessionQueryDocument = exports.GetRequestsDocument = exports.GetRequestDocument = exports.GetGroupDocument = exports.RequestDecisionLevel = exports.WebhookPubsubPublishConnectionAuthType = exports.WebhookPubsubPublishConnectionApiKeyLocation = exports.Visibility = exports.VerifyFactorStatus = exports.UsersSortByField = exports.UserProductRole = exports.UserErrorType = exports.UsageAttributionType = exports.UiSource = exports.TimePeriod = exports.TimeBucket = exports.ThirdPartyProvider = exports.TaskTrigger = void 0;
|
|
6
6
|
var AwsIdentityCenterImportSetting;
|
|
7
7
|
(function (AwsIdentityCenterImportSetting) {
|
|
8
8
|
AwsIdentityCenterImportSetting["All"] = "ALL";
|
|
@@ -18,6 +18,7 @@ var AccessChangeType;
|
|
|
18
18
|
var AccessOption;
|
|
19
19
|
(function (AccessOption) {
|
|
20
20
|
AccessOption["All"] = "ALL";
|
|
21
|
+
AccessOption["Manageable"] = "MANAGEABLE";
|
|
21
22
|
AccessOption["Mine"] = "MINE";
|
|
22
23
|
AccessOption["Requestable"] = "REQUESTABLE";
|
|
23
24
|
/** @deprecated no longer supported */
|
|
@@ -653,6 +654,7 @@ var EventType;
|
|
|
653
654
|
EventType["RoleAssignmentsDeleted"] = "ROLE_ASSIGNMENTS_DELETED";
|
|
654
655
|
EventType["RoleAssignmentsUpdated"] = "ROLE_ASSIGNMENTS_UPDATED";
|
|
655
656
|
EventType["SessionsCreatedForResources"] = "SESSIONS_CREATED_FOR_RESOURCES";
|
|
657
|
+
EventType["SoonToExpireNotification"] = "SOON_TO_EXPIRE_NOTIFICATION";
|
|
656
658
|
EventType["ThirdPartyIntegrationCreated"] = "THIRD_PARTY_INTEGRATION_CREATED";
|
|
657
659
|
EventType["ThirdPartyIntegrationDeleted"] = "THIRD_PARTY_INTEGRATION_DELETED";
|
|
658
660
|
EventType["ToxicSetViolationsCreated"] = "TOXIC_SET_VIOLATIONS_CREATED";
|
|
@@ -687,6 +689,11 @@ var FactorType;
|
|
|
687
689
|
FactorType["OktaPush"] = "OKTA_PUSH";
|
|
688
690
|
FactorType["OktaTotp"] = "OKTA_TOTP";
|
|
689
691
|
})(FactorType || (exports.FactorType = FactorType = {}));
|
|
692
|
+
var FilterRule;
|
|
693
|
+
(function (FilterRule) {
|
|
694
|
+
FilterRule["MatchAll"] = "MATCH_ALL";
|
|
695
|
+
FilterRule["MatchAny"] = "MATCH_ANY";
|
|
696
|
+
})(FilterRule || (exports.FilterRule = FilterRule = {}));
|
|
690
697
|
var FiltersMatchMode;
|
|
691
698
|
(function (FiltersMatchMode) {
|
|
692
699
|
FiltersMatchMode["All"] = "ALL";
|
|
@@ -700,7 +707,6 @@ var GeneralSettingType;
|
|
|
700
707
|
GeneralSettingType["AutoMergeUsersByEmail"] = "AUTO_MERGE_USERS_BY_EMAIL";
|
|
701
708
|
GeneralSettingType["DisableNonAdminLogins"] = "DISABLE_NON_ADMIN_LOGINS";
|
|
702
709
|
GeneralSettingType["GlobalRequesterRole"] = "GLOBAL_REQUESTER_ROLE";
|
|
703
|
-
GeneralSettingType["LogRocketDisabled"] = "LOG_ROCKET_DISABLED";
|
|
704
710
|
GeneralSettingType["NestedGroups"] = "NESTED_GROUPS";
|
|
705
711
|
GeneralSettingType["RequireManagerCc"] = "REQUIRE_MANAGER_CC";
|
|
706
712
|
GeneralSettingType["RequireOpalMfaForLogins"] = "REQUIRE_OPAL_MFA_FOR_LOGINS";
|
|
@@ -972,6 +978,7 @@ var RecommendationsMetricType;
|
|
|
972
978
|
RecommendationsMetricType["DailyIrregularUserAccess"] = "DAILY_IRREGULAR_USER_ACCESS";
|
|
973
979
|
RecommendationsMetricType["DailyOutsideUserAccess"] = "DAILY_OUTSIDE_USER_ACCESS";
|
|
974
980
|
RecommendationsMetricType["DailyPerpetualUserAccess"] = "DAILY_PERPETUAL_USER_ACCESS";
|
|
981
|
+
RecommendationsMetricType["DailyUnusedNhiAccess"] = "DAILY_UNUSED_NHI_ACCESS";
|
|
975
982
|
RecommendationsMetricType["DailyUnusedUserAccess"] = "DAILY_UNUSED_USER_ACCESS";
|
|
976
983
|
RecommendationsMetricType["EntitiesWithCriticalRiskScore"] = "ENTITIES_WITH_CRITICAL_RISK_SCORE";
|
|
977
984
|
RecommendationsMetricType["EntitiesWithHighRiskScore"] = "ENTITIES_WITH_HIGH_RISK_SCORE";
|
|
@@ -1094,6 +1101,7 @@ var ResourceType;
|
|
|
1094
1101
|
ResourceType["GcpOrganization"] = "GCP_ORGANIZATION";
|
|
1095
1102
|
ResourceType["GcpProject"] = "GCP_PROJECT";
|
|
1096
1103
|
ResourceType["GcpServiceAccount"] = "GCP_SERVICE_ACCOUNT";
|
|
1104
|
+
ResourceType["GitHubOrgRole"] = "GIT_HUB_ORG_ROLE";
|
|
1097
1105
|
ResourceType["GitHubRepo"] = "GIT_HUB_REPO";
|
|
1098
1106
|
ResourceType["GitLabProject"] = "GIT_LAB_PROJECT";
|
|
1099
1107
|
ResourceType["GoogleWorkspaceRole"] = "GOOGLE_WORKSPACE_ROLE";
|
|
@@ -1184,6 +1192,7 @@ var RoleAssignmentsSortByField;
|
|
|
1184
1192
|
RoleAssignmentsSortByField["LastUsedAt"] = "LAST_USED_AT";
|
|
1185
1193
|
RoleAssignmentsSortByField["PrincipalName"] = "PRINCIPAL_NAME";
|
|
1186
1194
|
RoleAssignmentsSortByField["Role"] = "ROLE";
|
|
1195
|
+
RoleAssignmentsSortByField["VulnerabilityCount"] = "VULNERABILITY_COUNT";
|
|
1187
1196
|
})(RoleAssignmentsSortByField || (exports.RoleAssignmentsSortByField = RoleAssignmentsSortByField = {}));
|
|
1188
1197
|
var RolePermission;
|
|
1189
1198
|
(function (RolePermission) {
|
|
@@ -1197,6 +1206,7 @@ var RolePermission;
|
|
|
1197
1206
|
RolePermission["EditSyncSettings"] = "EDIT_SYNC_SETTINGS";
|
|
1198
1207
|
RolePermission["EditTags"] = "EDIT_TAGS";
|
|
1199
1208
|
RolePermission["Export"] = "EXPORT";
|
|
1209
|
+
RolePermission["Import"] = "IMPORT";
|
|
1200
1210
|
RolePermission["Read"] = "READ";
|
|
1201
1211
|
RolePermission["ReadAssignments"] = "READ_ASSIGNMENTS";
|
|
1202
1212
|
RolePermission["SendReminders"] = "SEND_REMINDERS";
|
|
@@ -1657,6 +1667,486 @@ exports.GetGroupDocument = {
|
|
|
1657
1667
|
},
|
|
1658
1668
|
],
|
|
1659
1669
|
};
|
|
1670
|
+
exports.GetRequestDocument = {
|
|
1671
|
+
kind: "Document",
|
|
1672
|
+
definitions: [
|
|
1673
|
+
{
|
|
1674
|
+
kind: "OperationDefinition",
|
|
1675
|
+
operation: "query",
|
|
1676
|
+
name: { kind: "Name", value: "GetRequest" },
|
|
1677
|
+
variableDefinitions: [
|
|
1678
|
+
{
|
|
1679
|
+
kind: "VariableDefinition",
|
|
1680
|
+
variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
|
|
1681
|
+
type: {
|
|
1682
|
+
kind: "NonNullType",
|
|
1683
|
+
type: {
|
|
1684
|
+
kind: "NamedType",
|
|
1685
|
+
name: { kind: "Name", value: "RequestId" },
|
|
1686
|
+
},
|
|
1687
|
+
},
|
|
1688
|
+
},
|
|
1689
|
+
],
|
|
1690
|
+
selectionSet: {
|
|
1691
|
+
kind: "SelectionSet",
|
|
1692
|
+
selections: [
|
|
1693
|
+
{
|
|
1694
|
+
kind: "Field",
|
|
1695
|
+
name: { kind: "Name", value: "request" },
|
|
1696
|
+
arguments: [
|
|
1697
|
+
{
|
|
1698
|
+
kind: "Argument",
|
|
1699
|
+
name: { kind: "Name", value: "input" },
|
|
1700
|
+
value: {
|
|
1701
|
+
kind: "ObjectValue",
|
|
1702
|
+
fields: [
|
|
1703
|
+
{
|
|
1704
|
+
kind: "ObjectField",
|
|
1705
|
+
name: { kind: "Name", value: "id" },
|
|
1706
|
+
value: {
|
|
1707
|
+
kind: "Variable",
|
|
1708
|
+
name: { kind: "Name", value: "id" },
|
|
1709
|
+
},
|
|
1710
|
+
},
|
|
1711
|
+
],
|
|
1712
|
+
},
|
|
1713
|
+
},
|
|
1714
|
+
],
|
|
1715
|
+
selectionSet: {
|
|
1716
|
+
kind: "SelectionSet",
|
|
1717
|
+
selections: [
|
|
1718
|
+
{ kind: "Field", name: { kind: "Name", value: "__typename" } },
|
|
1719
|
+
{
|
|
1720
|
+
kind: "InlineFragment",
|
|
1721
|
+
typeCondition: {
|
|
1722
|
+
kind: "NamedType",
|
|
1723
|
+
name: { kind: "Name", value: "RequestResult" },
|
|
1724
|
+
},
|
|
1725
|
+
selectionSet: {
|
|
1726
|
+
kind: "SelectionSet",
|
|
1727
|
+
selections: [
|
|
1728
|
+
{
|
|
1729
|
+
kind: "Field",
|
|
1730
|
+
name: { kind: "Name", value: "request" },
|
|
1731
|
+
selectionSet: {
|
|
1732
|
+
kind: "SelectionSet",
|
|
1733
|
+
selections: [
|
|
1734
|
+
{
|
|
1735
|
+
kind: "Field",
|
|
1736
|
+
name: { kind: "Name", value: "id" },
|
|
1737
|
+
},
|
|
1738
|
+
{
|
|
1739
|
+
kind: "Field",
|
|
1740
|
+
name: { kind: "Name", value: "createdAt" },
|
|
1741
|
+
},
|
|
1742
|
+
{
|
|
1743
|
+
kind: "Field",
|
|
1744
|
+
name: { kind: "Name", value: "status" },
|
|
1745
|
+
},
|
|
1746
|
+
{
|
|
1747
|
+
kind: "Field",
|
|
1748
|
+
name: { kind: "Name", value: "requester" },
|
|
1749
|
+
selectionSet: {
|
|
1750
|
+
kind: "SelectionSet",
|
|
1751
|
+
selections: [
|
|
1752
|
+
{
|
|
1753
|
+
kind: "Field",
|
|
1754
|
+
name: {
|
|
1755
|
+
kind: "Name",
|
|
1756
|
+
value: "displayName",
|
|
1757
|
+
},
|
|
1758
|
+
},
|
|
1759
|
+
],
|
|
1760
|
+
},
|
|
1761
|
+
},
|
|
1762
|
+
{
|
|
1763
|
+
kind: "Field",
|
|
1764
|
+
name: { kind: "Name", value: "targetUser" },
|
|
1765
|
+
selectionSet: {
|
|
1766
|
+
kind: "SelectionSet",
|
|
1767
|
+
selections: [
|
|
1768
|
+
{
|
|
1769
|
+
kind: "Field",
|
|
1770
|
+
name: {
|
|
1771
|
+
kind: "Name",
|
|
1772
|
+
value: "displayName",
|
|
1773
|
+
},
|
|
1774
|
+
},
|
|
1775
|
+
],
|
|
1776
|
+
},
|
|
1777
|
+
},
|
|
1778
|
+
{
|
|
1779
|
+
kind: "Field",
|
|
1780
|
+
name: {
|
|
1781
|
+
kind: "Name",
|
|
1782
|
+
value: "requestedResources",
|
|
1783
|
+
},
|
|
1784
|
+
selectionSet: {
|
|
1785
|
+
kind: "SelectionSet",
|
|
1786
|
+
selections: [
|
|
1787
|
+
{
|
|
1788
|
+
kind: "Field",
|
|
1789
|
+
name: { kind: "Name", value: "resource" },
|
|
1790
|
+
selectionSet: {
|
|
1791
|
+
kind: "SelectionSet",
|
|
1792
|
+
selections: [
|
|
1793
|
+
{
|
|
1794
|
+
kind: "Field",
|
|
1795
|
+
name: {
|
|
1796
|
+
kind: "Name",
|
|
1797
|
+
value: "displayName",
|
|
1798
|
+
},
|
|
1799
|
+
},
|
|
1800
|
+
{
|
|
1801
|
+
kind: "Field",
|
|
1802
|
+
name: { kind: "Name", value: "id" },
|
|
1803
|
+
},
|
|
1804
|
+
],
|
|
1805
|
+
},
|
|
1806
|
+
},
|
|
1807
|
+
{
|
|
1808
|
+
kind: "Field",
|
|
1809
|
+
name: {
|
|
1810
|
+
kind: "Name",
|
|
1811
|
+
value: "accessLevel",
|
|
1812
|
+
},
|
|
1813
|
+
selectionSet: {
|
|
1814
|
+
kind: "SelectionSet",
|
|
1815
|
+
selections: [
|
|
1816
|
+
{
|
|
1817
|
+
kind: "Field",
|
|
1818
|
+
name: {
|
|
1819
|
+
kind: "Name",
|
|
1820
|
+
value: "accessLevelName",
|
|
1821
|
+
},
|
|
1822
|
+
},
|
|
1823
|
+
{
|
|
1824
|
+
kind: "Field",
|
|
1825
|
+
name: {
|
|
1826
|
+
kind: "Name",
|
|
1827
|
+
value: "accessLevelRemoteId",
|
|
1828
|
+
},
|
|
1829
|
+
},
|
|
1830
|
+
],
|
|
1831
|
+
},
|
|
1832
|
+
},
|
|
1833
|
+
],
|
|
1834
|
+
},
|
|
1835
|
+
},
|
|
1836
|
+
{
|
|
1837
|
+
kind: "Field",
|
|
1838
|
+
name: {
|
|
1839
|
+
kind: "Name",
|
|
1840
|
+
value: "durationInMinutes",
|
|
1841
|
+
},
|
|
1842
|
+
},
|
|
1843
|
+
{
|
|
1844
|
+
kind: "Field",
|
|
1845
|
+
name: { kind: "Name", value: "requestedGroups" },
|
|
1846
|
+
selectionSet: {
|
|
1847
|
+
kind: "SelectionSet",
|
|
1848
|
+
selections: [
|
|
1849
|
+
{
|
|
1850
|
+
kind: "Field",
|
|
1851
|
+
name: { kind: "Name", value: "group" },
|
|
1852
|
+
selectionSet: {
|
|
1853
|
+
kind: "SelectionSet",
|
|
1854
|
+
selections: [
|
|
1855
|
+
{
|
|
1856
|
+
kind: "Field",
|
|
1857
|
+
name: { kind: "Name", value: "id" },
|
|
1858
|
+
},
|
|
1859
|
+
{
|
|
1860
|
+
kind: "Field",
|
|
1861
|
+
name: { kind: "Name", value: "name" },
|
|
1862
|
+
},
|
|
1863
|
+
],
|
|
1864
|
+
},
|
|
1865
|
+
},
|
|
1866
|
+
{
|
|
1867
|
+
kind: "Field",
|
|
1868
|
+
name: {
|
|
1869
|
+
kind: "Name",
|
|
1870
|
+
value: "accessLevel",
|
|
1871
|
+
},
|
|
1872
|
+
selectionSet: {
|
|
1873
|
+
kind: "SelectionSet",
|
|
1874
|
+
selections: [
|
|
1875
|
+
{
|
|
1876
|
+
kind: "Field",
|
|
1877
|
+
name: {
|
|
1878
|
+
kind: "Name",
|
|
1879
|
+
value: "accessLevelName",
|
|
1880
|
+
},
|
|
1881
|
+
},
|
|
1882
|
+
{
|
|
1883
|
+
kind: "Field",
|
|
1884
|
+
name: {
|
|
1885
|
+
kind: "Name",
|
|
1886
|
+
value: "accessLevelRemoteId",
|
|
1887
|
+
},
|
|
1888
|
+
},
|
|
1889
|
+
],
|
|
1890
|
+
},
|
|
1891
|
+
},
|
|
1892
|
+
],
|
|
1893
|
+
},
|
|
1894
|
+
},
|
|
1895
|
+
{
|
|
1896
|
+
kind: "Field",
|
|
1897
|
+
name: { kind: "Name", value: "reason" },
|
|
1898
|
+
},
|
|
1899
|
+
],
|
|
1900
|
+
},
|
|
1901
|
+
},
|
|
1902
|
+
],
|
|
1903
|
+
},
|
|
1904
|
+
},
|
|
1905
|
+
{
|
|
1906
|
+
kind: "InlineFragment",
|
|
1907
|
+
typeCondition: {
|
|
1908
|
+
kind: "NamedType",
|
|
1909
|
+
name: { kind: "Name", value: "RequestNotFoundError" },
|
|
1910
|
+
},
|
|
1911
|
+
selectionSet: {
|
|
1912
|
+
kind: "SelectionSet",
|
|
1913
|
+
selections: [
|
|
1914
|
+
{
|
|
1915
|
+
kind: "Field",
|
|
1916
|
+
name: { kind: "Name", value: "message" },
|
|
1917
|
+
},
|
|
1918
|
+
],
|
|
1919
|
+
},
|
|
1920
|
+
},
|
|
1921
|
+
],
|
|
1922
|
+
},
|
|
1923
|
+
},
|
|
1924
|
+
],
|
|
1925
|
+
},
|
|
1926
|
+
},
|
|
1927
|
+
],
|
|
1928
|
+
};
|
|
1929
|
+
exports.GetRequestsDocument = {
|
|
1930
|
+
kind: "Document",
|
|
1931
|
+
definitions: [
|
|
1932
|
+
{
|
|
1933
|
+
kind: "OperationDefinition",
|
|
1934
|
+
operation: "query",
|
|
1935
|
+
name: { kind: "Name", value: "GetRequests" },
|
|
1936
|
+
variableDefinitions: [
|
|
1937
|
+
{
|
|
1938
|
+
kind: "VariableDefinition",
|
|
1939
|
+
variable: {
|
|
1940
|
+
kind: "Variable",
|
|
1941
|
+
name: { kind: "Name", value: "pageSize" },
|
|
1942
|
+
},
|
|
1943
|
+
type: { kind: "NamedType", name: { kind: "Name", value: "Int" } },
|
|
1944
|
+
},
|
|
1945
|
+
{
|
|
1946
|
+
kind: "VariableDefinition",
|
|
1947
|
+
variable: {
|
|
1948
|
+
kind: "Variable",
|
|
1949
|
+
name: { kind: "Name", value: "showPendingOnly" },
|
|
1950
|
+
},
|
|
1951
|
+
type: {
|
|
1952
|
+
kind: "NonNullType",
|
|
1953
|
+
type: {
|
|
1954
|
+
kind: "NamedType",
|
|
1955
|
+
name: { kind: "Name", value: "Boolean" },
|
|
1956
|
+
},
|
|
1957
|
+
},
|
|
1958
|
+
},
|
|
1959
|
+
],
|
|
1960
|
+
selectionSet: {
|
|
1961
|
+
kind: "SelectionSet",
|
|
1962
|
+
selections: [
|
|
1963
|
+
{
|
|
1964
|
+
kind: "Field",
|
|
1965
|
+
name: { kind: "Name", value: "requests" },
|
|
1966
|
+
arguments: [
|
|
1967
|
+
{
|
|
1968
|
+
kind: "Argument",
|
|
1969
|
+
name: { kind: "Name", value: "input" },
|
|
1970
|
+
value: {
|
|
1971
|
+
kind: "ObjectValue",
|
|
1972
|
+
fields: [
|
|
1973
|
+
{
|
|
1974
|
+
kind: "ObjectField",
|
|
1975
|
+
name: { kind: "Name", value: "requestType" },
|
|
1976
|
+
value: { kind: "EnumValue", value: "OUTGOING" },
|
|
1977
|
+
},
|
|
1978
|
+
{
|
|
1979
|
+
kind: "ObjectField",
|
|
1980
|
+
name: { kind: "Name", value: "maxNumEntries" },
|
|
1981
|
+
value: {
|
|
1982
|
+
kind: "Variable",
|
|
1983
|
+
name: { kind: "Name", value: "pageSize" },
|
|
1984
|
+
},
|
|
1985
|
+
},
|
|
1986
|
+
{
|
|
1987
|
+
kind: "ObjectField",
|
|
1988
|
+
name: { kind: "Name", value: "filters" },
|
|
1989
|
+
value: {
|
|
1990
|
+
kind: "ObjectValue",
|
|
1991
|
+
fields: [
|
|
1992
|
+
{
|
|
1993
|
+
kind: "ObjectField",
|
|
1994
|
+
name: { kind: "Name", value: "showPendingOnly" },
|
|
1995
|
+
value: {
|
|
1996
|
+
kind: "Variable",
|
|
1997
|
+
name: { kind: "Name", value: "showPendingOnly" },
|
|
1998
|
+
},
|
|
1999
|
+
},
|
|
2000
|
+
],
|
|
2001
|
+
},
|
|
2002
|
+
},
|
|
2003
|
+
],
|
|
2004
|
+
},
|
|
2005
|
+
},
|
|
2006
|
+
],
|
|
2007
|
+
selectionSet: {
|
|
2008
|
+
kind: "SelectionSet",
|
|
2009
|
+
selections: [
|
|
2010
|
+
{ kind: "Field", name: { kind: "Name", value: "__typename" } },
|
|
2011
|
+
{
|
|
2012
|
+
kind: "InlineFragment",
|
|
2013
|
+
typeCondition: {
|
|
2014
|
+
kind: "NamedType",
|
|
2015
|
+
name: { kind: "Name", value: "RequestsResult" },
|
|
2016
|
+
},
|
|
2017
|
+
selectionSet: {
|
|
2018
|
+
kind: "SelectionSet",
|
|
2019
|
+
selections: [
|
|
2020
|
+
{
|
|
2021
|
+
kind: "Field",
|
|
2022
|
+
name: { kind: "Name", value: "requestType" },
|
|
2023
|
+
},
|
|
2024
|
+
{
|
|
2025
|
+
kind: "Field",
|
|
2026
|
+
name: { kind: "Name", value: "requests" },
|
|
2027
|
+
selectionSet: {
|
|
2028
|
+
kind: "SelectionSet",
|
|
2029
|
+
selections: [
|
|
2030
|
+
{
|
|
2031
|
+
kind: "Field",
|
|
2032
|
+
name: { kind: "Name", value: "createdAt" },
|
|
2033
|
+
},
|
|
2034
|
+
{
|
|
2035
|
+
kind: "Field",
|
|
2036
|
+
name: { kind: "Name", value: "id" },
|
|
2037
|
+
},
|
|
2038
|
+
{
|
|
2039
|
+
kind: "Field",
|
|
2040
|
+
name: { kind: "Name", value: "requester" },
|
|
2041
|
+
selectionSet: {
|
|
2042
|
+
kind: "SelectionSet",
|
|
2043
|
+
selections: [
|
|
2044
|
+
{
|
|
2045
|
+
kind: "Field",
|
|
2046
|
+
name: {
|
|
2047
|
+
kind: "Name",
|
|
2048
|
+
value: "displayName",
|
|
2049
|
+
},
|
|
2050
|
+
},
|
|
2051
|
+
],
|
|
2052
|
+
},
|
|
2053
|
+
},
|
|
2054
|
+
{
|
|
2055
|
+
kind: "Field",
|
|
2056
|
+
name: { kind: "Name", value: "targetUser" },
|
|
2057
|
+
selectionSet: {
|
|
2058
|
+
kind: "SelectionSet",
|
|
2059
|
+
selections: [
|
|
2060
|
+
{
|
|
2061
|
+
kind: "Field",
|
|
2062
|
+
name: {
|
|
2063
|
+
kind: "Name",
|
|
2064
|
+
value: "displayName",
|
|
2065
|
+
},
|
|
2066
|
+
},
|
|
2067
|
+
],
|
|
2068
|
+
},
|
|
2069
|
+
},
|
|
2070
|
+
{
|
|
2071
|
+
kind: "Field",
|
|
2072
|
+
name: { kind: "Name", value: "reason" },
|
|
2073
|
+
},
|
|
2074
|
+
{
|
|
2075
|
+
kind: "Field",
|
|
2076
|
+
name: {
|
|
2077
|
+
kind: "Name",
|
|
2078
|
+
value: "requestedResources",
|
|
2079
|
+
},
|
|
2080
|
+
selectionSet: {
|
|
2081
|
+
kind: "SelectionSet",
|
|
2082
|
+
selections: [
|
|
2083
|
+
{
|
|
2084
|
+
kind: "Field",
|
|
2085
|
+
name: { kind: "Name", value: "resource" },
|
|
2086
|
+
selectionSet: {
|
|
2087
|
+
kind: "SelectionSet",
|
|
2088
|
+
selections: [
|
|
2089
|
+
{
|
|
2090
|
+
kind: "Field",
|
|
2091
|
+
name: {
|
|
2092
|
+
kind: "Name",
|
|
2093
|
+
value: "displayName",
|
|
2094
|
+
},
|
|
2095
|
+
},
|
|
2096
|
+
{
|
|
2097
|
+
kind: "Field",
|
|
2098
|
+
name: { kind: "Name", value: "id" },
|
|
2099
|
+
},
|
|
2100
|
+
],
|
|
2101
|
+
},
|
|
2102
|
+
},
|
|
2103
|
+
],
|
|
2104
|
+
},
|
|
2105
|
+
},
|
|
2106
|
+
{
|
|
2107
|
+
kind: "Field",
|
|
2108
|
+
name: { kind: "Name", value: "requestedGroups" },
|
|
2109
|
+
selectionSet: {
|
|
2110
|
+
kind: "SelectionSet",
|
|
2111
|
+
selections: [
|
|
2112
|
+
{
|
|
2113
|
+
kind: "Field",
|
|
2114
|
+
name: { kind: "Name", value: "group" },
|
|
2115
|
+
selectionSet: {
|
|
2116
|
+
kind: "SelectionSet",
|
|
2117
|
+
selections: [
|
|
2118
|
+
{
|
|
2119
|
+
kind: "Field",
|
|
2120
|
+
name: { kind: "Name", value: "name" },
|
|
2121
|
+
},
|
|
2122
|
+
{
|
|
2123
|
+
kind: "Field",
|
|
2124
|
+
name: { kind: "Name", value: "id" },
|
|
2125
|
+
},
|
|
2126
|
+
],
|
|
2127
|
+
},
|
|
2128
|
+
},
|
|
2129
|
+
],
|
|
2130
|
+
},
|
|
2131
|
+
},
|
|
2132
|
+
{
|
|
2133
|
+
kind: "Field",
|
|
2134
|
+
name: { kind: "Name", value: "status" },
|
|
2135
|
+
},
|
|
2136
|
+
],
|
|
2137
|
+
},
|
|
2138
|
+
},
|
|
2139
|
+
],
|
|
2140
|
+
},
|
|
2141
|
+
},
|
|
2142
|
+
],
|
|
2143
|
+
},
|
|
2144
|
+
},
|
|
2145
|
+
],
|
|
2146
|
+
},
|
|
2147
|
+
},
|
|
2148
|
+
],
|
|
2149
|
+
};
|
|
1660
2150
|
exports.CheckAuthSessionQueryDocument = {
|
|
1661
2151
|
kind: "Document",
|
|
1662
2152
|
definitions: [
|
|
@@ -2026,6 +2516,294 @@ exports.PaginatedEntityDropdownDocument = {
|
|
|
2026
2516
|
],
|
|
2027
2517
|
},
|
|
2028
2518
|
},
|
|
2519
|
+
{
|
|
2520
|
+
kind: "InlineFragment",
|
|
2521
|
+
typeCondition: {
|
|
2522
|
+
kind: "NamedType",
|
|
2523
|
+
name: { kind: "Name", value: "AppNotFoundError" },
|
|
2524
|
+
},
|
|
2525
|
+
selectionSet: {
|
|
2526
|
+
kind: "SelectionSet",
|
|
2527
|
+
selections: [
|
|
2528
|
+
{
|
|
2529
|
+
kind: "Field",
|
|
2530
|
+
name: { kind: "Name", value: "message" },
|
|
2531
|
+
},
|
|
2532
|
+
],
|
|
2533
|
+
},
|
|
2534
|
+
},
|
|
2535
|
+
],
|
|
2536
|
+
},
|
|
2537
|
+
},
|
|
2538
|
+
],
|
|
2539
|
+
},
|
|
2540
|
+
},
|
|
2541
|
+
],
|
|
2542
|
+
};
|
|
2543
|
+
exports.ResourceAccessLevelsDocument = {
|
|
2544
|
+
kind: "Document",
|
|
2545
|
+
definitions: [
|
|
2546
|
+
{
|
|
2547
|
+
kind: "OperationDefinition",
|
|
2548
|
+
operation: "query",
|
|
2549
|
+
name: { kind: "Name", value: "ResourceAccessLevels" },
|
|
2550
|
+
variableDefinitions: [
|
|
2551
|
+
{
|
|
2552
|
+
kind: "VariableDefinition",
|
|
2553
|
+
variable: {
|
|
2554
|
+
kind: "Variable",
|
|
2555
|
+
name: { kind: "Name", value: "resourceId" },
|
|
2556
|
+
},
|
|
2557
|
+
type: {
|
|
2558
|
+
kind: "NonNullType",
|
|
2559
|
+
type: {
|
|
2560
|
+
kind: "NamedType",
|
|
2561
|
+
name: { kind: "Name", value: "ResourceId" },
|
|
2562
|
+
},
|
|
2563
|
+
},
|
|
2564
|
+
},
|
|
2565
|
+
],
|
|
2566
|
+
selectionSet: {
|
|
2567
|
+
kind: "SelectionSet",
|
|
2568
|
+
selections: [
|
|
2569
|
+
{
|
|
2570
|
+
kind: "Field",
|
|
2571
|
+
name: { kind: "Name", value: "accessLevels" },
|
|
2572
|
+
arguments: [
|
|
2573
|
+
{
|
|
2574
|
+
kind: "Argument",
|
|
2575
|
+
name: { kind: "Name", value: "input" },
|
|
2576
|
+
value: {
|
|
2577
|
+
kind: "ObjectValue",
|
|
2578
|
+
fields: [
|
|
2579
|
+
{
|
|
2580
|
+
kind: "ObjectField",
|
|
2581
|
+
name: { kind: "Name", value: "resourceId" },
|
|
2582
|
+
value: {
|
|
2583
|
+
kind: "Variable",
|
|
2584
|
+
name: { kind: "Name", value: "resourceId" },
|
|
2585
|
+
},
|
|
2586
|
+
},
|
|
2587
|
+
{
|
|
2588
|
+
kind: "ObjectField",
|
|
2589
|
+
name: { kind: "Name", value: "onlyMine" },
|
|
2590
|
+
value: { kind: "BooleanValue", value: false },
|
|
2591
|
+
},
|
|
2592
|
+
],
|
|
2593
|
+
},
|
|
2594
|
+
},
|
|
2595
|
+
],
|
|
2596
|
+
selectionSet: {
|
|
2597
|
+
kind: "SelectionSet",
|
|
2598
|
+
selections: [
|
|
2599
|
+
{ kind: "Field", name: { kind: "Name", value: "__typename" } },
|
|
2600
|
+
{
|
|
2601
|
+
kind: "InlineFragment",
|
|
2602
|
+
typeCondition: {
|
|
2603
|
+
kind: "NamedType",
|
|
2604
|
+
name: { kind: "Name", value: "ResourceAccessLevelsResult" },
|
|
2605
|
+
},
|
|
2606
|
+
selectionSet: {
|
|
2607
|
+
kind: "SelectionSet",
|
|
2608
|
+
selections: [
|
|
2609
|
+
{
|
|
2610
|
+
kind: "Field",
|
|
2611
|
+
name: { kind: "Name", value: "accessLevels" },
|
|
2612
|
+
selectionSet: {
|
|
2613
|
+
kind: "SelectionSet",
|
|
2614
|
+
selections: [
|
|
2615
|
+
{
|
|
2616
|
+
kind: "Field",
|
|
2617
|
+
name: { kind: "Name", value: "__typename" },
|
|
2618
|
+
},
|
|
2619
|
+
{
|
|
2620
|
+
kind: "InlineFragment",
|
|
2621
|
+
typeCondition: {
|
|
2622
|
+
kind: "NamedType",
|
|
2623
|
+
name: {
|
|
2624
|
+
kind: "Name",
|
|
2625
|
+
value: "ResourceAccessLevel",
|
|
2626
|
+
},
|
|
2627
|
+
},
|
|
2628
|
+
selectionSet: {
|
|
2629
|
+
kind: "SelectionSet",
|
|
2630
|
+
selections: [
|
|
2631
|
+
{
|
|
2632
|
+
kind: "Field",
|
|
2633
|
+
name: {
|
|
2634
|
+
kind: "Name",
|
|
2635
|
+
value: "accessLevelName",
|
|
2636
|
+
},
|
|
2637
|
+
},
|
|
2638
|
+
{
|
|
2639
|
+
kind: "Field",
|
|
2640
|
+
name: {
|
|
2641
|
+
kind: "Name",
|
|
2642
|
+
value: "accessLevelRemoteId",
|
|
2643
|
+
},
|
|
2644
|
+
},
|
|
2645
|
+
],
|
|
2646
|
+
},
|
|
2647
|
+
},
|
|
2648
|
+
],
|
|
2649
|
+
},
|
|
2650
|
+
},
|
|
2651
|
+
],
|
|
2652
|
+
},
|
|
2653
|
+
},
|
|
2654
|
+
{
|
|
2655
|
+
kind: "InlineFragment",
|
|
2656
|
+
typeCondition: {
|
|
2657
|
+
kind: "NamedType",
|
|
2658
|
+
name: { kind: "Name", value: "ResourceNotFoundError" },
|
|
2659
|
+
},
|
|
2660
|
+
selectionSet: {
|
|
2661
|
+
kind: "SelectionSet",
|
|
2662
|
+
selections: [
|
|
2663
|
+
{
|
|
2664
|
+
kind: "Field",
|
|
2665
|
+
name: { kind: "Name", value: "message" },
|
|
2666
|
+
},
|
|
2667
|
+
],
|
|
2668
|
+
},
|
|
2669
|
+
},
|
|
2670
|
+
],
|
|
2671
|
+
},
|
|
2672
|
+
},
|
|
2673
|
+
],
|
|
2674
|
+
},
|
|
2675
|
+
},
|
|
2676
|
+
],
|
|
2677
|
+
};
|
|
2678
|
+
exports.RequestDefaultsDocument = {
|
|
2679
|
+
kind: "Document",
|
|
2680
|
+
definitions: [
|
|
2681
|
+
{
|
|
2682
|
+
kind: "OperationDefinition",
|
|
2683
|
+
operation: "query",
|
|
2684
|
+
name: { kind: "Name", value: "RequestDefaults" },
|
|
2685
|
+
variableDefinitions: [
|
|
2686
|
+
{
|
|
2687
|
+
kind: "VariableDefinition",
|
|
2688
|
+
variable: {
|
|
2689
|
+
kind: "Variable",
|
|
2690
|
+
name: { kind: "Name", value: "requestedResources" },
|
|
2691
|
+
},
|
|
2692
|
+
type: {
|
|
2693
|
+
kind: "NonNullType",
|
|
2694
|
+
type: {
|
|
2695
|
+
kind: "ListType",
|
|
2696
|
+
type: {
|
|
2697
|
+
kind: "NonNullType",
|
|
2698
|
+
type: {
|
|
2699
|
+
kind: "NamedType",
|
|
2700
|
+
name: {
|
|
2701
|
+
kind: "Name",
|
|
2702
|
+
value: "RequestConfigurationResourceInput",
|
|
2703
|
+
},
|
|
2704
|
+
},
|
|
2705
|
+
},
|
|
2706
|
+
},
|
|
2707
|
+
},
|
|
2708
|
+
},
|
|
2709
|
+
{
|
|
2710
|
+
kind: "VariableDefinition",
|
|
2711
|
+
variable: {
|
|
2712
|
+
kind: "Variable",
|
|
2713
|
+
name: { kind: "Name", value: "requestedGroups" },
|
|
2714
|
+
},
|
|
2715
|
+
type: {
|
|
2716
|
+
kind: "NonNullType",
|
|
2717
|
+
type: {
|
|
2718
|
+
kind: "ListType",
|
|
2719
|
+
type: {
|
|
2720
|
+
kind: "NonNullType",
|
|
2721
|
+
type: {
|
|
2722
|
+
kind: "NamedType",
|
|
2723
|
+
name: {
|
|
2724
|
+
kind: "Name",
|
|
2725
|
+
value: "RequestConfigurationGroupInput",
|
|
2726
|
+
},
|
|
2727
|
+
},
|
|
2728
|
+
},
|
|
2729
|
+
},
|
|
2730
|
+
},
|
|
2731
|
+
},
|
|
2732
|
+
],
|
|
2733
|
+
selectionSet: {
|
|
2734
|
+
kind: "SelectionSet",
|
|
2735
|
+
selections: [
|
|
2736
|
+
{
|
|
2737
|
+
kind: "Field",
|
|
2738
|
+
name: { kind: "Name", value: "requestDefaults" },
|
|
2739
|
+
arguments: [
|
|
2740
|
+
{
|
|
2741
|
+
kind: "Argument",
|
|
2742
|
+
name: { kind: "Name", value: "input" },
|
|
2743
|
+
value: {
|
|
2744
|
+
kind: "ObjectValue",
|
|
2745
|
+
fields: [
|
|
2746
|
+
{
|
|
2747
|
+
kind: "ObjectField",
|
|
2748
|
+
name: { kind: "Name", value: "requestedResources" },
|
|
2749
|
+
value: {
|
|
2750
|
+
kind: "Variable",
|
|
2751
|
+
name: { kind: "Name", value: "requestedResources" },
|
|
2752
|
+
},
|
|
2753
|
+
},
|
|
2754
|
+
{
|
|
2755
|
+
kind: "ObjectField",
|
|
2756
|
+
name: { kind: "Name", value: "requestedGroups" },
|
|
2757
|
+
value: {
|
|
2758
|
+
kind: "Variable",
|
|
2759
|
+
name: { kind: "Name", value: "requestedGroups" },
|
|
2760
|
+
},
|
|
2761
|
+
},
|
|
2762
|
+
],
|
|
2763
|
+
},
|
|
2764
|
+
},
|
|
2765
|
+
],
|
|
2766
|
+
selectionSet: {
|
|
2767
|
+
kind: "SelectionSet",
|
|
2768
|
+
selections: [
|
|
2769
|
+
{
|
|
2770
|
+
kind: "Field",
|
|
2771
|
+
name: { kind: "Name", value: "durationOptions" },
|
|
2772
|
+
selectionSet: {
|
|
2773
|
+
kind: "SelectionSet",
|
|
2774
|
+
selections: [
|
|
2775
|
+
{
|
|
2776
|
+
kind: "Field",
|
|
2777
|
+
name: { kind: "Name", value: "durationInMinutes" },
|
|
2778
|
+
},
|
|
2779
|
+
{ kind: "Field", name: { kind: "Name", value: "label" } },
|
|
2780
|
+
],
|
|
2781
|
+
},
|
|
2782
|
+
},
|
|
2783
|
+
{
|
|
2784
|
+
kind: "Field",
|
|
2785
|
+
name: { kind: "Name", value: "recommendedDurationInMinutes" },
|
|
2786
|
+
},
|
|
2787
|
+
{
|
|
2788
|
+
kind: "Field",
|
|
2789
|
+
name: { kind: "Name", value: "defaultDurationInMinutes" },
|
|
2790
|
+
},
|
|
2791
|
+
{
|
|
2792
|
+
kind: "Field",
|
|
2793
|
+
name: { kind: "Name", value: "maxDurationInMinutes" },
|
|
2794
|
+
},
|
|
2795
|
+
{
|
|
2796
|
+
kind: "Field",
|
|
2797
|
+
name: { kind: "Name", value: "requireSupportTicket" },
|
|
2798
|
+
},
|
|
2799
|
+
{
|
|
2800
|
+
kind: "Field",
|
|
2801
|
+
name: { kind: "Name", value: "reasonOptional" },
|
|
2802
|
+
},
|
|
2803
|
+
{
|
|
2804
|
+
kind: "Field",
|
|
2805
|
+
name: { kind: "Name", value: "requesterIsAdmin" },
|
|
2806
|
+
},
|
|
2029
2807
|
],
|
|
2030
2808
|
},
|
|
2031
2809
|
},
|