@socketsecurity/sdk 1.9.1 → 1.10.0
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/CHANGELOG.md +29 -0
- package/README.md +29 -5
- package/dist/constants.js +0 -3
- package/dist/file-upload.js +2 -2
- package/dist/http-client.d.ts +37 -2
- package/dist/http-client.js +86 -2
- package/dist/index.d.ts +4 -4
- package/dist/index.js +13 -13
- package/dist/promise-queue.d.ts +35 -0
- package/dist/promise-queue.js +91 -0
- package/dist/quota-utils.d.ts +20 -20
- package/dist/quota-utils.js +63 -60
- package/dist/socket-sdk-class.d.ts +148 -148
- package/dist/socket-sdk-class.js +574 -510
- package/dist/types.d.ts +32 -10
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +2 -2
- package/package.json +13 -12
- package/requirements.json +232 -0
- package/types/api.d.ts +871 -767
package/types/api.d.ts
CHANGED
|
@@ -1503,59 +1503,59 @@ export interface components {
|
|
|
1503
1503
|
}
|
|
1504
1504
|
SocketArtifact: components['schemas']['SocketPURL'] &
|
|
1505
1505
|
components['schemas']['SocketArtifactLink'] & {
|
|
1506
|
-
id?: components['schemas']['SocketId']
|
|
1506
|
+
id?: components['schemas']['SocketId'] | undefined
|
|
1507
1507
|
/** @description List of package authors or maintainers */
|
|
1508
|
-
author?: string[]
|
|
1508
|
+
author?: string[] | undefined
|
|
1509
1509
|
/**
|
|
1510
1510
|
* @description Total size of the package artifact in bytes
|
|
1511
1511
|
* @default 0
|
|
1512
1512
|
*/
|
|
1513
|
-
size?: number
|
|
1513
|
+
size?: number | undefined
|
|
1514
1514
|
/**
|
|
1515
1515
|
* @description Hugging Face model, dataset, or space type
|
|
1516
1516
|
* @default
|
|
1517
1517
|
*/
|
|
1518
|
-
repositoryType?: string
|
|
1519
|
-
alerts?: Array<components['schemas']['SocketAlert']>
|
|
1520
|
-
score?: components['schemas']['SocketScore']
|
|
1521
|
-
patch?: components['schemas']['SocketArtifactPatch']
|
|
1518
|
+
repositoryType?: string | undefined
|
|
1519
|
+
alerts?: Array<components['schemas']['SocketAlert']> | undefined
|
|
1520
|
+
score?: components['schemas']['SocketScore'] | undefined
|
|
1521
|
+
patch?: components['schemas']['SocketArtifactPatch'] | undefined
|
|
1522
1522
|
/**
|
|
1523
1523
|
* @description Original unmodified PURL input string before normalization
|
|
1524
1524
|
* @default
|
|
1525
1525
|
*/
|
|
1526
|
-
inputPurl?: string
|
|
1526
|
+
inputPurl?: string | undefined
|
|
1527
1527
|
/**
|
|
1528
1528
|
* @description Deprecated: Always 0. Previously used for batch ordering but replaced by inputPurl for better tracking.
|
|
1529
1529
|
* @default 0
|
|
1530
1530
|
*/
|
|
1531
|
-
batchIndex?: number
|
|
1531
|
+
batchIndex?: number | undefined
|
|
1532
1532
|
/** @default */
|
|
1533
|
-
license?: string
|
|
1534
|
-
licenseDetails?: components['schemas']['LicenseDetails']
|
|
1535
|
-
licenseAttrib?: components['schemas']['SAttrib1_N']
|
|
1533
|
+
license?: string | undefined
|
|
1534
|
+
licenseDetails?: components['schemas']['LicenseDetails'] | undefined
|
|
1535
|
+
licenseAttrib?: components['schemas']['SAttrib1_N'] | undefined
|
|
1536
1536
|
}
|
|
1537
1537
|
SocketDiffArtifact: components['schemas']['SocketPURL'] & {
|
|
1538
1538
|
diffType: components['schemas']['SocketDiffArtifactType']
|
|
1539
|
-
id?: components['schemas']['SocketId']
|
|
1539
|
+
id?: components['schemas']['SocketId'] | undefined
|
|
1540
1540
|
/** @description List of package authors or maintainers */
|
|
1541
|
-
author?: string[]
|
|
1541
|
+
author?: string[] | undefined
|
|
1542
1542
|
/** @description Artifact links from the base/before state */
|
|
1543
|
-
base?: Array<components['schemas']['SocketArtifactLink']>
|
|
1544
|
-
capabilities?: components['schemas']['Capabilities']
|
|
1543
|
+
base?: Array<components['schemas']['SocketArtifactLink']> | undefined
|
|
1544
|
+
capabilities?: components['schemas']['Capabilities'] | undefined
|
|
1545
1545
|
/** @description Artifact links from the head/after state */
|
|
1546
|
-
head?: Array<components['schemas']['SocketArtifactLink']>
|
|
1547
|
-
qualifiers?: components['schemas']['Qualifiers']
|
|
1546
|
+
head?: Array<components['schemas']['SocketArtifactLink']> | undefined
|
|
1547
|
+
qualifiers?: components['schemas']['Qualifiers'] | undefined
|
|
1548
1548
|
/**
|
|
1549
1549
|
* @description Total size of the package artifact in bytes
|
|
1550
1550
|
* @default 0
|
|
1551
1551
|
*/
|
|
1552
|
-
size?: number
|
|
1552
|
+
size?: number | undefined
|
|
1553
1553
|
/** @default */
|
|
1554
|
-
license?: string
|
|
1555
|
-
licenseDetails?: components['schemas']['LicenseDetails']
|
|
1556
|
-
licenseAttrib?: components['schemas']['SAttrib1_N']
|
|
1557
|
-
score?: components['schemas']['SocketScore']
|
|
1558
|
-
alerts?: Array<components['schemas']['SocketAlert']>
|
|
1554
|
+
license?: string | undefined
|
|
1555
|
+
licenseDetails?: components['schemas']['LicenseDetails'] | undefined
|
|
1556
|
+
licenseAttrib?: components['schemas']['SAttrib1_N'] | undefined
|
|
1557
|
+
score?: components['schemas']['SocketScore'] | undefined
|
|
1558
|
+
alerts?: Array<components['schemas']['SocketAlert']> | undefined
|
|
1559
1559
|
}
|
|
1560
1560
|
CDXManifestSchema: {
|
|
1561
1561
|
/** @default CycloneDX */
|
|
@@ -1573,10 +1573,10 @@ export interface components {
|
|
|
1573
1573
|
components: Array<
|
|
1574
1574
|
components['schemas']['CDXComponentSchema'] & {
|
|
1575
1575
|
/** @default Socket */
|
|
1576
|
-
author?: string
|
|
1577
|
-
authors?: string[]
|
|
1576
|
+
author?: string | undefined
|
|
1577
|
+
authors?: string[] | undefined
|
|
1578
1578
|
/** @default Socket */
|
|
1579
|
-
publisher?: string
|
|
1579
|
+
publisher?: string | undefined
|
|
1580
1580
|
}
|
|
1581
1581
|
>
|
|
1582
1582
|
}
|
|
@@ -1585,7 +1585,7 @@ export interface components {
|
|
|
1585
1585
|
name: string
|
|
1586
1586
|
}>
|
|
1587
1587
|
/** @default */
|
|
1588
|
-
supplier?: string
|
|
1588
|
+
supplier?: string | undefined
|
|
1589
1589
|
lifecycles: Array<{
|
|
1590
1590
|
/** @default build */
|
|
1591
1591
|
phase: string
|
|
@@ -1602,7 +1602,7 @@ export interface components {
|
|
|
1602
1602
|
dependencies: Array<{
|
|
1603
1603
|
/** @default */
|
|
1604
1604
|
ref: string
|
|
1605
|
-
dependsOn?: string[]
|
|
1605
|
+
dependsOn?: string[] | undefined
|
|
1606
1606
|
}>
|
|
1607
1607
|
vulnerabilities?: Array<{
|
|
1608
1608
|
/** @default */
|
|
@@ -1611,67 +1611,67 @@ export interface components {
|
|
|
1611
1611
|
id: string
|
|
1612
1612
|
source?: {
|
|
1613
1613
|
/** @default */
|
|
1614
|
-
name?: string
|
|
1614
|
+
name?: string | undefined
|
|
1615
1615
|
/** @default */
|
|
1616
|
-
url?: string
|
|
1616
|
+
url?: string | undefined
|
|
1617
1617
|
}
|
|
1618
1618
|
ratings?: Array<{
|
|
1619
1619
|
source?: {
|
|
1620
1620
|
/** @default */
|
|
1621
|
-
name?: string
|
|
1621
|
+
name?: string | undefined
|
|
1622
1622
|
/** @default */
|
|
1623
|
-
url?: string
|
|
1623
|
+
url?: string | undefined
|
|
1624
1624
|
}
|
|
1625
1625
|
/** @default 0 */
|
|
1626
|
-
score?: number
|
|
1626
|
+
score?: number | undefined
|
|
1627
1627
|
/** @default */
|
|
1628
|
-
severity?: string
|
|
1628
|
+
severity?: string | undefined
|
|
1629
1629
|
/** @default */
|
|
1630
|
-
method?: string
|
|
1630
|
+
method?: string | undefined
|
|
1631
1631
|
/** @default */
|
|
1632
|
-
vector?: string
|
|
1632
|
+
vector?: string | undefined
|
|
1633
1633
|
}>
|
|
1634
|
-
cwes?: number[]
|
|
1634
|
+
cwes?: number[] | undefined
|
|
1635
1635
|
/** @default */
|
|
1636
|
-
description?: string
|
|
1636
|
+
description?: string | undefined
|
|
1637
1637
|
/** @default */
|
|
1638
|
-
detail?: string
|
|
1638
|
+
detail?: string | undefined
|
|
1639
1639
|
/** @default */
|
|
1640
|
-
recommendation?: string
|
|
1640
|
+
recommendation?: string | undefined
|
|
1641
1641
|
advisories?: Array<{
|
|
1642
1642
|
/** @default */
|
|
1643
1643
|
url: string
|
|
1644
1644
|
/** @default */
|
|
1645
|
-
title?: string
|
|
1645
|
+
title?: string | undefined
|
|
1646
1646
|
}>
|
|
1647
1647
|
/** @default */
|
|
1648
|
-
created?: string
|
|
1648
|
+
created?: string | undefined
|
|
1649
1649
|
/** @default */
|
|
1650
|
-
published?: string
|
|
1650
|
+
published?: string | undefined
|
|
1651
1651
|
/** @default */
|
|
1652
|
-
updated?: string
|
|
1652
|
+
updated?: string | undefined
|
|
1653
1653
|
affects?: Array<{
|
|
1654
1654
|
/** @default */
|
|
1655
1655
|
ref: string
|
|
1656
1656
|
versions?: Array<{
|
|
1657
1657
|
/** @default */
|
|
1658
|
-
version?: string
|
|
1658
|
+
version?: string | undefined
|
|
1659
1659
|
/** @default */
|
|
1660
|
-
status?: string
|
|
1660
|
+
status?: string | undefined
|
|
1661
1661
|
}>
|
|
1662
1662
|
}>
|
|
1663
1663
|
analysis?: {
|
|
1664
1664
|
/** @default */
|
|
1665
|
-
state?: string
|
|
1665
|
+
state?: string | undefined
|
|
1666
1666
|
/** @default */
|
|
1667
|
-
justification?: string
|
|
1668
|
-
response?: string[]
|
|
1667
|
+
justification?: string | undefined
|
|
1668
|
+
response?: string[] | undefined
|
|
1669
1669
|
/** @default */
|
|
1670
|
-
detail?: string
|
|
1670
|
+
detail?: string | undefined
|
|
1671
1671
|
/** @default */
|
|
1672
|
-
firstIssued?: string
|
|
1672
|
+
firstIssued?: string | undefined
|
|
1673
1673
|
/** @default */
|
|
1674
|
-
lastUpdated?: string
|
|
1674
|
+
lastUpdated?: string | undefined
|
|
1675
1675
|
}
|
|
1676
1676
|
}>
|
|
1677
1677
|
}
|
|
@@ -1702,11 +1702,11 @@ export interface components {
|
|
|
1702
1702
|
/** @default */
|
|
1703
1703
|
packageFileName: string
|
|
1704
1704
|
/** @default */
|
|
1705
|
-
description?: string
|
|
1705
|
+
description?: string | undefined
|
|
1706
1706
|
/** @default */
|
|
1707
|
-
primaryPackagePurpose?: string
|
|
1707
|
+
primaryPackagePurpose?: string | undefined
|
|
1708
1708
|
/** @default */
|
|
1709
|
-
downloadLocation?: string
|
|
1709
|
+
downloadLocation?: string | undefined
|
|
1710
1710
|
/** @default false */
|
|
1711
1711
|
filesAnalyzed: boolean
|
|
1712
1712
|
/** @default NOASSERTION */
|
|
@@ -1820,12 +1820,12 @@ export interface components {
|
|
|
1820
1820
|
* @description Starting line or position in the manifest file
|
|
1821
1821
|
* @default 0
|
|
1822
1822
|
*/
|
|
1823
|
-
start?: number
|
|
1823
|
+
start?: number | undefined
|
|
1824
1824
|
/**
|
|
1825
1825
|
* @description Ending line or position in the manifest file
|
|
1826
1826
|
* @default 0
|
|
1827
1827
|
*/
|
|
1828
|
-
end?: number
|
|
1828
|
+
end?: number | undefined
|
|
1829
1829
|
}
|
|
1830
1830
|
/** @default */
|
|
1831
1831
|
SocketId: string
|
|
@@ -1889,27 +1889,27 @@ export interface components {
|
|
|
1889
1889
|
* @description Package namespace or scope, such as npm organizations (@angular), Maven groupIds, or Docker image owners
|
|
1890
1890
|
* @default
|
|
1891
1891
|
*/
|
|
1892
|
-
namespace?: string
|
|
1892
|
+
namespace?: string | undefined
|
|
1893
1893
|
/**
|
|
1894
1894
|
* @description Package name within its ecosystem
|
|
1895
1895
|
* @default
|
|
1896
1896
|
*/
|
|
1897
|
-
name?: string
|
|
1897
|
+
name?: string | undefined
|
|
1898
1898
|
/**
|
|
1899
1899
|
* @description Package version string
|
|
1900
1900
|
* @default
|
|
1901
1901
|
*/
|
|
1902
|
-
version?: string
|
|
1902
|
+
version?: string | undefined
|
|
1903
1903
|
/**
|
|
1904
1904
|
* @description Path within the package to a specific file or directory, used to reference nested components
|
|
1905
1905
|
* @default
|
|
1906
1906
|
*/
|
|
1907
|
-
subpath?: string
|
|
1907
|
+
subpath?: string | undefined
|
|
1908
1908
|
/**
|
|
1909
1909
|
* @description Package-specific release identifier, such as PyPI's artifact ID or the specific build/release version
|
|
1910
1910
|
* @default
|
|
1911
1911
|
*/
|
|
1912
|
-
release?: string
|
|
1912
|
+
release?: string | undefined
|
|
1913
1913
|
}
|
|
1914
1914
|
SocketAlert: {
|
|
1915
1915
|
/**
|
|
@@ -1922,33 +1922,33 @@ export interface components {
|
|
|
1922
1922
|
* @default
|
|
1923
1923
|
*/
|
|
1924
1924
|
type: string
|
|
1925
|
-
severity?: components['schemas']['SocketIssueSeverity']
|
|
1926
|
-
category?: components['schemas']['SocketCategory']
|
|
1925
|
+
severity?: components['schemas']['SocketIssueSeverity'] | undefined
|
|
1926
|
+
category?: components['schemas']['SocketCategory'] | undefined
|
|
1927
1927
|
/**
|
|
1928
1928
|
* @description File path where this alert was detected
|
|
1929
1929
|
* @default
|
|
1930
1930
|
*/
|
|
1931
|
-
file?: string
|
|
1931
|
+
file?: string | undefined
|
|
1932
1932
|
/**
|
|
1933
1933
|
* @description Starting position of the alert in the file
|
|
1934
1934
|
* @default 0
|
|
1935
1935
|
*/
|
|
1936
|
-
start?: number
|
|
1936
|
+
start?: number | undefined
|
|
1937
1937
|
/**
|
|
1938
1938
|
* @description Ending position of the alert in the file
|
|
1939
1939
|
* @default 0
|
|
1940
1940
|
*/
|
|
1941
|
-
end?: number
|
|
1941
|
+
end?: number | undefined
|
|
1942
1942
|
/**
|
|
1943
1943
|
* @description Additional alert-specific properties and metadata that vary by alert type
|
|
1944
1944
|
* @default null
|
|
1945
1945
|
*/
|
|
1946
|
-
props?: Record<string, never>
|
|
1946
|
+
props?: Record<string, never> | undefined
|
|
1947
1947
|
/**
|
|
1948
1948
|
* @description Action to take for this alert (e.g., error, warn, ignore)
|
|
1949
1949
|
* @default
|
|
1950
1950
|
*/
|
|
1951
|
-
action?: string
|
|
1951
|
+
action?: string | undefined
|
|
1952
1952
|
actionSource?: {
|
|
1953
1953
|
/**
|
|
1954
1954
|
* @description Type of action source (e.g., policy, override)
|
|
@@ -1982,7 +1982,7 @@ export interface components {
|
|
|
1982
1982
|
* @description Index of the policy rule that triggered this action, for traceability to security policies
|
|
1983
1983
|
* @default 0
|
|
1984
1984
|
*/
|
|
1985
|
-
actionPolicyIndex?: number
|
|
1985
|
+
actionPolicyIndex?: number | undefined
|
|
1986
1986
|
fix?: {
|
|
1987
1987
|
/**
|
|
1988
1988
|
* @description Type of fix available (e.g., upgrade, remove, cve)
|
|
@@ -2011,24 +2011,24 @@ export interface components {
|
|
|
2011
2011
|
* @description Indicates if this patch is deprecated and should not be used
|
|
2012
2012
|
* @default false
|
|
2013
2013
|
*/
|
|
2014
|
-
deprecated?: boolean
|
|
2014
|
+
deprecated?: boolean | undefined
|
|
2015
2015
|
}>
|
|
2016
2016
|
}
|
|
2017
|
-
patch?: components['schemas']['SocketPatch']
|
|
2017
|
+
patch?: components['schemas']['SocketPatch'] | undefined
|
|
2018
2018
|
reachability?: {
|
|
2019
|
-
head?: components['schemas']['ReachabilityResult']
|
|
2020
|
-
base?: components['schemas']['ReachabilityResult']
|
|
2019
|
+
head?: components['schemas']['ReachabilityResult'] | undefined
|
|
2020
|
+
base?: components['schemas']['ReachabilityResult'] | undefined
|
|
2021
2021
|
}
|
|
2022
2022
|
/**
|
|
2023
2023
|
* @description Generic alert sub-type
|
|
2024
2024
|
* @default
|
|
2025
2025
|
*/
|
|
2026
|
-
subType?: string
|
|
2026
|
+
subType?: string | undefined
|
|
2027
2027
|
}
|
|
2028
2028
|
SocketArtifactPatch: {
|
|
2029
|
-
appliedPatch?: components['schemas']['SocketPatch']
|
|
2029
|
+
appliedPatch?: components['schemas']['SocketPatch'] | undefined
|
|
2030
2030
|
/** @description List of available patches that can be applied to fix vulnerabilities */
|
|
2031
|
-
availablePatches?: Array<components['schemas']['SocketPatch']>
|
|
2031
|
+
availablePatches?: Array<components['schemas']['SocketPatch']> | undefined
|
|
2032
2032
|
}
|
|
2033
2033
|
LicenseDetails: Array<{
|
|
2034
2034
|
/**
|
|
@@ -2090,22 +2090,24 @@ export interface components {
|
|
|
2090
2090
|
* @description Indicates if this is a direct dependency (not transitive)
|
|
2091
2091
|
* @default false
|
|
2092
2092
|
*/
|
|
2093
|
-
direct?: boolean
|
|
2093
|
+
direct?: boolean | undefined
|
|
2094
2094
|
/**
|
|
2095
2095
|
* @description Indicates if this is a development-only dependency not used in production
|
|
2096
2096
|
* @default false
|
|
2097
2097
|
*/
|
|
2098
|
-
dev?: boolean
|
|
2098
|
+
dev?: boolean | undefined
|
|
2099
2099
|
/**
|
|
2100
2100
|
* @description Indicates if this package is deprecated, abandoned, or no longer maintained
|
|
2101
2101
|
* @default false
|
|
2102
2102
|
*/
|
|
2103
|
-
dead?: boolean
|
|
2104
|
-
manifestFiles?:
|
|
2103
|
+
dead?: boolean | undefined
|
|
2104
|
+
manifestFiles?:
|
|
2105
|
+
| Array<components['schemas']['SocketManifestReference']>
|
|
2106
|
+
| undefined
|
|
2105
2107
|
/** @description IDs of the root-level packages in the dependency tree that depend on this package */
|
|
2106
|
-
topLevelAncestors?: Array<components['schemas']['SocketId']>
|
|
2108
|
+
topLevelAncestors?: Array<components['schemas']['SocketId']> | undefined
|
|
2107
2109
|
/** @description IDs of packages that this package directly depends on */
|
|
2108
|
-
dependencies?: Array<components['schemas']['SocketId']>
|
|
2110
|
+
dependencies?: Array<components['schemas']['SocketId']> | undefined
|
|
2109
2111
|
/** @description Computed priority scores for each alert type based on severity, reachability, and fixability factors */
|
|
2110
2112
|
alertPriorities?: {
|
|
2111
2113
|
[key: string]: {
|
|
@@ -2161,7 +2163,7 @@ export interface components {
|
|
|
2161
2163
|
* @description Formula used to calculate the priority score
|
|
2162
2164
|
* @default
|
|
2163
2165
|
*/
|
|
2164
|
-
formula?: string
|
|
2166
|
+
formula?: string | undefined
|
|
2165
2167
|
}
|
|
2166
2168
|
}
|
|
2167
2169
|
artifact?: components['schemas']['SocketPURL'] & {
|
|
@@ -2194,9 +2196,9 @@ export interface components {
|
|
|
2194
2196
|
| 'unchanged'
|
|
2195
2197
|
CDXComponentSchema: {
|
|
2196
2198
|
/** @default */
|
|
2197
|
-
author?: string
|
|
2199
|
+
author?: string | undefined
|
|
2198
2200
|
/** @default */
|
|
2199
|
-
publisher?: string
|
|
2201
|
+
publisher?: string | undefined
|
|
2200
2202
|
/** @default */
|
|
2201
2203
|
group: string
|
|
2202
2204
|
/** @default */
|
|
@@ -2204,9 +2206,9 @@ export interface components {
|
|
|
2204
2206
|
/** @default */
|
|
2205
2207
|
version: string
|
|
2206
2208
|
/** @default */
|
|
2207
|
-
description?: string
|
|
2209
|
+
description?: string | undefined
|
|
2208
2210
|
/** @default */
|
|
2209
|
-
scope?: string
|
|
2211
|
+
scope?: string | undefined
|
|
2210
2212
|
hashes?: Array<{
|
|
2211
2213
|
/** @default */
|
|
2212
2214
|
alg: string
|
|
@@ -2215,14 +2217,14 @@ export interface components {
|
|
|
2215
2217
|
}>
|
|
2216
2218
|
licenses?: Array<{
|
|
2217
2219
|
/** @default */
|
|
2218
|
-
expression?: string
|
|
2220
|
+
expression?: string | undefined
|
|
2219
2221
|
license?: {
|
|
2220
2222
|
/** @default */
|
|
2221
|
-
id?: string
|
|
2223
|
+
id?: string | undefined
|
|
2222
2224
|
/** @default */
|
|
2223
|
-
name?: string
|
|
2225
|
+
name?: string | undefined
|
|
2224
2226
|
/** @default */
|
|
2225
|
-
url?: string
|
|
2227
|
+
url?: string | undefined
|
|
2226
2228
|
}
|
|
2227
2229
|
}>
|
|
2228
2230
|
/** @default */
|
|
@@ -2257,7 +2259,7 @@ export interface components {
|
|
|
2257
2259
|
location: string
|
|
2258
2260
|
}>
|
|
2259
2261
|
}
|
|
2260
|
-
tags?: string[]
|
|
2262
|
+
tags?: string[] | undefined
|
|
2261
2263
|
properties?: Array<{
|
|
2262
2264
|
/** @default */
|
|
2263
2265
|
name: string
|
|
@@ -2274,7 +2276,9 @@ export interface components {
|
|
|
2274
2276
|
implementationPlatform: string
|
|
2275
2277
|
}
|
|
2276
2278
|
}>
|
|
2277
|
-
components?:
|
|
2279
|
+
components?:
|
|
2280
|
+
| Array<components['schemas']['CDXComponentSchema']>
|
|
2281
|
+
| undefined
|
|
2278
2282
|
}
|
|
2279
2283
|
LicenseAllowListElabbed: {
|
|
2280
2284
|
strings: string[]
|
|
@@ -2285,7 +2289,7 @@ export interface components {
|
|
|
2285
2289
|
SocketIssue:
|
|
2286
2290
|
| {
|
|
2287
2291
|
/** @enum {string} */
|
|
2288
|
-
type?: 'gptSecurity'
|
|
2292
|
+
type?: 'gptSecurity' | undefined
|
|
2289
2293
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2290
2294
|
/** @default */
|
|
2291
2295
|
description: string
|
|
@@ -2297,12 +2301,12 @@ export interface components {
|
|
|
2297
2301
|
/** @default 0 */
|
|
2298
2302
|
severity: number
|
|
2299
2303
|
}
|
|
2300
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2304
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
2301
2305
|
}
|
|
2302
2306
|
}
|
|
2303
2307
|
| {
|
|
2304
2308
|
/** @enum {string} */
|
|
2305
|
-
type?: 'gptAnomaly'
|
|
2309
|
+
type?: 'gptAnomaly' | undefined
|
|
2306
2310
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2307
2311
|
/** @default */
|
|
2308
2312
|
description: string
|
|
@@ -2319,12 +2323,12 @@ export interface components {
|
|
|
2319
2323
|
*/
|
|
2320
2324
|
risk: 'low' | 'medium' | 'high'
|
|
2321
2325
|
}
|
|
2322
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2326
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
2323
2327
|
}
|
|
2324
2328
|
}
|
|
2325
2329
|
| {
|
|
2326
2330
|
/** @enum {string} */
|
|
2327
|
-
type?: 'gptMalware'
|
|
2331
|
+
type?: 'gptMalware' | undefined
|
|
2328
2332
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2329
2333
|
/** @default */
|
|
2330
2334
|
description: string
|
|
@@ -2336,12 +2340,12 @@ export interface components {
|
|
|
2336
2340
|
/** @default 0 */
|
|
2337
2341
|
severity: number
|
|
2338
2342
|
}
|
|
2339
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2343
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
2340
2344
|
}
|
|
2341
2345
|
}
|
|
2342
2346
|
| {
|
|
2343
2347
|
/** @enum {string} */
|
|
2344
|
-
type?: 'filesystemAccess'
|
|
2348
|
+
type?: 'filesystemAccess' | undefined
|
|
2345
2349
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2346
2350
|
/** @default */
|
|
2347
2351
|
description: string
|
|
@@ -2349,12 +2353,12 @@ export interface components {
|
|
|
2349
2353
|
/** @default fs */
|
|
2350
2354
|
module: string
|
|
2351
2355
|
}
|
|
2352
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2356
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
2353
2357
|
}
|
|
2354
2358
|
}
|
|
2355
2359
|
| {
|
|
2356
2360
|
/** @enum {string} */
|
|
2357
|
-
type?: 'networkAccess'
|
|
2361
|
+
type?: 'networkAccess' | undefined
|
|
2358
2362
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2359
2363
|
/** @default */
|
|
2360
2364
|
description: string
|
|
@@ -2362,12 +2366,12 @@ export interface components {
|
|
|
2362
2366
|
/** @default net */
|
|
2363
2367
|
module: string
|
|
2364
2368
|
}
|
|
2365
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2369
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
2366
2370
|
}
|
|
2367
2371
|
}
|
|
2368
2372
|
| {
|
|
2369
2373
|
/** @enum {string} */
|
|
2370
|
-
type?: 'shellAccess'
|
|
2374
|
+
type?: 'shellAccess' | undefined
|
|
2371
2375
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2372
2376
|
/** @default */
|
|
2373
2377
|
description: string
|
|
@@ -2375,12 +2379,12 @@ export interface components {
|
|
|
2375
2379
|
/** @default child_process */
|
|
2376
2380
|
module: string
|
|
2377
2381
|
}
|
|
2378
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2382
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
2379
2383
|
}
|
|
2380
2384
|
}
|
|
2381
2385
|
| {
|
|
2382
2386
|
/** @enum {string} */
|
|
2383
|
-
type?: 'debugAccess'
|
|
2387
|
+
type?: 'debugAccess' | undefined
|
|
2384
2388
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2385
2389
|
/** @default */
|
|
2386
2390
|
description: string
|
|
@@ -2388,12 +2392,12 @@ export interface components {
|
|
|
2388
2392
|
/** @default vm */
|
|
2389
2393
|
module: string
|
|
2390
2394
|
}
|
|
2391
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2395
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
2392
2396
|
}
|
|
2393
2397
|
}
|
|
2394
2398
|
| {
|
|
2395
2399
|
/** @enum {string} */
|
|
2396
|
-
type?: 'chromePermission'
|
|
2400
|
+
type?: 'chromePermission' | undefined
|
|
2397
2401
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2398
2402
|
/** @default */
|
|
2399
2403
|
description: string
|
|
@@ -2403,12 +2407,12 @@ export interface components {
|
|
|
2403
2407
|
/** @default */
|
|
2404
2408
|
permissionType: string
|
|
2405
2409
|
}
|
|
2406
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2410
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
2407
2411
|
}
|
|
2408
2412
|
}
|
|
2409
2413
|
| {
|
|
2410
2414
|
/** @enum {string} */
|
|
2411
|
-
type?: 'chromeHostPermission'
|
|
2415
|
+
type?: 'chromeHostPermission' | undefined
|
|
2412
2416
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2413
2417
|
/** @default */
|
|
2414
2418
|
description: string
|
|
@@ -2418,12 +2422,12 @@ export interface components {
|
|
|
2418
2422
|
/** @default */
|
|
2419
2423
|
permissionType: string
|
|
2420
2424
|
}
|
|
2421
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2425
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
2422
2426
|
}
|
|
2423
2427
|
}
|
|
2424
2428
|
| {
|
|
2425
2429
|
/** @enum {string} */
|
|
2426
|
-
type?: 'chromeWildcardHostPermission'
|
|
2430
|
+
type?: 'chromeWildcardHostPermission' | undefined
|
|
2427
2431
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2428
2432
|
/** @default */
|
|
2429
2433
|
description: string
|
|
@@ -2433,12 +2437,12 @@ export interface components {
|
|
|
2433
2437
|
/** @default */
|
|
2434
2438
|
permissionType: string
|
|
2435
2439
|
}
|
|
2436
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2440
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
2437
2441
|
}
|
|
2438
2442
|
}
|
|
2439
2443
|
| {
|
|
2440
2444
|
/** @enum {string} */
|
|
2441
|
-
type?: 'chromeContentScript'
|
|
2445
|
+
type?: 'chromeContentScript' | undefined
|
|
2442
2446
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2443
2447
|
/** @default */
|
|
2444
2448
|
description: string
|
|
@@ -2450,12 +2454,12 @@ export interface components {
|
|
|
2450
2454
|
/** @default */
|
|
2451
2455
|
runAt: string
|
|
2452
2456
|
}
|
|
2453
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2457
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
2454
2458
|
}
|
|
2455
2459
|
}
|
|
2456
2460
|
| {
|
|
2457
2461
|
/** @enum {string} */
|
|
2458
|
-
type?: 'criticalCVE'
|
|
2462
|
+
type?: 'criticalCVE' | undefined
|
|
2459
2463
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2460
2464
|
/** @default */
|
|
2461
2465
|
description: string
|
|
@@ -2549,12 +2553,12 @@ export interface components {
|
|
|
2549
2553
|
percentile: number
|
|
2550
2554
|
} | null
|
|
2551
2555
|
}
|
|
2552
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2556
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
2553
2557
|
}
|
|
2554
2558
|
}
|
|
2555
2559
|
| {
|
|
2556
2560
|
/** @enum {string} */
|
|
2557
|
-
type?: 'cve'
|
|
2561
|
+
type?: 'cve' | undefined
|
|
2558
2562
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2559
2563
|
/** @default */
|
|
2560
2564
|
description: string
|
|
@@ -2648,12 +2652,12 @@ export interface components {
|
|
|
2648
2652
|
percentile: number
|
|
2649
2653
|
} | null
|
|
2650
2654
|
}
|
|
2651
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2655
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
2652
2656
|
}
|
|
2653
2657
|
}
|
|
2654
2658
|
| {
|
|
2655
2659
|
/** @enum {string} */
|
|
2656
|
-
type?: 'mediumCVE'
|
|
2660
|
+
type?: 'mediumCVE' | undefined
|
|
2657
2661
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2658
2662
|
/** @default */
|
|
2659
2663
|
description: string
|
|
@@ -2747,12 +2751,12 @@ export interface components {
|
|
|
2747
2751
|
percentile: number
|
|
2748
2752
|
} | null
|
|
2749
2753
|
}
|
|
2750
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2754
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
2751
2755
|
}
|
|
2752
2756
|
}
|
|
2753
2757
|
| {
|
|
2754
2758
|
/** @enum {string} */
|
|
2755
|
-
type?: 'mildCVE'
|
|
2759
|
+
type?: 'mildCVE' | undefined
|
|
2756
2760
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2757
2761
|
/** @default */
|
|
2758
2762
|
description: string
|
|
@@ -2846,22 +2850,22 @@ export interface components {
|
|
|
2846
2850
|
percentile: number
|
|
2847
2851
|
} | null
|
|
2848
2852
|
}
|
|
2849
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2853
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
2850
2854
|
}
|
|
2851
2855
|
}
|
|
2852
2856
|
| {
|
|
2853
2857
|
/** @enum {string} */
|
|
2854
|
-
type?: 'emptyPackage'
|
|
2858
|
+
type?: 'emptyPackage' | undefined
|
|
2855
2859
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2856
2860
|
/** @default */
|
|
2857
2861
|
description: string
|
|
2858
2862
|
props: Record<string, never>
|
|
2859
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2863
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
2860
2864
|
}
|
|
2861
2865
|
}
|
|
2862
2866
|
| {
|
|
2863
2867
|
/** @enum {string} */
|
|
2864
|
-
type?: 'trivialPackage'
|
|
2868
|
+
type?: 'trivialPackage' | undefined
|
|
2865
2869
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2866
2870
|
/** @default */
|
|
2867
2871
|
description: string
|
|
@@ -2869,32 +2873,32 @@ export interface components {
|
|
|
2869
2873
|
/** @default 0 */
|
|
2870
2874
|
linesOfCode: number
|
|
2871
2875
|
}
|
|
2872
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2876
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
2873
2877
|
}
|
|
2874
2878
|
}
|
|
2875
2879
|
| {
|
|
2876
2880
|
/** @enum {string} */
|
|
2877
|
-
type?: 'noREADME'
|
|
2881
|
+
type?: 'noREADME' | undefined
|
|
2878
2882
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2879
2883
|
/** @default */
|
|
2880
2884
|
description: string
|
|
2881
2885
|
props: Record<string, never>
|
|
2882
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2886
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
2883
2887
|
}
|
|
2884
2888
|
}
|
|
2885
2889
|
| {
|
|
2886
2890
|
/** @enum {string} */
|
|
2887
|
-
type?: 'shrinkwrap'
|
|
2891
|
+
type?: 'shrinkwrap' | undefined
|
|
2888
2892
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2889
2893
|
/** @default */
|
|
2890
2894
|
description: string
|
|
2891
2895
|
props: Record<string, never>
|
|
2892
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2896
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
2893
2897
|
}
|
|
2894
2898
|
}
|
|
2895
2899
|
| {
|
|
2896
2900
|
/** @enum {string} */
|
|
2897
|
-
type?: 'generic'
|
|
2901
|
+
type?: 'generic' | undefined
|
|
2898
2902
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2899
2903
|
/** @default */
|
|
2900
2904
|
description: string
|
|
@@ -2904,12 +2908,12 @@ export interface components {
|
|
|
2904
2908
|
/** @default */
|
|
2905
2909
|
description: string
|
|
2906
2910
|
}
|
|
2907
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2911
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
2908
2912
|
}
|
|
2909
2913
|
}
|
|
2910
2914
|
| {
|
|
2911
2915
|
/** @enum {string} */
|
|
2912
|
-
type?: 'licenseSpdxDisj'
|
|
2916
|
+
type?: 'licenseSpdxDisj' | undefined
|
|
2913
2917
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2914
2918
|
/** @default */
|
|
2915
2919
|
description: string
|
|
@@ -2922,22 +2926,22 @@ export interface components {
|
|
|
2922
2926
|
warnData: Array<Record<string, never>>
|
|
2923
2927
|
monitorData: Array<Record<string, never>>
|
|
2924
2928
|
}
|
|
2925
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2929
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
2926
2930
|
}
|
|
2927
2931
|
}
|
|
2928
2932
|
| {
|
|
2929
2933
|
/** @enum {string} */
|
|
2930
|
-
type?: 'unsafeCopyright'
|
|
2934
|
+
type?: 'unsafeCopyright' | undefined
|
|
2931
2935
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2932
2936
|
/** @default */
|
|
2933
2937
|
description: string
|
|
2934
2938
|
props: Record<string, never>
|
|
2935
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2939
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
2936
2940
|
}
|
|
2937
2941
|
}
|
|
2938
2942
|
| {
|
|
2939
2943
|
/** @enum {string} */
|
|
2940
|
-
type?: 'licenseChange'
|
|
2944
|
+
type?: 'licenseChange' | undefined
|
|
2941
2945
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2942
2946
|
/** @default */
|
|
2943
2947
|
description: string
|
|
@@ -2947,12 +2951,12 @@ export interface components {
|
|
|
2947
2951
|
/** @default */
|
|
2948
2952
|
newLicenseId: string
|
|
2949
2953
|
}
|
|
2950
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2954
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
2951
2955
|
}
|
|
2952
2956
|
}
|
|
2953
2957
|
| {
|
|
2954
2958
|
/** @enum {string} */
|
|
2955
|
-
type?: 'nonOSILicense'
|
|
2959
|
+
type?: 'nonOSILicense' | undefined
|
|
2956
2960
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2957
2961
|
/** @default */
|
|
2958
2962
|
description: string
|
|
@@ -2960,12 +2964,12 @@ export interface components {
|
|
|
2960
2964
|
/** @default */
|
|
2961
2965
|
licenseId: string
|
|
2962
2966
|
}
|
|
2963
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2967
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
2964
2968
|
}
|
|
2965
2969
|
}
|
|
2966
2970
|
| {
|
|
2967
2971
|
/** @enum {string} */
|
|
2968
|
-
type?: 'deprecatedLicense'
|
|
2972
|
+
type?: 'deprecatedLicense' | undefined
|
|
2969
2973
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2970
2974
|
/** @default */
|
|
2971
2975
|
description: string
|
|
@@ -2973,32 +2977,32 @@ export interface components {
|
|
|
2973
2977
|
/** @default */
|
|
2974
2978
|
licenseId: string
|
|
2975
2979
|
}
|
|
2976
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2980
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
2977
2981
|
}
|
|
2978
2982
|
}
|
|
2979
2983
|
| {
|
|
2980
2984
|
/** @enum {string} */
|
|
2981
|
-
type?: 'missingLicense'
|
|
2985
|
+
type?: 'missingLicense' | undefined
|
|
2982
2986
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2983
2987
|
/** @default */
|
|
2984
2988
|
description: string
|
|
2985
2989
|
props: Record<string, never>
|
|
2986
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2990
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
2987
2991
|
}
|
|
2988
2992
|
}
|
|
2989
2993
|
| {
|
|
2990
2994
|
/** @enum {string} */
|
|
2991
|
-
type?: 'nonSPDXLicense'
|
|
2995
|
+
type?: 'nonSPDXLicense' | undefined
|
|
2992
2996
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2993
2997
|
/** @default */
|
|
2994
2998
|
description: string
|
|
2995
2999
|
props: Record<string, never>
|
|
2996
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3000
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
2997
3001
|
}
|
|
2998
3002
|
}
|
|
2999
3003
|
| {
|
|
3000
3004
|
/** @enum {string} */
|
|
3001
|
-
type?: 'unclearLicense'
|
|
3005
|
+
type?: 'unclearLicense' | undefined
|
|
3002
3006
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3003
3007
|
/** @default */
|
|
3004
3008
|
description: string
|
|
@@ -3006,12 +3010,12 @@ export interface components {
|
|
|
3006
3010
|
/** @default */
|
|
3007
3011
|
possibleLicenseId: string
|
|
3008
3012
|
}
|
|
3009
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3013
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3010
3014
|
}
|
|
3011
3015
|
}
|
|
3012
3016
|
| {
|
|
3013
3017
|
/** @enum {string} */
|
|
3014
|
-
type?: 'mixedLicense'
|
|
3018
|
+
type?: 'mixedLicense' | undefined
|
|
3015
3019
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3016
3020
|
/** @default */
|
|
3017
3021
|
description: string
|
|
@@ -3019,22 +3023,22 @@ export interface components {
|
|
|
3019
3023
|
/** @default */
|
|
3020
3024
|
licenseId: string
|
|
3021
3025
|
}
|
|
3022
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3026
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3023
3027
|
}
|
|
3024
3028
|
}
|
|
3025
3029
|
| {
|
|
3026
3030
|
/** @enum {string} */
|
|
3027
|
-
type?: 'notice'
|
|
3031
|
+
type?: 'notice' | undefined
|
|
3028
3032
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3029
3033
|
/** @default */
|
|
3030
3034
|
description: string
|
|
3031
3035
|
props: Record<string, never>
|
|
3032
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3036
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3033
3037
|
}
|
|
3034
3038
|
}
|
|
3035
3039
|
| {
|
|
3036
3040
|
/** @enum {string} */
|
|
3037
|
-
type?: 'modifiedLicense'
|
|
3041
|
+
type?: 'modifiedLicense' | undefined
|
|
3038
3042
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3039
3043
|
/** @default */
|
|
3040
3044
|
description: string
|
|
@@ -3044,12 +3048,12 @@ export interface components {
|
|
|
3044
3048
|
/** @default 0 */
|
|
3045
3049
|
similarity: number
|
|
3046
3050
|
}
|
|
3047
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3051
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3048
3052
|
}
|
|
3049
3053
|
}
|
|
3050
3054
|
| {
|
|
3051
3055
|
/** @enum {string} */
|
|
3052
|
-
type?: 'modifiedException'
|
|
3056
|
+
type?: 'modifiedException' | undefined
|
|
3053
3057
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3054
3058
|
/** @default */
|
|
3055
3059
|
description: string
|
|
@@ -3061,12 +3065,12 @@ export interface components {
|
|
|
3061
3065
|
/** @default */
|
|
3062
3066
|
comments: string
|
|
3063
3067
|
}
|
|
3064
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3068
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3065
3069
|
}
|
|
3066
3070
|
}
|
|
3067
3071
|
| {
|
|
3068
3072
|
/** @enum {string} */
|
|
3069
|
-
type?: 'licenseException'
|
|
3073
|
+
type?: 'licenseException' | undefined
|
|
3070
3074
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3071
3075
|
/** @default */
|
|
3072
3076
|
description: string
|
|
@@ -3076,12 +3080,12 @@ export interface components {
|
|
|
3076
3080
|
/** @default */
|
|
3077
3081
|
comments: string
|
|
3078
3082
|
}
|
|
3079
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3083
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3080
3084
|
}
|
|
3081
3085
|
}
|
|
3082
3086
|
| {
|
|
3083
3087
|
/** @enum {string} */
|
|
3084
|
-
type?: 'deprecatedException'
|
|
3088
|
+
type?: 'deprecatedException' | undefined
|
|
3085
3089
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3086
3090
|
/** @default */
|
|
3087
3091
|
description: string
|
|
@@ -3091,12 +3095,12 @@ export interface components {
|
|
|
3091
3095
|
/** @default */
|
|
3092
3096
|
comments: string
|
|
3093
3097
|
}
|
|
3094
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3098
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3095
3099
|
}
|
|
3096
3100
|
}
|
|
3097
3101
|
| {
|
|
3098
3102
|
/** @enum {string} */
|
|
3099
|
-
type?: 'miscLicenseIssues'
|
|
3103
|
+
type?: 'miscLicenseIssues' | undefined
|
|
3100
3104
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3101
3105
|
/** @default */
|
|
3102
3106
|
description: string
|
|
@@ -3106,12 +3110,12 @@ export interface components {
|
|
|
3106
3110
|
/** @default */
|
|
3107
3111
|
location: string
|
|
3108
3112
|
}
|
|
3109
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3113
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3110
3114
|
}
|
|
3111
3115
|
}
|
|
3112
3116
|
| {
|
|
3113
3117
|
/** @enum {string} */
|
|
3114
|
-
type?: 'unidentifiedLicense'
|
|
3118
|
+
type?: 'unidentifiedLicense' | undefined
|
|
3115
3119
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3116
3120
|
/** @default */
|
|
3117
3121
|
description: string
|
|
@@ -3125,22 +3129,22 @@ export interface components {
|
|
|
3125
3129
|
/** @default 0 */
|
|
3126
3130
|
match_strength: number
|
|
3127
3131
|
}
|
|
3128
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3132
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3129
3133
|
}
|
|
3130
3134
|
}
|
|
3131
3135
|
| {
|
|
3132
3136
|
/** @enum {string} */
|
|
3133
|
-
type?: 'noLicenseFound'
|
|
3137
|
+
type?: 'noLicenseFound' | undefined
|
|
3134
3138
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3135
3139
|
/** @default */
|
|
3136
3140
|
description: string
|
|
3137
3141
|
props: Record<string, never>
|
|
3138
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3142
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3139
3143
|
}
|
|
3140
3144
|
}
|
|
3141
3145
|
| {
|
|
3142
3146
|
/** @enum {string} */
|
|
3143
|
-
type?: 'explicitlyUnlicensedItem'
|
|
3147
|
+
type?: 'explicitlyUnlicensedItem' | undefined
|
|
3144
3148
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3145
3149
|
/** @default */
|
|
3146
3150
|
description: string
|
|
@@ -3152,12 +3156,12 @@ export interface components {
|
|
|
3152
3156
|
/** @default */
|
|
3153
3157
|
maybeTruncatedSource: string
|
|
3154
3158
|
}
|
|
3155
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3159
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3156
3160
|
}
|
|
3157
3161
|
}
|
|
3158
3162
|
| {
|
|
3159
3163
|
/** @enum {string} */
|
|
3160
|
-
type?: 'copyleftLicense'
|
|
3164
|
+
type?: 'copyleftLicense' | undefined
|
|
3161
3165
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3162
3166
|
/** @default */
|
|
3163
3167
|
description: string
|
|
@@ -3165,12 +3169,12 @@ export interface components {
|
|
|
3165
3169
|
/** @default */
|
|
3166
3170
|
licenseId: string
|
|
3167
3171
|
}
|
|
3168
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3172
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3169
3173
|
}
|
|
3170
3174
|
}
|
|
3171
3175
|
| {
|
|
3172
3176
|
/** @enum {string} */
|
|
3173
|
-
type?: 'nonpermissiveLicense'
|
|
3177
|
+
type?: 'nonpermissiveLicense' | undefined
|
|
3174
3178
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3175
3179
|
/** @default */
|
|
3176
3180
|
description: string
|
|
@@ -3178,12 +3182,12 @@ export interface components {
|
|
|
3178
3182
|
/** @default */
|
|
3179
3183
|
licenseId: string
|
|
3180
3184
|
}
|
|
3181
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3185
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3182
3186
|
}
|
|
3183
3187
|
}
|
|
3184
3188
|
| {
|
|
3185
3189
|
/** @enum {string} */
|
|
3186
|
-
type?: 'ambiguousClassifier'
|
|
3190
|
+
type?: 'ambiguousClassifier' | undefined
|
|
3187
3191
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3188
3192
|
/** @default */
|
|
3189
3193
|
description: string
|
|
@@ -3195,22 +3199,22 @@ export interface components {
|
|
|
3195
3199
|
/** @default {} */
|
|
3196
3200
|
maybeByteSpan: Record<string, never>
|
|
3197
3201
|
}
|
|
3198
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3202
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3199
3203
|
}
|
|
3200
3204
|
}
|
|
3201
3205
|
| {
|
|
3202
3206
|
/** @enum {string} */
|
|
3203
|
-
type?: 'invalidPackageJSON'
|
|
3207
|
+
type?: 'invalidPackageJSON' | undefined
|
|
3204
3208
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3205
3209
|
/** @default */
|
|
3206
3210
|
description: string
|
|
3207
3211
|
props: Record<string, never>
|
|
3208
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3212
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3209
3213
|
}
|
|
3210
3214
|
}
|
|
3211
3215
|
| {
|
|
3212
3216
|
/** @enum {string} */
|
|
3213
|
-
type?: 'httpDependency'
|
|
3217
|
+
type?: 'httpDependency' | undefined
|
|
3214
3218
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3215
3219
|
/** @default */
|
|
3216
3220
|
description: string
|
|
@@ -3220,12 +3224,12 @@ export interface components {
|
|
|
3220
3224
|
/** @default */
|
|
3221
3225
|
url: string
|
|
3222
3226
|
}
|
|
3223
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3227
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3224
3228
|
}
|
|
3225
3229
|
}
|
|
3226
3230
|
| {
|
|
3227
3231
|
/** @enum {string} */
|
|
3228
|
-
type?: 'gitDependency'
|
|
3232
|
+
type?: 'gitDependency' | undefined
|
|
3229
3233
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3230
3234
|
/** @default */
|
|
3231
3235
|
description: string
|
|
@@ -3235,12 +3239,12 @@ export interface components {
|
|
|
3235
3239
|
/** @default */
|
|
3236
3240
|
url: string
|
|
3237
3241
|
}
|
|
3238
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3242
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3239
3243
|
}
|
|
3240
3244
|
}
|
|
3241
3245
|
| {
|
|
3242
3246
|
/** @enum {string} */
|
|
3243
|
-
type?: 'gitHubDependency'
|
|
3247
|
+
type?: 'gitHubDependency' | undefined
|
|
3244
3248
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3245
3249
|
/** @default */
|
|
3246
3250
|
description: string
|
|
@@ -3254,12 +3258,12 @@ export interface components {
|
|
|
3254
3258
|
/** @default */
|
|
3255
3259
|
commitsh: string
|
|
3256
3260
|
}
|
|
3257
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3261
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3258
3262
|
}
|
|
3259
3263
|
}
|
|
3260
3264
|
| {
|
|
3261
3265
|
/** @enum {string} */
|
|
3262
|
-
type?: 'fileDependency'
|
|
3266
|
+
type?: 'fileDependency' | undefined
|
|
3263
3267
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3264
3268
|
/** @default */
|
|
3265
3269
|
description: string
|
|
@@ -3269,42 +3273,42 @@ export interface components {
|
|
|
3269
3273
|
/** @default */
|
|
3270
3274
|
filePath: string
|
|
3271
3275
|
}
|
|
3272
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3276
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3273
3277
|
}
|
|
3274
3278
|
}
|
|
3275
3279
|
| {
|
|
3276
3280
|
/** @enum {string} */
|
|
3277
|
-
type?: 'noTests'
|
|
3281
|
+
type?: 'noTests' | undefined
|
|
3278
3282
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3279
3283
|
/** @default */
|
|
3280
3284
|
description: string
|
|
3281
3285
|
props: Record<string, never>
|
|
3282
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3286
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3283
3287
|
}
|
|
3284
3288
|
}
|
|
3285
3289
|
| {
|
|
3286
3290
|
/** @enum {string} */
|
|
3287
|
-
type?: 'noRepository'
|
|
3291
|
+
type?: 'noRepository' | undefined
|
|
3288
3292
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3289
3293
|
/** @default */
|
|
3290
3294
|
description: string
|
|
3291
3295
|
props: Record<string, never>
|
|
3292
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3296
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3293
3297
|
}
|
|
3294
3298
|
}
|
|
3295
3299
|
| {
|
|
3296
3300
|
/** @enum {string} */
|
|
3297
|
-
type?: 'badSemver'
|
|
3301
|
+
type?: 'badSemver' | undefined
|
|
3298
3302
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3299
3303
|
/** @default */
|
|
3300
3304
|
description: string
|
|
3301
3305
|
props: Record<string, never>
|
|
3302
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3306
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3303
3307
|
}
|
|
3304
3308
|
}
|
|
3305
3309
|
| {
|
|
3306
3310
|
/** @enum {string} */
|
|
3307
|
-
type?: 'badSemverDependency'
|
|
3311
|
+
type?: 'badSemverDependency' | undefined
|
|
3308
3312
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3309
3313
|
/** @default */
|
|
3310
3314
|
description: string
|
|
@@ -3314,62 +3318,62 @@ export interface components {
|
|
|
3314
3318
|
/** @default */
|
|
3315
3319
|
packageVersion: string
|
|
3316
3320
|
}
|
|
3317
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3321
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3318
3322
|
}
|
|
3319
3323
|
}
|
|
3320
3324
|
| {
|
|
3321
3325
|
/** @enum {string} */
|
|
3322
|
-
type?: 'noV1'
|
|
3326
|
+
type?: 'noV1' | undefined
|
|
3323
3327
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3324
3328
|
/** @default */
|
|
3325
3329
|
description: string
|
|
3326
3330
|
props: Record<string, never>
|
|
3327
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3331
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3328
3332
|
}
|
|
3329
3333
|
}
|
|
3330
3334
|
| {
|
|
3331
3335
|
/** @enum {string} */
|
|
3332
|
-
type?: 'noWebsite'
|
|
3336
|
+
type?: 'noWebsite' | undefined
|
|
3333
3337
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3334
3338
|
/** @default */
|
|
3335
3339
|
description: string
|
|
3336
3340
|
props: Record<string, never>
|
|
3337
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3341
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3338
3342
|
}
|
|
3339
3343
|
}
|
|
3340
3344
|
| {
|
|
3341
3345
|
/** @enum {string} */
|
|
3342
|
-
type?: 'noBugTracker'
|
|
3346
|
+
type?: 'noBugTracker' | undefined
|
|
3343
3347
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3344
3348
|
/** @default */
|
|
3345
3349
|
description: string
|
|
3346
3350
|
props: Record<string, never>
|
|
3347
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3351
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3348
3352
|
}
|
|
3349
3353
|
}
|
|
3350
3354
|
| {
|
|
3351
3355
|
/** @enum {string} */
|
|
3352
|
-
type?: 'noAuthorData'
|
|
3356
|
+
type?: 'noAuthorData' | undefined
|
|
3353
3357
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3354
3358
|
/** @default */
|
|
3355
3359
|
description: string
|
|
3356
3360
|
props: Record<string, never>
|
|
3357
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3361
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3358
3362
|
}
|
|
3359
3363
|
}
|
|
3360
3364
|
| {
|
|
3361
3365
|
/** @enum {string} */
|
|
3362
|
-
type?: 'typeModuleCompatibility'
|
|
3366
|
+
type?: 'typeModuleCompatibility' | undefined
|
|
3363
3367
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3364
3368
|
/** @default */
|
|
3365
3369
|
description: string
|
|
3366
3370
|
props: Record<string, never>
|
|
3367
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3371
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3368
3372
|
}
|
|
3369
3373
|
}
|
|
3370
3374
|
| {
|
|
3371
3375
|
/** @enum {string} */
|
|
3372
|
-
type?: 'floatingDependency'
|
|
3376
|
+
type?: 'floatingDependency' | undefined
|
|
3373
3377
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3374
3378
|
/** @default */
|
|
3375
3379
|
description: string
|
|
@@ -3377,12 +3381,12 @@ export interface components {
|
|
|
3377
3381
|
/** @default */
|
|
3378
3382
|
dependency: string
|
|
3379
3383
|
}
|
|
3380
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3384
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3381
3385
|
}
|
|
3382
3386
|
}
|
|
3383
3387
|
| {
|
|
3384
3388
|
/** @enum {string} */
|
|
3385
|
-
type?: 'manifestConfusion'
|
|
3389
|
+
type?: 'manifestConfusion' | undefined
|
|
3386
3390
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3387
3391
|
/** @default */
|
|
3388
3392
|
description: string
|
|
@@ -3392,12 +3396,12 @@ export interface components {
|
|
|
3392
3396
|
/** @default */
|
|
3393
3397
|
description: string
|
|
3394
3398
|
}
|
|
3395
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3399
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3396
3400
|
}
|
|
3397
3401
|
}
|
|
3398
3402
|
| {
|
|
3399
3403
|
/** @enum {string} */
|
|
3400
|
-
type?: 'malware'
|
|
3404
|
+
type?: 'malware' | undefined
|
|
3401
3405
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3402
3406
|
/** @default */
|
|
3403
3407
|
description: string
|
|
@@ -3407,12 +3411,12 @@ export interface components {
|
|
|
3407
3411
|
/** @default */
|
|
3408
3412
|
note: string
|
|
3409
3413
|
}
|
|
3410
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3414
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3411
3415
|
}
|
|
3412
3416
|
}
|
|
3413
3417
|
| {
|
|
3414
3418
|
/** @enum {string} */
|
|
3415
|
-
type?: 'telemetry'
|
|
3419
|
+
type?: 'telemetry' | undefined
|
|
3416
3420
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3417
3421
|
/** @default */
|
|
3418
3422
|
description: string
|
|
@@ -3422,12 +3426,12 @@ export interface components {
|
|
|
3422
3426
|
/** @default */
|
|
3423
3427
|
note: string
|
|
3424
3428
|
}
|
|
3425
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3429
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3426
3430
|
}
|
|
3427
3431
|
}
|
|
3428
3432
|
| {
|
|
3429
3433
|
/** @enum {string} */
|
|
3430
|
-
type?: 'troll'
|
|
3434
|
+
type?: 'troll' | undefined
|
|
3431
3435
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3432
3436
|
/** @default */
|
|
3433
3437
|
description: string
|
|
@@ -3437,12 +3441,12 @@ export interface components {
|
|
|
3437
3441
|
/** @default */
|
|
3438
3442
|
note: string
|
|
3439
3443
|
}
|
|
3440
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3444
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3441
3445
|
}
|
|
3442
3446
|
}
|
|
3443
3447
|
| {
|
|
3444
3448
|
/** @enum {string} */
|
|
3445
|
-
type?: 'deprecated'
|
|
3449
|
+
type?: 'deprecated' | undefined
|
|
3446
3450
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3447
3451
|
/** @default */
|
|
3448
3452
|
description: string
|
|
@@ -3450,12 +3454,12 @@ export interface components {
|
|
|
3450
3454
|
/** @default This package is deprecated */
|
|
3451
3455
|
reason: string
|
|
3452
3456
|
}
|
|
3453
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3457
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3454
3458
|
}
|
|
3455
3459
|
}
|
|
3456
3460
|
| {
|
|
3457
3461
|
/** @enum {string} */
|
|
3458
|
-
type?: 'chronoAnomaly'
|
|
3462
|
+
type?: 'chronoAnomaly' | undefined
|
|
3459
3463
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3460
3464
|
/** @default */
|
|
3461
3465
|
description: string
|
|
@@ -3469,12 +3473,12 @@ export interface components {
|
|
|
3469
3473
|
/** @default */
|
|
3470
3474
|
prevSemverVersion: string
|
|
3471
3475
|
}
|
|
3472
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3476
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3473
3477
|
}
|
|
3474
3478
|
}
|
|
3475
3479
|
| {
|
|
3476
3480
|
/** @enum {string} */
|
|
3477
|
-
type?: 'compromisedSSHKey'
|
|
3481
|
+
type?: 'compromisedSSHKey' | undefined
|
|
3478
3482
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3479
3483
|
/** @default */
|
|
3480
3484
|
description: string
|
|
@@ -3486,12 +3490,12 @@ export interface components {
|
|
|
3486
3490
|
/** @default */
|
|
3487
3491
|
username: string
|
|
3488
3492
|
}
|
|
3489
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3493
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3490
3494
|
}
|
|
3491
3495
|
}
|
|
3492
3496
|
| {
|
|
3493
3497
|
/** @enum {string} */
|
|
3494
|
-
type?: 'semverAnomaly'
|
|
3498
|
+
type?: 'semverAnomaly' | undefined
|
|
3495
3499
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3496
3500
|
/** @default */
|
|
3497
3501
|
description: string
|
|
@@ -3501,12 +3505,12 @@ export interface components {
|
|
|
3501
3505
|
/** @default */
|
|
3502
3506
|
newVersion: string
|
|
3503
3507
|
}
|
|
3504
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3508
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3505
3509
|
}
|
|
3506
3510
|
}
|
|
3507
3511
|
| {
|
|
3508
3512
|
/** @enum {string} */
|
|
3509
|
-
type?: 'newAuthor'
|
|
3513
|
+
type?: 'newAuthor' | undefined
|
|
3510
3514
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3511
3515
|
/** @default */
|
|
3512
3516
|
description: string
|
|
@@ -3516,12 +3520,12 @@ export interface components {
|
|
|
3516
3520
|
/** @default */
|
|
3517
3521
|
newAuthor: string
|
|
3518
3522
|
}
|
|
3519
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3523
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3520
3524
|
}
|
|
3521
3525
|
}
|
|
3522
3526
|
| {
|
|
3523
3527
|
/** @enum {string} */
|
|
3524
|
-
type?: 'unstableOwnership'
|
|
3528
|
+
type?: 'unstableOwnership' | undefined
|
|
3525
3529
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3526
3530
|
/** @default */
|
|
3527
3531
|
description: string
|
|
@@ -3529,22 +3533,22 @@ export interface components {
|
|
|
3529
3533
|
/** @default */
|
|
3530
3534
|
author: string
|
|
3531
3535
|
}
|
|
3532
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3536
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3533
3537
|
}
|
|
3534
3538
|
}
|
|
3535
3539
|
| {
|
|
3536
3540
|
/** @enum {string} */
|
|
3537
|
-
type?: 'missingAuthor'
|
|
3541
|
+
type?: 'missingAuthor' | undefined
|
|
3538
3542
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3539
3543
|
/** @default */
|
|
3540
3544
|
description: string
|
|
3541
3545
|
props: Record<string, never>
|
|
3542
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3546
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3543
3547
|
}
|
|
3544
3548
|
}
|
|
3545
3549
|
| {
|
|
3546
3550
|
/** @enum {string} */
|
|
3547
|
-
type?: 'unmaintained'
|
|
3551
|
+
type?: 'unmaintained' | undefined
|
|
3548
3552
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3549
3553
|
/** @default */
|
|
3550
3554
|
description: string
|
|
@@ -3552,12 +3556,12 @@ export interface components {
|
|
|
3552
3556
|
/** @default */
|
|
3553
3557
|
lastPublish: string
|
|
3554
3558
|
}
|
|
3555
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3559
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3556
3560
|
}
|
|
3557
3561
|
}
|
|
3558
3562
|
| {
|
|
3559
3563
|
/** @enum {string} */
|
|
3560
|
-
type?: 'unpublished'
|
|
3564
|
+
type?: 'unpublished' | undefined
|
|
3561
3565
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3562
3566
|
/** @default */
|
|
3563
3567
|
description: string
|
|
@@ -3565,12 +3569,12 @@ export interface components {
|
|
|
3565
3569
|
/** @default */
|
|
3566
3570
|
version: string
|
|
3567
3571
|
}
|
|
3568
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3572
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3569
3573
|
}
|
|
3570
3574
|
}
|
|
3571
3575
|
| {
|
|
3572
3576
|
/** @enum {string} */
|
|
3573
|
-
type?: 'majorRefactor'
|
|
3577
|
+
type?: 'majorRefactor' | undefined
|
|
3574
3578
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3575
3579
|
/** @default */
|
|
3576
3580
|
description: string
|
|
@@ -3584,22 +3588,22 @@ export interface components {
|
|
|
3584
3588
|
/** @default 0 */
|
|
3585
3589
|
changedPercent: number
|
|
3586
3590
|
}
|
|
3587
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3591
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3588
3592
|
}
|
|
3589
3593
|
}
|
|
3590
3594
|
| {
|
|
3591
3595
|
/** @enum {string} */
|
|
3592
|
-
type?: 'missingTarball'
|
|
3596
|
+
type?: 'missingTarball' | undefined
|
|
3593
3597
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3594
3598
|
/** @default */
|
|
3595
3599
|
description: string
|
|
3596
3600
|
props: Record<string, never>
|
|
3597
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3601
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3598
3602
|
}
|
|
3599
3603
|
}
|
|
3600
3604
|
| {
|
|
3601
3605
|
/** @enum {string} */
|
|
3602
|
-
type?: 'suspiciousStarActivity'
|
|
3606
|
+
type?: 'suspiciousStarActivity' | undefined
|
|
3603
3607
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3604
3608
|
/** @default */
|
|
3605
3609
|
description: string
|
|
@@ -3609,22 +3613,22 @@ export interface components {
|
|
|
3609
3613
|
/** @default */
|
|
3610
3614
|
repository: string
|
|
3611
3615
|
}
|
|
3612
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3616
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3613
3617
|
}
|
|
3614
3618
|
}
|
|
3615
3619
|
| {
|
|
3616
3620
|
/** @enum {string} */
|
|
3617
|
-
type?: 'unpopularPackage'
|
|
3621
|
+
type?: 'unpopularPackage' | undefined
|
|
3618
3622
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3619
3623
|
/** @default */
|
|
3620
3624
|
description: string
|
|
3621
3625
|
props: Record<string, never>
|
|
3622
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3626
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3623
3627
|
}
|
|
3624
3628
|
}
|
|
3625
3629
|
| {
|
|
3626
3630
|
/** @enum {string} */
|
|
3627
|
-
type?: 'socketUpgradeAvailable'
|
|
3631
|
+
type?: 'socketUpgradeAvailable' | undefined
|
|
3628
3632
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3629
3633
|
/** @default */
|
|
3630
3634
|
description: string
|
|
@@ -3638,44 +3642,44 @@ export interface components {
|
|
|
3638
3642
|
/** @default */
|
|
3639
3643
|
version: string
|
|
3640
3644
|
}
|
|
3641
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3645
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3642
3646
|
}
|
|
3643
3647
|
}
|
|
3644
3648
|
| {
|
|
3645
3649
|
/** @enum {string} */
|
|
3646
|
-
type?: 'longStrings'
|
|
3650
|
+
type?: 'longStrings' | undefined
|
|
3647
3651
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3648
3652
|
/** @default */
|
|
3649
3653
|
description: string
|
|
3650
3654
|
props: Record<string, never>
|
|
3651
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3655
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3652
3656
|
}
|
|
3653
3657
|
}
|
|
3654
3658
|
| {
|
|
3655
3659
|
/** @enum {string} */
|
|
3656
|
-
type?: 'highEntropyStrings'
|
|
3660
|
+
type?: 'highEntropyStrings' | undefined
|
|
3657
3661
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3658
3662
|
/** @default */
|
|
3659
3663
|
description: string
|
|
3660
3664
|
props: Record<string, never>
|
|
3661
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3665
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3662
3666
|
}
|
|
3663
3667
|
}
|
|
3664
3668
|
| {
|
|
3665
3669
|
/** @enum {string} */
|
|
3666
|
-
type?: 'urlStrings'
|
|
3670
|
+
type?: 'urlStrings' | undefined
|
|
3667
3671
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3668
3672
|
/** @default */
|
|
3669
3673
|
description: string
|
|
3670
3674
|
props: {
|
|
3671
3675
|
urls: string[]
|
|
3672
3676
|
}
|
|
3673
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3677
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3674
3678
|
}
|
|
3675
3679
|
}
|
|
3676
3680
|
| {
|
|
3677
3681
|
/** @enum {string} */
|
|
3678
|
-
type?: 'usesEval'
|
|
3682
|
+
type?: 'usesEval' | undefined
|
|
3679
3683
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3680
3684
|
/** @default */
|
|
3681
3685
|
description: string
|
|
@@ -3683,22 +3687,22 @@ export interface components {
|
|
|
3683
3687
|
/** @default eval */
|
|
3684
3688
|
evalType: string
|
|
3685
3689
|
}
|
|
3686
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3690
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3687
3691
|
}
|
|
3688
3692
|
}
|
|
3689
3693
|
| {
|
|
3690
3694
|
/** @enum {string} */
|
|
3691
|
-
type?: 'dynamicRequire'
|
|
3695
|
+
type?: 'dynamicRequire' | undefined
|
|
3692
3696
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3693
3697
|
/** @default */
|
|
3694
3698
|
description: string
|
|
3695
3699
|
props: Record<string, never>
|
|
3696
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3700
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3697
3701
|
}
|
|
3698
3702
|
}
|
|
3699
3703
|
| {
|
|
3700
3704
|
/** @enum {string} */
|
|
3701
|
-
type?: 'envVars'
|
|
3705
|
+
type?: 'envVars' | undefined
|
|
3702
3706
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3703
3707
|
/** @default */
|
|
3704
3708
|
description: string
|
|
@@ -3706,12 +3710,12 @@ export interface components {
|
|
|
3706
3710
|
/** @default */
|
|
3707
3711
|
envVars: string
|
|
3708
3712
|
}
|
|
3709
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3713
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3710
3714
|
}
|
|
3711
3715
|
}
|
|
3712
3716
|
| {
|
|
3713
3717
|
/** @enum {string} */
|
|
3714
|
-
type?: 'missingDependency'
|
|
3718
|
+
type?: 'missingDependency' | undefined
|
|
3715
3719
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3716
3720
|
/** @default */
|
|
3717
3721
|
description: string
|
|
@@ -3719,12 +3723,12 @@ export interface components {
|
|
|
3719
3723
|
/** @default */
|
|
3720
3724
|
name: string
|
|
3721
3725
|
}
|
|
3722
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3726
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3723
3727
|
}
|
|
3724
3728
|
}
|
|
3725
3729
|
| {
|
|
3726
3730
|
/** @enum {string} */
|
|
3727
|
-
type?: 'unusedDependency'
|
|
3731
|
+
type?: 'unusedDependency' | undefined
|
|
3728
3732
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3729
3733
|
/** @default */
|
|
3730
3734
|
description: string
|
|
@@ -3734,12 +3738,12 @@ export interface components {
|
|
|
3734
3738
|
/** @default */
|
|
3735
3739
|
version: string
|
|
3736
3740
|
}
|
|
3737
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3741
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3738
3742
|
}
|
|
3739
3743
|
}
|
|
3740
3744
|
| {
|
|
3741
3745
|
/** @enum {string} */
|
|
3742
|
-
type?: 'peerDependency'
|
|
3746
|
+
type?: 'peerDependency' | undefined
|
|
3743
3747
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3744
3748
|
/** @default */
|
|
3745
3749
|
description: string
|
|
@@ -3747,12 +3751,12 @@ export interface components {
|
|
|
3747
3751
|
/** @default */
|
|
3748
3752
|
name: string
|
|
3749
3753
|
}
|
|
3750
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3754
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3751
3755
|
}
|
|
3752
3756
|
}
|
|
3753
3757
|
| {
|
|
3754
3758
|
/** @enum {string} */
|
|
3755
|
-
type?: 'uncaughtOptionalDependency'
|
|
3759
|
+
type?: 'uncaughtOptionalDependency' | undefined
|
|
3756
3760
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3757
3761
|
/** @default */
|
|
3758
3762
|
description: string
|
|
@@ -3760,42 +3764,42 @@ export interface components {
|
|
|
3760
3764
|
/** @default */
|
|
3761
3765
|
name: string
|
|
3762
3766
|
}
|
|
3763
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3767
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3764
3768
|
}
|
|
3765
3769
|
}
|
|
3766
3770
|
| {
|
|
3767
3771
|
/** @enum {string} */
|
|
3768
|
-
type?: 'unresolvedRequire'
|
|
3772
|
+
type?: 'unresolvedRequire' | undefined
|
|
3769
3773
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3770
3774
|
/** @default */
|
|
3771
3775
|
description: string
|
|
3772
3776
|
props: Record<string, never>
|
|
3773
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3777
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3774
3778
|
}
|
|
3775
3779
|
}
|
|
3776
3780
|
| {
|
|
3777
3781
|
/** @enum {string} */
|
|
3778
|
-
type?: 'extraneousDependency'
|
|
3782
|
+
type?: 'extraneousDependency' | undefined
|
|
3779
3783
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3780
3784
|
/** @default */
|
|
3781
3785
|
description: string
|
|
3782
3786
|
props: Record<string, never>
|
|
3783
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3787
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3784
3788
|
}
|
|
3785
3789
|
}
|
|
3786
3790
|
| {
|
|
3787
3791
|
/** @enum {string} */
|
|
3788
|
-
type?: 'obfuscatedRequire'
|
|
3792
|
+
type?: 'obfuscatedRequire' | undefined
|
|
3789
3793
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3790
3794
|
/** @default */
|
|
3791
3795
|
description: string
|
|
3792
3796
|
props: Record<string, never>
|
|
3793
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3797
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3794
3798
|
}
|
|
3795
3799
|
}
|
|
3796
3800
|
| {
|
|
3797
3801
|
/** @enum {string} */
|
|
3798
|
-
type?: 'obfuscatedFile'
|
|
3802
|
+
type?: 'obfuscatedFile' | undefined
|
|
3799
3803
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3800
3804
|
/** @default */
|
|
3801
3805
|
description: string
|
|
@@ -3805,12 +3809,12 @@ export interface components {
|
|
|
3805
3809
|
/** @default */
|
|
3806
3810
|
notes: string
|
|
3807
3811
|
}
|
|
3808
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3812
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3809
3813
|
}
|
|
3810
3814
|
}
|
|
3811
3815
|
| {
|
|
3812
3816
|
/** @enum {string} */
|
|
3813
|
-
type?: 'minifiedFile'
|
|
3817
|
+
type?: 'minifiedFile' | undefined
|
|
3814
3818
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3815
3819
|
/** @default */
|
|
3816
3820
|
description: string
|
|
@@ -3818,12 +3822,12 @@ export interface components {
|
|
|
3818
3822
|
/** @default 0 */
|
|
3819
3823
|
confidence: number
|
|
3820
3824
|
}
|
|
3821
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3825
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3822
3826
|
}
|
|
3823
3827
|
}
|
|
3824
3828
|
| {
|
|
3825
3829
|
/** @enum {string} */
|
|
3826
|
-
type?: 'installScripts'
|
|
3830
|
+
type?: 'installScripts' | undefined
|
|
3827
3831
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3828
3832
|
/** @default */
|
|
3829
3833
|
description: string
|
|
@@ -3833,22 +3837,22 @@ export interface components {
|
|
|
3833
3837
|
/** @default */
|
|
3834
3838
|
source: string
|
|
3835
3839
|
}
|
|
3836
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3840
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3837
3841
|
}
|
|
3838
3842
|
}
|
|
3839
3843
|
| {
|
|
3840
3844
|
/** @enum {string} */
|
|
3841
|
-
type?: 'hasNativeCode'
|
|
3845
|
+
type?: 'hasNativeCode' | undefined
|
|
3842
3846
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3843
3847
|
/** @default */
|
|
3844
3848
|
description: string
|
|
3845
3849
|
props: Record<string, never>
|
|
3846
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3850
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3847
3851
|
}
|
|
3848
3852
|
}
|
|
3849
3853
|
| {
|
|
3850
3854
|
/** @enum {string} */
|
|
3851
|
-
type?: 'binScriptConfusion'
|
|
3855
|
+
type?: 'binScriptConfusion' | undefined
|
|
3852
3856
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3853
3857
|
/** @default */
|
|
3854
3858
|
description: string
|
|
@@ -3856,12 +3860,12 @@ export interface components {
|
|
|
3856
3860
|
/** @default */
|
|
3857
3861
|
binScript: string
|
|
3858
3862
|
}
|
|
3859
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3863
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3860
3864
|
}
|
|
3861
3865
|
}
|
|
3862
3866
|
| {
|
|
3863
3867
|
/** @enum {string} */
|
|
3864
|
-
type?: 'shellScriptOverride'
|
|
3868
|
+
type?: 'shellScriptOverride' | undefined
|
|
3865
3869
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3866
3870
|
/** @default */
|
|
3867
3871
|
description: string
|
|
@@ -3869,12 +3873,12 @@ export interface components {
|
|
|
3869
3873
|
/** @default */
|
|
3870
3874
|
binScript: string
|
|
3871
3875
|
}
|
|
3872
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3876
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3873
3877
|
}
|
|
3874
3878
|
}
|
|
3875
3879
|
| {
|
|
3876
3880
|
/** @enum {string} */
|
|
3877
|
-
type?: 'didYouMean'
|
|
3881
|
+
type?: 'didYouMean' | undefined
|
|
3878
3882
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3879
3883
|
/** @default */
|
|
3880
3884
|
description: string
|
|
@@ -3882,12 +3886,12 @@ export interface components {
|
|
|
3882
3886
|
/** @default */
|
|
3883
3887
|
alternatePackage: string
|
|
3884
3888
|
}
|
|
3885
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3889
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3886
3890
|
}
|
|
3887
3891
|
}
|
|
3888
3892
|
| {
|
|
3889
3893
|
/** @enum {string} */
|
|
3890
|
-
type?: 'gptDidYouMean'
|
|
3894
|
+
type?: 'gptDidYouMean' | undefined
|
|
3891
3895
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3892
3896
|
/** @default */
|
|
3893
3897
|
description: string
|
|
@@ -3895,32 +3899,32 @@ export interface components {
|
|
|
3895
3899
|
/** @default */
|
|
3896
3900
|
alternatePackage: string
|
|
3897
3901
|
}
|
|
3898
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3902
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3899
3903
|
}
|
|
3900
3904
|
}
|
|
3901
3905
|
| {
|
|
3902
3906
|
/** @enum {string} */
|
|
3903
|
-
type?: 'bidi'
|
|
3907
|
+
type?: 'bidi' | undefined
|
|
3904
3908
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3905
3909
|
/** @default */
|
|
3906
3910
|
description: string
|
|
3907
3911
|
props: Record<string, never>
|
|
3908
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3912
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3909
3913
|
}
|
|
3910
3914
|
}
|
|
3911
3915
|
| {
|
|
3912
3916
|
/** @enum {string} */
|
|
3913
|
-
type?: 'zeroWidth'
|
|
3917
|
+
type?: 'zeroWidth' | undefined
|
|
3914
3918
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3915
3919
|
/** @default */
|
|
3916
3920
|
description: string
|
|
3917
3921
|
props: Record<string, never>
|
|
3918
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3922
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3919
3923
|
}
|
|
3920
3924
|
}
|
|
3921
3925
|
| {
|
|
3922
3926
|
/** @enum {string} */
|
|
3923
|
-
type?: 'badEncoding'
|
|
3927
|
+
type?: 'badEncoding' | undefined
|
|
3924
3928
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3925
3929
|
/** @default */
|
|
3926
3930
|
description: string
|
|
@@ -3928,32 +3932,32 @@ export interface components {
|
|
|
3928
3932
|
/** @default utf8 */
|
|
3929
3933
|
encoding: string
|
|
3930
3934
|
}
|
|
3931
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3935
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3932
3936
|
}
|
|
3933
3937
|
}
|
|
3934
3938
|
| {
|
|
3935
3939
|
/** @enum {string} */
|
|
3936
|
-
type?: 'homoglyphs'
|
|
3940
|
+
type?: 'homoglyphs' | undefined
|
|
3937
3941
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3938
3942
|
/** @default */
|
|
3939
3943
|
description: string
|
|
3940
3944
|
props: Record<string, never>
|
|
3941
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3945
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3942
3946
|
}
|
|
3943
3947
|
}
|
|
3944
3948
|
| {
|
|
3945
3949
|
/** @enum {string} */
|
|
3946
|
-
type?: 'invisibleChars'
|
|
3950
|
+
type?: 'invisibleChars' | undefined
|
|
3947
3951
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3948
3952
|
/** @default */
|
|
3949
3953
|
description: string
|
|
3950
3954
|
props: Record<string, never>
|
|
3951
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3955
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3952
3956
|
}
|
|
3953
3957
|
}
|
|
3954
3958
|
| {
|
|
3955
3959
|
/** @enum {string} */
|
|
3956
|
-
type?: 'suspiciousString'
|
|
3960
|
+
type?: 'suspiciousString' | undefined
|
|
3957
3961
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3958
3962
|
/** @default */
|
|
3959
3963
|
description: string
|
|
@@ -3963,12 +3967,12 @@ export interface components {
|
|
|
3963
3967
|
/** @default */
|
|
3964
3968
|
explanation: string
|
|
3965
3969
|
}
|
|
3966
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3970
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3967
3971
|
}
|
|
3968
3972
|
}
|
|
3969
3973
|
| {
|
|
3970
3974
|
/** @enum {string} */
|
|
3971
|
-
type?: 'potentialVulnerability'
|
|
3975
|
+
type?: 'potentialVulnerability' | undefined
|
|
3972
3976
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3973
3977
|
/** @default */
|
|
3974
3978
|
description: string
|
|
@@ -3981,12 +3985,12 @@ export interface components {
|
|
|
3981
3985
|
*/
|
|
3982
3986
|
risk: 'low' | 'medium' | 'high'
|
|
3983
3987
|
}
|
|
3984
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3988
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3985
3989
|
}
|
|
3986
3990
|
}
|
|
3987
3991
|
| {
|
|
3988
3992
|
/** @enum {string} */
|
|
3989
|
-
type?: 'vsxProposedApiUsage'
|
|
3993
|
+
type?: 'vsxProposedApiUsage' | undefined
|
|
3990
3994
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3991
3995
|
/** @default */
|
|
3992
3996
|
description: string
|
|
@@ -3994,12 +3998,12 @@ export interface components {
|
|
|
3994
3998
|
/** @default */
|
|
3995
3999
|
proposals: string
|
|
3996
4000
|
}
|
|
3997
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
4001
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
3998
4002
|
}
|
|
3999
4003
|
}
|
|
4000
4004
|
| {
|
|
4001
4005
|
/** @enum {string} */
|
|
4002
|
-
type?: 'vsxActivationWildcard'
|
|
4006
|
+
type?: 'vsxActivationWildcard' | undefined
|
|
4003
4007
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
4004
4008
|
/** @default */
|
|
4005
4009
|
description: string
|
|
@@ -4007,12 +4011,12 @@ export interface components {
|
|
|
4007
4011
|
/** @default */
|
|
4008
4012
|
event: string
|
|
4009
4013
|
}
|
|
4010
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
4014
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
4011
4015
|
}
|
|
4012
4016
|
}
|
|
4013
4017
|
| {
|
|
4014
4018
|
/** @enum {string} */
|
|
4015
|
-
type?: 'vsxWorkspaceContainsActivation'
|
|
4019
|
+
type?: 'vsxWorkspaceContainsActivation' | undefined
|
|
4016
4020
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
4017
4021
|
/** @default */
|
|
4018
4022
|
description: string
|
|
@@ -4020,12 +4024,12 @@ export interface components {
|
|
|
4020
4024
|
/** @default */
|
|
4021
4025
|
pattern: string
|
|
4022
4026
|
}
|
|
4023
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
4027
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
4024
4028
|
}
|
|
4025
4029
|
}
|
|
4026
4030
|
| {
|
|
4027
4031
|
/** @enum {string} */
|
|
4028
|
-
type?: 'vsxUntrustedWorkspaceSupported'
|
|
4032
|
+
type?: 'vsxUntrustedWorkspaceSupported' | undefined
|
|
4029
4033
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
4030
4034
|
/** @default */
|
|
4031
4035
|
description: string
|
|
@@ -4033,12 +4037,12 @@ export interface components {
|
|
|
4033
4037
|
/** @default */
|
|
4034
4038
|
supported: string
|
|
4035
4039
|
}
|
|
4036
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
4040
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
4037
4041
|
}
|
|
4038
4042
|
}
|
|
4039
4043
|
| {
|
|
4040
4044
|
/** @enum {string} */
|
|
4041
|
-
type?: 'vsxVirtualWorkspaceSupported'
|
|
4045
|
+
type?: 'vsxVirtualWorkspaceSupported' | undefined
|
|
4042
4046
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
4043
4047
|
/** @default */
|
|
4044
4048
|
description: string
|
|
@@ -4046,32 +4050,32 @@ export interface components {
|
|
|
4046
4050
|
/** @default */
|
|
4047
4051
|
supported: string
|
|
4048
4052
|
}
|
|
4049
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
4053
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
4050
4054
|
}
|
|
4051
4055
|
}
|
|
4052
4056
|
| {
|
|
4053
4057
|
/** @enum {string} */
|
|
4054
|
-
type?: 'vsxWebviewContribution'
|
|
4058
|
+
type?: 'vsxWebviewContribution' | undefined
|
|
4055
4059
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
4056
4060
|
/** @default */
|
|
4057
4061
|
description: string
|
|
4058
4062
|
props: Record<string, never>
|
|
4059
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
4063
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
4060
4064
|
}
|
|
4061
4065
|
}
|
|
4062
4066
|
| {
|
|
4063
4067
|
/** @enum {string} */
|
|
4064
|
-
type?: 'vsxDebuggerContribution'
|
|
4068
|
+
type?: 'vsxDebuggerContribution' | undefined
|
|
4065
4069
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
4066
4070
|
/** @default */
|
|
4067
4071
|
description: string
|
|
4068
4072
|
props: Record<string, never>
|
|
4069
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
4073
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
4070
4074
|
}
|
|
4071
4075
|
}
|
|
4072
4076
|
| {
|
|
4073
4077
|
/** @enum {string} */
|
|
4074
|
-
type?: 'vsxExtensionDependency'
|
|
4078
|
+
type?: 'vsxExtensionDependency' | undefined
|
|
4075
4079
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
4076
4080
|
/** @default */
|
|
4077
4081
|
description: string
|
|
@@ -4079,12 +4083,12 @@ export interface components {
|
|
|
4079
4083
|
/** @default */
|
|
4080
4084
|
extension: string
|
|
4081
4085
|
}
|
|
4082
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
4086
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
4083
4087
|
}
|
|
4084
4088
|
}
|
|
4085
4089
|
| {
|
|
4086
4090
|
/** @enum {string} */
|
|
4087
|
-
type?: 'vsxExtensionPack'
|
|
4091
|
+
type?: 'vsxExtensionPack' | undefined
|
|
4088
4092
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
4089
4093
|
/** @default */
|
|
4090
4094
|
description: string
|
|
@@ -4092,7 +4096,7 @@ export interface components {
|
|
|
4092
4096
|
/** @default */
|
|
4093
4097
|
count: string
|
|
4094
4098
|
}
|
|
4095
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
4099
|
+
usage?: components['schemas']['SocketUsageRef'] | undefined
|
|
4096
4100
|
}
|
|
4097
4101
|
}
|
|
4098
4102
|
SocketMetricSchema: {
|
|
@@ -4102,9 +4106,9 @@ export interface components {
|
|
|
4102
4106
|
[key: string]: components['schemas']['SocketMetricComponent']
|
|
4103
4107
|
}
|
|
4104
4108
|
/** @default 0 */
|
|
4105
|
-
limit?: number
|
|
4109
|
+
limit?: number | undefined
|
|
4106
4110
|
/** @default */
|
|
4107
|
-
limitingMetric?: string
|
|
4111
|
+
limitingMetric?: string | undefined
|
|
4108
4112
|
}
|
|
4109
4113
|
/**
|
|
4110
4114
|
* @description Package ecosystem type identifier based on the PURL specification
|
|
@@ -4174,7 +4178,7 @@ export interface components {
|
|
|
4174
4178
|
* @description Indicates if this patch is deprecated and should not be used
|
|
4175
4179
|
* @default false
|
|
4176
4180
|
*/
|
|
4177
|
-
deprecated?: boolean
|
|
4181
|
+
deprecated?: boolean | undefined
|
|
4178
4182
|
}
|
|
4179
4183
|
ReachabilityResult: {
|
|
4180
4184
|
/**
|
|
@@ -4213,40 +4217,44 @@ export interface components {
|
|
|
4213
4217
|
* @description Indicates if the reachability analysis was stopped early due to depth or complexity limits
|
|
4214
4218
|
* @default false
|
|
4215
4219
|
*/
|
|
4216
|
-
truncated?: boolean
|
|
4220
|
+
truncated?: boolean | undefined
|
|
4217
4221
|
/**
|
|
4218
4222
|
* @description Error message if reachability analysis failed
|
|
4219
4223
|
* @default
|
|
4220
4224
|
*/
|
|
4221
|
-
error?: string
|
|
4225
|
+
error?: string | undefined
|
|
4222
4226
|
matches?:
|
|
4223
4227
|
| {
|
|
4224
4228
|
/** @enum {string} */
|
|
4225
|
-
type?: 'function-level'
|
|
4226
|
-
value?:
|
|
4229
|
+
type?: 'function-level' | undefined
|
|
4230
|
+
value?:
|
|
4231
|
+
| Array<Array<components['schemas']['CallStackItem']>>
|
|
4232
|
+
| undefined
|
|
4227
4233
|
}
|
|
4228
4234
|
| {
|
|
4229
4235
|
/** @enum {string} */
|
|
4230
|
-
type?: 'class-level'
|
|
4231
|
-
value?:
|
|
4236
|
+
type?: 'class-level' | undefined
|
|
4237
|
+
value?:
|
|
4238
|
+
| Array<Array<components['schemas']['ClassStackItem']>>
|
|
4239
|
+
| undefined
|
|
4232
4240
|
}
|
|
4233
4241
|
/**
|
|
4234
4242
|
* @description Path to the workspace root for multi-workspace projects
|
|
4235
4243
|
* @default
|
|
4236
4244
|
*/
|
|
4237
|
-
workspacePath?: string
|
|
4245
|
+
workspacePath?: string | undefined
|
|
4238
4246
|
/**
|
|
4239
4247
|
* @description Path to the subproject within the workspace
|
|
4240
4248
|
* @default
|
|
4241
4249
|
*/
|
|
4242
|
-
subprojectPath?: string
|
|
4250
|
+
subprojectPath?: string | undefined
|
|
4243
4251
|
}
|
|
4244
4252
|
SocketRefList: Array<components['schemas']['SocketRef']>
|
|
4245
4253
|
SocketRefFile: {
|
|
4246
4254
|
/** @default */
|
|
4247
4255
|
path: string
|
|
4248
|
-
range?: components['schemas']['SocketRefTextRange']
|
|
4249
|
-
bytes?: components['schemas']['SocketRefByteRange']
|
|
4256
|
+
range?: components['schemas']['SocketRefTextRange'] | undefined
|
|
4257
|
+
bytes?: components['schemas']['SocketRefByteRange'] | undefined
|
|
4250
4258
|
}
|
|
4251
4259
|
/**
|
|
4252
4260
|
* @description Status of reachability analysis for vulnerable code paths
|
|
@@ -4268,61 +4276,61 @@ export interface components {
|
|
|
4268
4276
|
* @description Package URL (PURL) of the dependency containing this code
|
|
4269
4277
|
* @default
|
|
4270
4278
|
*/
|
|
4271
|
-
purl?: string
|
|
4272
|
-
sourceLocation?: components['schemas']['SourceLocation']
|
|
4279
|
+
purl?: string | undefined
|
|
4280
|
+
sourceLocation?: components['schemas']['SourceLocation'] | undefined
|
|
4273
4281
|
/**
|
|
4274
4282
|
* @description Confidence score from 0.0 to 1.0 indicating how certain the reachability analysis is about this result
|
|
4275
4283
|
* @default 0
|
|
4276
4284
|
*/
|
|
4277
|
-
confidence?: number
|
|
4285
|
+
confidence?: number | undefined
|
|
4278
4286
|
}
|
|
4279
4287
|
ClassStackItem: {
|
|
4280
4288
|
/**
|
|
4281
4289
|
* @description Package URL (PURL) of the dependency containing this class
|
|
4282
4290
|
* @default
|
|
4283
4291
|
*/
|
|
4284
|
-
purl?: string
|
|
4292
|
+
purl?: string | undefined
|
|
4285
4293
|
/**
|
|
4286
4294
|
* @description Name of the class in the dependency
|
|
4287
4295
|
* @default
|
|
4288
4296
|
*/
|
|
4289
|
-
class?: string
|
|
4297
|
+
class?: string | undefined
|
|
4290
4298
|
/**
|
|
4291
4299
|
* @description Confidence score from 0.0 to 1.0 indicating how certain the reachability analysis is about this result
|
|
4292
4300
|
* @default 0
|
|
4293
4301
|
*/
|
|
4294
|
-
confidence?: number
|
|
4302
|
+
confidence?: number | undefined
|
|
4295
4303
|
}
|
|
4296
4304
|
SocketRef:
|
|
4297
4305
|
| {
|
|
4298
4306
|
/** @enum {string} */
|
|
4299
|
-
type?: 'unknown'
|
|
4300
|
-
value?: Record<string, never>
|
|
4307
|
+
type?: 'unknown' | undefined
|
|
4308
|
+
value?: Record<string, never> | undefined
|
|
4301
4309
|
}
|
|
4302
4310
|
| {
|
|
4303
4311
|
/** @enum {string} */
|
|
4304
|
-
type?: 'npm'
|
|
4305
|
-
value?: components['schemas']['SocketRefNPM']
|
|
4312
|
+
type?: 'npm' | undefined
|
|
4313
|
+
value?: components['schemas']['SocketRefNPM'] | undefined
|
|
4306
4314
|
}
|
|
4307
4315
|
| {
|
|
4308
4316
|
/** @enum {string} */
|
|
4309
|
-
type?: 'git'
|
|
4310
|
-
value?: components['schemas']['SocketRefGit']
|
|
4317
|
+
type?: 'git' | undefined
|
|
4318
|
+
value?: components['schemas']['SocketRefGit'] | undefined
|
|
4311
4319
|
}
|
|
4312
4320
|
| {
|
|
4313
4321
|
/** @enum {string} */
|
|
4314
|
-
type?: 'web'
|
|
4315
|
-
value?: components['schemas']['SocketRefWeb']
|
|
4322
|
+
type?: 'web' | undefined
|
|
4323
|
+
value?: components['schemas']['SocketRefWeb'] | undefined
|
|
4316
4324
|
}
|
|
4317
4325
|
| {
|
|
4318
4326
|
/** @enum {string} */
|
|
4319
|
-
type?: 'pypi'
|
|
4320
|
-
value?: components['schemas']['SocketRefPyPI']
|
|
4327
|
+
type?: 'pypi' | undefined
|
|
4328
|
+
value?: components['schemas']['SocketRefPyPI'] | undefined
|
|
4321
4329
|
}
|
|
4322
4330
|
| {
|
|
4323
4331
|
/** @enum {string} */
|
|
4324
|
-
type?: 'go'
|
|
4325
|
-
value?: components['schemas']['SocketRefGo']
|
|
4332
|
+
type?: 'go' | undefined
|
|
4333
|
+
value?: components['schemas']['SocketRefGo'] | undefined
|
|
4326
4334
|
}
|
|
4327
4335
|
SocketRefTextRange: {
|
|
4328
4336
|
/** @default 0 */
|
|
@@ -4363,17 +4371,17 @@ export interface components {
|
|
|
4363
4371
|
* @description Line number in the source file
|
|
4364
4372
|
* @default 0
|
|
4365
4373
|
*/
|
|
4366
|
-
line?: number
|
|
4374
|
+
line?: number | undefined
|
|
4367
4375
|
/**
|
|
4368
4376
|
* @description Column number in the source file
|
|
4369
4377
|
* @default 0
|
|
4370
4378
|
*/
|
|
4371
|
-
column?: number
|
|
4379
|
+
column?: number | undefined
|
|
4372
4380
|
/**
|
|
4373
4381
|
* @description Absolute byte position from the beginning of the file, used for precise location tracking
|
|
4374
4382
|
* @default 0
|
|
4375
4383
|
*/
|
|
4376
|
-
byteOffset?: number
|
|
4384
|
+
byteOffset?: number | undefined
|
|
4377
4385
|
}
|
|
4378
4386
|
/**
|
|
4379
4387
|
* @description Path to the source file
|
|
@@ -4390,38 +4398,38 @@ export interface components {
|
|
|
4390
4398
|
/** @default */
|
|
4391
4399
|
package: string
|
|
4392
4400
|
/** @default */
|
|
4393
|
-
version?: string
|
|
4394
|
-
file?: components['schemas']['SocketRefFile']
|
|
4401
|
+
version?: string | undefined
|
|
4402
|
+
file?: components['schemas']['SocketRefFile'] | undefined
|
|
4395
4403
|
}
|
|
4396
4404
|
SocketRefGit: {
|
|
4397
4405
|
/** @default */
|
|
4398
4406
|
url: string
|
|
4399
4407
|
/** @default */
|
|
4400
|
-
commit?: string
|
|
4408
|
+
commit?: string | undefined
|
|
4401
4409
|
/** @default */
|
|
4402
|
-
tag?: string
|
|
4403
|
-
file?: components['schemas']['SocketRefFile']
|
|
4410
|
+
tag?: string | undefined
|
|
4411
|
+
file?: components['schemas']['SocketRefFile'] | undefined
|
|
4404
4412
|
}
|
|
4405
4413
|
SocketRefWeb: {
|
|
4406
4414
|
/** @default */
|
|
4407
4415
|
url: string
|
|
4408
|
-
file?: components['schemas']['SocketRefFile']
|
|
4416
|
+
file?: components['schemas']['SocketRefFile'] | undefined
|
|
4409
4417
|
}
|
|
4410
4418
|
SocketRefPyPI: {
|
|
4411
4419
|
/** @default */
|
|
4412
4420
|
package: string
|
|
4413
4421
|
/** @default */
|
|
4414
|
-
version?: string
|
|
4422
|
+
version?: string | undefined
|
|
4415
4423
|
/** @default */
|
|
4416
|
-
artifact?: string
|
|
4417
|
-
file?: components['schemas']['SocketRefFile']
|
|
4424
|
+
artifact?: string | undefined
|
|
4425
|
+
file?: components['schemas']['SocketRefFile'] | undefined
|
|
4418
4426
|
}
|
|
4419
4427
|
SocketRefGo: {
|
|
4420
4428
|
/** @default */
|
|
4421
4429
|
package: string
|
|
4422
4430
|
/** @default */
|
|
4423
|
-
version?: string
|
|
4424
|
-
file?: components['schemas']['SocketRefFile']
|
|
4431
|
+
version?: string | undefined
|
|
4432
|
+
file?: components['schemas']['SocketRefFile'] | undefined
|
|
4425
4433
|
}
|
|
4426
4434
|
}
|
|
4427
4435
|
responses: {
|
|
@@ -4616,19 +4624,19 @@ export interface operations {
|
|
|
4616
4624
|
parameters: {
|
|
4617
4625
|
query?: {
|
|
4618
4626
|
/** @description Include alert metadata. */
|
|
4619
|
-
alerts?: boolean
|
|
4627
|
+
alerts?: boolean | undefined
|
|
4620
4628
|
/** @description Include only alerts with comma separated actions defined by security policy. */
|
|
4621
|
-
actions?: Array<'error' | 'monitor' | 'warn' | 'ignore'>
|
|
4629
|
+
actions?: Array<'error' | 'monitor' | 'warn' | 'ignore'> | undefined
|
|
4622
4630
|
/** @description Compact metadata. */
|
|
4623
|
-
compact?: boolean
|
|
4631
|
+
compact?: boolean | undefined
|
|
4624
4632
|
/** @description Include only fixable alerts. */
|
|
4625
|
-
fixable?: boolean
|
|
4633
|
+
fixable?: boolean | undefined
|
|
4626
4634
|
/** @description Include license attribution data, including license text and author information. Maps attribution/license text to a list of data objects to which that attribution info applies. */
|
|
4627
|
-
licenseattrib?: boolean
|
|
4635
|
+
licenseattrib?: boolean | undefined
|
|
4628
4636
|
/** @description Include detailed license information, including location and match strength, for each license datum. */
|
|
4629
|
-
licensedetails?: boolean
|
|
4637
|
+
licensedetails?: boolean | undefined
|
|
4630
4638
|
/** @description Return errors found with handling PURLs as error objects in the stream. */
|
|
4631
|
-
purlErrors?: boolean
|
|
4639
|
+
purlErrors?: boolean | undefined
|
|
4632
4640
|
}
|
|
4633
4641
|
}
|
|
4634
4642
|
requestBody?: {
|
|
@@ -4667,7 +4675,7 @@ export interface operations {
|
|
|
4667
4675
|
limit: number
|
|
4668
4676
|
/** @default 0 */
|
|
4669
4677
|
offset: number
|
|
4670
|
-
purls?: string[]
|
|
4678
|
+
purls?: string[] | undefined
|
|
4671
4679
|
}
|
|
4672
4680
|
}
|
|
4673
4681
|
}
|
|
@@ -4700,11 +4708,11 @@ export interface operations {
|
|
|
4700
4708
|
/** @default */
|
|
4701
4709
|
type: string
|
|
4702
4710
|
/** @default */
|
|
4703
|
-
namespace?: string
|
|
4711
|
+
namespace?: string | undefined
|
|
4704
4712
|
/** @default */
|
|
4705
|
-
version?: string
|
|
4713
|
+
version?: string | undefined
|
|
4706
4714
|
/** @default */
|
|
4707
|
-
release?: string
|
|
4715
|
+
release?: string | undefined
|
|
4708
4716
|
}>
|
|
4709
4717
|
}
|
|
4710
4718
|
}
|
|
@@ -4736,17 +4744,17 @@ export interface operations {
|
|
|
4736
4744
|
createDependenciesSnapshot: {
|
|
4737
4745
|
parameters: {
|
|
4738
4746
|
query?: {
|
|
4739
|
-
repository?: string
|
|
4740
|
-
branch?: string
|
|
4747
|
+
repository?: string | undefined
|
|
4748
|
+
branch?: string | undefined
|
|
4741
4749
|
}
|
|
4742
4750
|
}
|
|
4743
4751
|
requestBody?: {
|
|
4744
4752
|
content: {
|
|
4745
4753
|
'multipart/form-data': {
|
|
4746
4754
|
/** @default */
|
|
4747
|
-
repository?: string
|
|
4755
|
+
repository?: string | undefined
|
|
4748
4756
|
/** @default */
|
|
4749
|
-
branch?: string
|
|
4757
|
+
branch?: string | undefined
|
|
4750
4758
|
[key: string]: undefined
|
|
4751
4759
|
}
|
|
4752
4760
|
}
|
|
@@ -4778,23 +4786,23 @@ export interface operations {
|
|
|
4778
4786
|
parameters: {
|
|
4779
4787
|
query?: {
|
|
4780
4788
|
/** @description Specify Sort order. */
|
|
4781
|
-
sort?: 'name' | 'created_at'
|
|
4789
|
+
sort?: 'name' | 'created_at' | undefined
|
|
4782
4790
|
/** @description Specify sort direction. */
|
|
4783
|
-
direction?: 'asc' | 'desc'
|
|
4791
|
+
direction?: 'asc' | 'desc' | undefined
|
|
4784
4792
|
/** @description Specify the maximum number of results to return per page. */
|
|
4785
|
-
per_page?: number
|
|
4793
|
+
per_page?: number | undefined
|
|
4786
4794
|
/** @description The token specifying which page to return. */
|
|
4787
|
-
page?: number
|
|
4795
|
+
page?: number | undefined
|
|
4788
4796
|
/** @description A Unix timestamp in seconds that filters full-scans prior to the date. */
|
|
4789
|
-
from?: string
|
|
4797
|
+
from?: string | undefined
|
|
4790
4798
|
/** @description A repository slug to filter full-scans by. */
|
|
4791
|
-
repo?: string
|
|
4799
|
+
repo?: string | undefined
|
|
4792
4800
|
/** @description A branch name to filter full-scans by. */
|
|
4793
|
-
branch?: string
|
|
4801
|
+
branch?: string | undefined
|
|
4794
4802
|
/** @description A PR number to filter full-scans by. */
|
|
4795
|
-
pull_request?: string
|
|
4803
|
+
pull_request?: string | undefined
|
|
4796
4804
|
/** @description A commit hash to filter full-scans by. */
|
|
4797
|
-
commit_hash?: string
|
|
4805
|
+
commit_hash?: string | undefined
|
|
4798
4806
|
}
|
|
4799
4807
|
path: {
|
|
4800
4808
|
/** @description The slug of the organization */
|
|
@@ -4808,52 +4816,58 @@ export interface operations {
|
|
|
4808
4816
|
'application/json': {
|
|
4809
4817
|
results: Array<{
|
|
4810
4818
|
/** @default */
|
|
4811
|
-
id?: string
|
|
4819
|
+
id?: string | undefined
|
|
4812
4820
|
/** @default */
|
|
4813
|
-
created_at?: string
|
|
4821
|
+
created_at?: string | undefined
|
|
4814
4822
|
/** @default */
|
|
4815
|
-
updated_at?: string
|
|
4823
|
+
updated_at?: string | undefined
|
|
4816
4824
|
/** @default */
|
|
4817
|
-
organization_id?: string
|
|
4825
|
+
organization_id?: string | undefined
|
|
4818
4826
|
/** @default */
|
|
4819
|
-
organization_slug?: string
|
|
4827
|
+
organization_slug?: string | undefined
|
|
4820
4828
|
/** @default */
|
|
4821
|
-
repository_id?: string
|
|
4829
|
+
repository_id?: string | undefined
|
|
4822
4830
|
/** @default */
|
|
4823
|
-
repository_slug?: string
|
|
4831
|
+
repository_slug?: string | undefined
|
|
4824
4832
|
/** @default */
|
|
4825
|
-
branch?: string | null
|
|
4833
|
+
branch?: string | null | undefined
|
|
4826
4834
|
/** @default */
|
|
4827
|
-
commit_message?: string | null
|
|
4835
|
+
commit_message?: string | null | undefined
|
|
4828
4836
|
/** @default */
|
|
4829
|
-
commit_hash?: string | null
|
|
4837
|
+
commit_hash?: string | null | undefined
|
|
4830
4838
|
/** @default 0 */
|
|
4831
|
-
pull_request?: number | null
|
|
4832
|
-
committers?: string[]
|
|
4839
|
+
pull_request?: number | null | undefined
|
|
4840
|
+
committers?: string[] | undefined
|
|
4833
4841
|
/** @default */
|
|
4834
|
-
html_url?: string | null
|
|
4842
|
+
html_url?: string | null | undefined
|
|
4835
4843
|
/** @default */
|
|
4836
|
-
api_url?: string | null
|
|
4844
|
+
api_url?: string | null | undefined
|
|
4837
4845
|
/** @default */
|
|
4838
|
-
repo?: string
|
|
4846
|
+
repo?: string | undefined
|
|
4839
4847
|
/** @default */
|
|
4840
|
-
html_report_url?: string
|
|
4848
|
+
html_report_url?: string | undefined
|
|
4841
4849
|
/** @default */
|
|
4842
|
-
integration_type?: string | null
|
|
4850
|
+
integration_type?: string | null | undefined
|
|
4843
4851
|
/** @default */
|
|
4844
|
-
integration_repo_url?: string
|
|
4852
|
+
integration_repo_url?: string | undefined
|
|
4845
4853
|
/** @default */
|
|
4846
|
-
integration_branch_url?: string | null
|
|
4854
|
+
integration_branch_url?: string | null | undefined
|
|
4847
4855
|
/** @default */
|
|
4848
|
-
integration_commit_url?: string | null
|
|
4856
|
+
integration_commit_url?: string | null | undefined
|
|
4849
4857
|
/** @default */
|
|
4850
|
-
integration_pull_request_url?: string | null
|
|
4858
|
+
integration_pull_request_url?: string | null | undefined
|
|
4851
4859
|
/**
|
|
4852
4860
|
* @description The current processing status of the SBOM
|
|
4853
4861
|
* @default pending
|
|
4854
4862
|
* @enum {string|null}
|
|
4855
4863
|
*/
|
|
4856
|
-
scan_state?:
|
|
4864
|
+
scan_state?:
|
|
4865
|
+
| 'pending'
|
|
4866
|
+
| 'precrawl'
|
|
4867
|
+
| 'resolve'
|
|
4868
|
+
| 'scan'
|
|
4869
|
+
| null
|
|
4870
|
+
| undefined
|
|
4857
4871
|
}>
|
|
4858
4872
|
/** @default 0 */
|
|
4859
4873
|
nextPage: number | null
|
|
@@ -4886,25 +4900,31 @@ export interface operations {
|
|
|
4886
4900
|
/** @description The slug of the repository to associate the full-scan with. */
|
|
4887
4901
|
repo: string
|
|
4888
4902
|
/** @description The branch name to associate the full-scan with. Branch names must follow Git branch name rules: be 1–255 characters long; cannot be exactly @; cannot begin or end with /, ., or .lock; cannot contain "//", "..", or "@{"; and cannot include control characters, spaces, or any of ~^:?*[. */
|
|
4889
|
-
branch?: string
|
|
4903
|
+
branch?: string | undefined
|
|
4890
4904
|
/** @description The commit message to associate the full-scan with. */
|
|
4891
|
-
commit_message?: string
|
|
4905
|
+
commit_message?: string | undefined
|
|
4892
4906
|
/** @description The commit hash to associate the full-scan with. */
|
|
4893
|
-
commit_hash?: string
|
|
4907
|
+
commit_hash?: string | undefined
|
|
4894
4908
|
/** @description The pull request number to associate the full-scan with. */
|
|
4895
|
-
pull_request?: number
|
|
4909
|
+
pull_request?: number | undefined
|
|
4896
4910
|
/** @description The committers to associate the full-scan with. Set query more than once to set multiple. */
|
|
4897
|
-
committers?: string
|
|
4911
|
+
committers?: string | undefined
|
|
4898
4912
|
/** @description The integration type to associate the full-scan with. Defaults to "Api" if omitted. */
|
|
4899
|
-
integration_type?:
|
|
4913
|
+
integration_type?:
|
|
4914
|
+
| 'api'
|
|
4915
|
+
| 'github'
|
|
4916
|
+
| 'gitlab'
|
|
4917
|
+
| 'bitbucket'
|
|
4918
|
+
| 'azure'
|
|
4919
|
+
| undefined
|
|
4900
4920
|
/** @description The integration org slug to associate the full-scan with. If omitted, the Socket org name will be used. This is used to generate links and badges. */
|
|
4901
|
-
integration_org_slug?: string
|
|
4921
|
+
integration_org_slug?: string | undefined
|
|
4902
4922
|
/** @description Set the default branch of the repository to the branch of this full-scan. A branch name is required with this option. */
|
|
4903
|
-
make_default_branch?: boolean
|
|
4923
|
+
make_default_branch?: boolean | undefined
|
|
4904
4924
|
/** @description Designate this full-scan as the latest scan of a given branch. Default branch head scans are included in org alerts. This is only supported on the default branch. A branch name is required with this option. */
|
|
4905
|
-
set_as_pending_head?: boolean
|
|
4925
|
+
set_as_pending_head?: boolean | undefined
|
|
4906
4926
|
/** @description Create a temporary full-scan that is not listed in the reports dashboard. Cannot be used when set_as_pending_head=true. */
|
|
4907
|
-
tmp?: boolean
|
|
4927
|
+
tmp?: boolean | undefined
|
|
4908
4928
|
}
|
|
4909
4929
|
path: {
|
|
4910
4930
|
/** @description The slug of the organization */
|
|
@@ -4924,53 +4944,59 @@ export interface operations {
|
|
|
4924
4944
|
content: {
|
|
4925
4945
|
'application/json': {
|
|
4926
4946
|
/** @default */
|
|
4927
|
-
id?: string
|
|
4947
|
+
id?: string | undefined
|
|
4928
4948
|
/** @default */
|
|
4929
|
-
created_at?: string
|
|
4949
|
+
created_at?: string | undefined
|
|
4930
4950
|
/** @default */
|
|
4931
|
-
updated_at?: string
|
|
4951
|
+
updated_at?: string | undefined
|
|
4932
4952
|
/** @default */
|
|
4933
|
-
organization_id?: string
|
|
4953
|
+
organization_id?: string | undefined
|
|
4934
4954
|
/** @default */
|
|
4935
|
-
organization_slug?: string
|
|
4955
|
+
organization_slug?: string | undefined
|
|
4936
4956
|
/** @default */
|
|
4937
|
-
repository_id?: string
|
|
4957
|
+
repository_id?: string | undefined
|
|
4938
4958
|
/** @default */
|
|
4939
|
-
repository_slug?: string
|
|
4959
|
+
repository_slug?: string | undefined
|
|
4940
4960
|
/** @default */
|
|
4941
|
-
branch?: string | null
|
|
4961
|
+
branch?: string | null | undefined
|
|
4942
4962
|
/** @default */
|
|
4943
|
-
commit_message?: string | null
|
|
4963
|
+
commit_message?: string | null | undefined
|
|
4944
4964
|
/** @default */
|
|
4945
|
-
commit_hash?: string | null
|
|
4965
|
+
commit_hash?: string | null | undefined
|
|
4946
4966
|
/** @default 0 */
|
|
4947
|
-
pull_request?: number | null
|
|
4948
|
-
committers?: string[]
|
|
4967
|
+
pull_request?: number | null | undefined
|
|
4968
|
+
committers?: string[] | undefined
|
|
4949
4969
|
/** @default */
|
|
4950
|
-
html_url?: string | null
|
|
4970
|
+
html_url?: string | null | undefined
|
|
4951
4971
|
/** @default */
|
|
4952
|
-
api_url?: string | null
|
|
4972
|
+
api_url?: string | null | undefined
|
|
4953
4973
|
/** @default */
|
|
4954
|
-
repo?: string
|
|
4974
|
+
repo?: string | undefined
|
|
4955
4975
|
/** @default */
|
|
4956
|
-
html_report_url?: string
|
|
4976
|
+
html_report_url?: string | undefined
|
|
4957
4977
|
/** @default */
|
|
4958
|
-
integration_type?: string | null
|
|
4978
|
+
integration_type?: string | null | undefined
|
|
4959
4979
|
/** @default */
|
|
4960
|
-
integration_repo_url?: string
|
|
4980
|
+
integration_repo_url?: string | undefined
|
|
4961
4981
|
/** @default */
|
|
4962
|
-
integration_branch_url?: string | null
|
|
4982
|
+
integration_branch_url?: string | null | undefined
|
|
4963
4983
|
/** @default */
|
|
4964
|
-
integration_commit_url?: string | null
|
|
4984
|
+
integration_commit_url?: string | null | undefined
|
|
4965
4985
|
/** @default */
|
|
4966
|
-
integration_pull_request_url?: string | null
|
|
4986
|
+
integration_pull_request_url?: string | null | undefined
|
|
4967
4987
|
/**
|
|
4968
4988
|
* @description The current processing status of the SBOM
|
|
4969
4989
|
* @default pending
|
|
4970
4990
|
* @enum {string|null}
|
|
4971
4991
|
*/
|
|
4972
|
-
scan_state?:
|
|
4973
|
-
|
|
4992
|
+
scan_state?:
|
|
4993
|
+
| 'pending'
|
|
4994
|
+
| 'precrawl'
|
|
4995
|
+
| 'resolve'
|
|
4996
|
+
| 'scan'
|
|
4997
|
+
| null
|
|
4998
|
+
| undefined
|
|
4999
|
+
unmatchedFiles?: string[] | undefined
|
|
4974
5000
|
}
|
|
4975
5001
|
}
|
|
4976
5002
|
}
|
|
@@ -5083,52 +5109,58 @@ export interface operations {
|
|
|
5083
5109
|
content: {
|
|
5084
5110
|
'application/json': {
|
|
5085
5111
|
/** @default */
|
|
5086
|
-
id?: string
|
|
5112
|
+
id?: string | undefined
|
|
5087
5113
|
/** @default */
|
|
5088
|
-
created_at?: string
|
|
5114
|
+
created_at?: string | undefined
|
|
5089
5115
|
/** @default */
|
|
5090
|
-
updated_at?: string
|
|
5116
|
+
updated_at?: string | undefined
|
|
5091
5117
|
/** @default */
|
|
5092
|
-
organization_id?: string
|
|
5118
|
+
organization_id?: string | undefined
|
|
5093
5119
|
/** @default */
|
|
5094
|
-
organization_slug?: string
|
|
5120
|
+
organization_slug?: string | undefined
|
|
5095
5121
|
/** @default */
|
|
5096
|
-
repository_id?: string
|
|
5122
|
+
repository_id?: string | undefined
|
|
5097
5123
|
/** @default */
|
|
5098
|
-
repository_slug?: string
|
|
5124
|
+
repository_slug?: string | undefined
|
|
5099
5125
|
/** @default */
|
|
5100
|
-
branch?: string | null
|
|
5126
|
+
branch?: string | null | undefined
|
|
5101
5127
|
/** @default */
|
|
5102
|
-
commit_message?: string | null
|
|
5128
|
+
commit_message?: string | null | undefined
|
|
5103
5129
|
/** @default */
|
|
5104
|
-
commit_hash?: string | null
|
|
5130
|
+
commit_hash?: string | null | undefined
|
|
5105
5131
|
/** @default 0 */
|
|
5106
|
-
pull_request?: number | null
|
|
5107
|
-
committers?: string[]
|
|
5132
|
+
pull_request?: number | null | undefined
|
|
5133
|
+
committers?: string[] | undefined
|
|
5108
5134
|
/** @default */
|
|
5109
|
-
html_url?: string | null
|
|
5135
|
+
html_url?: string | null | undefined
|
|
5110
5136
|
/** @default */
|
|
5111
|
-
api_url?: string | null
|
|
5137
|
+
api_url?: string | null | undefined
|
|
5112
5138
|
/** @default */
|
|
5113
|
-
repo?: string
|
|
5139
|
+
repo?: string | undefined
|
|
5114
5140
|
/** @default */
|
|
5115
|
-
html_report_url?: string
|
|
5141
|
+
html_report_url?: string | undefined
|
|
5116
5142
|
/** @default */
|
|
5117
|
-
integration_type?: string | null
|
|
5143
|
+
integration_type?: string | null | undefined
|
|
5118
5144
|
/** @default */
|
|
5119
|
-
integration_repo_url?: string
|
|
5145
|
+
integration_repo_url?: string | undefined
|
|
5120
5146
|
/** @default */
|
|
5121
|
-
integration_branch_url?: string | null
|
|
5147
|
+
integration_branch_url?: string | null | undefined
|
|
5122
5148
|
/** @default */
|
|
5123
|
-
integration_commit_url?: string | null
|
|
5149
|
+
integration_commit_url?: string | null | undefined
|
|
5124
5150
|
/** @default */
|
|
5125
|
-
integration_pull_request_url?: string | null
|
|
5151
|
+
integration_pull_request_url?: string | null | undefined
|
|
5126
5152
|
/**
|
|
5127
5153
|
* @description The current processing status of the SBOM
|
|
5128
5154
|
* @default pending
|
|
5129
5155
|
* @enum {string|null}
|
|
5130
5156
|
*/
|
|
5131
|
-
scan_state?:
|
|
5157
|
+
scan_state?:
|
|
5158
|
+
| 'pending'
|
|
5159
|
+
| 'precrawl'
|
|
5160
|
+
| 'resolve'
|
|
5161
|
+
| 'scan'
|
|
5162
|
+
| null
|
|
5163
|
+
| undefined
|
|
5132
5164
|
}
|
|
5133
5165
|
}
|
|
5134
5166
|
}
|
|
@@ -5159,9 +5191,9 @@ export interface operations {
|
|
|
5159
5191
|
/** @description The full scan ID of the head/changed side of the diff (newer) */
|
|
5160
5192
|
before: string
|
|
5161
5193
|
/** @description Include license details in the response. This can increase the response size significantly. */
|
|
5162
|
-
include_license_details?: boolean
|
|
5194
|
+
include_license_details?: boolean | undefined
|
|
5163
5195
|
/** @description Omit unchanged artifacts from the response. When set to true, the unchanged field will be set to null. */
|
|
5164
|
-
omit_unchanged?: boolean
|
|
5196
|
+
omit_unchanged?: boolean | undefined
|
|
5165
5197
|
}
|
|
5166
5198
|
path: {
|
|
5167
5199
|
/** @description The slug of the organization */
|
|
@@ -5392,17 +5424,17 @@ export interface operations {
|
|
|
5392
5424
|
* @description The person(s) who created the BOM.
|
|
5393
5425
|
* Set this value if you're intending the modify the BOM and claim authorship.
|
|
5394
5426
|
*/
|
|
5395
|
-
author?: string
|
|
5427
|
+
author?: string | undefined
|
|
5396
5428
|
/** @description Dependency track project group */
|
|
5397
|
-
project_group?: string
|
|
5429
|
+
project_group?: string | undefined
|
|
5398
5430
|
/** @description Dependency track project name. Default use the directory name */
|
|
5399
|
-
project_name?: string
|
|
5431
|
+
project_name?: string | undefined
|
|
5400
5432
|
/** @description Dependency track project version */
|
|
5401
|
-
project_version?: string
|
|
5433
|
+
project_version?: string | undefined
|
|
5402
5434
|
/** @description Dependency track project id. Either provide the id or the project name and version together */
|
|
5403
|
-
project_id?: string
|
|
5435
|
+
project_id?: string | undefined
|
|
5404
5436
|
/** @description Include vulnerability information in the SBOM. Also includes reachability/VEX if available */
|
|
5405
|
-
include_vulnerabilities?: string
|
|
5437
|
+
include_vulnerabilities?: string | undefined
|
|
5406
5438
|
}
|
|
5407
5439
|
path: {
|
|
5408
5440
|
/** @description The slug of the organization */
|
|
@@ -5454,17 +5486,17 @@ export interface operations {
|
|
|
5454
5486
|
* @description The person(s) who created the BOM.
|
|
5455
5487
|
* Set this value if you're intending the modify the BOM and claim authorship.
|
|
5456
5488
|
*/
|
|
5457
|
-
author?: string
|
|
5489
|
+
author?: string | undefined
|
|
5458
5490
|
/** @description Dependency track project group */
|
|
5459
|
-
project_group?: string
|
|
5491
|
+
project_group?: string | undefined
|
|
5460
5492
|
/** @description Dependency track project name. Default use the directory name */
|
|
5461
|
-
project_name?: string
|
|
5493
|
+
project_name?: string | undefined
|
|
5462
5494
|
/** @description Dependency track project version */
|
|
5463
|
-
project_version?: string
|
|
5495
|
+
project_version?: string | undefined
|
|
5464
5496
|
/** @description Dependency track project id. Either provide the id or the project name and version together */
|
|
5465
|
-
project_id?: string
|
|
5497
|
+
project_id?: string | undefined
|
|
5466
5498
|
/** @description Include vulnerability information in the SBOM. Also includes reachability/VEX if available */
|
|
5467
|
-
include_vulnerabilities?: string
|
|
5499
|
+
include_vulnerabilities?: string | undefined
|
|
5468
5500
|
}
|
|
5469
5501
|
path: {
|
|
5470
5502
|
/** @description The slug of the organization */
|
|
@@ -5499,19 +5531,19 @@ export interface operations {
|
|
|
5499
5531
|
parameters: {
|
|
5500
5532
|
query?: {
|
|
5501
5533
|
/** @description Specify sort field. */
|
|
5502
|
-
sort?: 'created_at' | 'updated_at'
|
|
5534
|
+
sort?: 'created_at' | 'updated_at' | undefined
|
|
5503
5535
|
/** @description Specify sort direction. */
|
|
5504
|
-
direction?: 'asc' | 'desc'
|
|
5536
|
+
direction?: 'asc' | 'desc' | undefined
|
|
5505
5537
|
/** @description Specify the maximum number of results to return per page. */
|
|
5506
|
-
per_page?: number
|
|
5538
|
+
per_page?: number | undefined
|
|
5507
5539
|
/** @description Cursor for pagination. Use the next_cursor or prev_cursor from previous responses. */
|
|
5508
|
-
cursor?: string
|
|
5540
|
+
cursor?: string | undefined
|
|
5509
5541
|
/** @description Filter by repository ID. */
|
|
5510
|
-
repository_id?: string
|
|
5542
|
+
repository_id?: string | undefined
|
|
5511
5543
|
/** @description Filter by before full scan ID. */
|
|
5512
|
-
before_full_scan_id?: string
|
|
5544
|
+
before_full_scan_id?: string | undefined
|
|
5513
5545
|
/** @description Filter by after full scan ID. */
|
|
5514
|
-
after_full_scan_id?: string
|
|
5546
|
+
after_full_scan_id?: string | undefined
|
|
5515
5547
|
}
|
|
5516
5548
|
path: {
|
|
5517
5549
|
/** @description The slug of the organization */
|
|
@@ -5576,9 +5608,9 @@ export interface operations {
|
|
|
5576
5608
|
parameters: {
|
|
5577
5609
|
query?: {
|
|
5578
5610
|
/** @description Omit license details in the response. This can reduce the size of the response significantly, but will not include license information for the artifacts. */
|
|
5579
|
-
omit_license_details?: boolean
|
|
5611
|
+
omit_license_details?: boolean | undefined
|
|
5580
5612
|
/** @description Omit unchanged artifacts from the response. When set to true, the unchanged field will be set to null. */
|
|
5581
|
-
omit_unchanged?: boolean
|
|
5613
|
+
omit_unchanged?: boolean | undefined
|
|
5582
5614
|
}
|
|
5583
5615
|
path: {
|
|
5584
5616
|
/** @description The slug of the organization */
|
|
@@ -5864,25 +5896,31 @@ export interface operations {
|
|
|
5864
5896
|
parameters: {
|
|
5865
5897
|
query?: {
|
|
5866
5898
|
/** @description A description of the diff scan. This will be used in the diff report and can be used to provide context for the changes made. */
|
|
5867
|
-
description?: string
|
|
5899
|
+
description?: string | undefined
|
|
5868
5900
|
/** @description An external URL to associate with the diff scan. This can be a link to a pull request, issue, or any other relevant resource. */
|
|
5869
|
-
external_href?: string
|
|
5901
|
+
external_href?: string | undefined
|
|
5870
5902
|
/** @description The branch name to associate the new full-scan with. Branch names must follow Git branch name rules: be 1–255 characters long; cannot be exactly @; cannot begin or end with /, ., or .lock; cannot contain "//", "..", or "@{"; and cannot include control characters, spaces, or any of ~^:?*[. */
|
|
5871
|
-
branch?: string
|
|
5903
|
+
branch?: string | undefined
|
|
5872
5904
|
/** @description The commit message to associate the new full-scan with. */
|
|
5873
|
-
commit_message?: string
|
|
5905
|
+
commit_message?: string | undefined
|
|
5874
5906
|
/** @description The commit hash to associate the full-scan with. */
|
|
5875
|
-
commit_hash?: string
|
|
5907
|
+
commit_hash?: string | undefined
|
|
5876
5908
|
/** @description The pull request number to associate the new full-scan with. */
|
|
5877
|
-
pull_request?: number
|
|
5909
|
+
pull_request?: number | undefined
|
|
5878
5910
|
/** @description The committers to associate the new full-scan with. Set query more than once to set multiple committers. */
|
|
5879
|
-
committers?: string
|
|
5911
|
+
committers?: string | undefined
|
|
5880
5912
|
/** @description The integration type to associate the new full-scan with. Defaults to "api" if omitted. */
|
|
5881
|
-
integration_type?:
|
|
5913
|
+
integration_type?:
|
|
5914
|
+
| 'api'
|
|
5915
|
+
| 'github'
|
|
5916
|
+
| 'gitlab'
|
|
5917
|
+
| 'bitbucket'
|
|
5918
|
+
| 'azure'
|
|
5919
|
+
| undefined
|
|
5882
5920
|
/** @description The integration org slug to associate the new full-scan with. If omitted, the Socket org name will be used. This is used to generate links and badges. */
|
|
5883
|
-
integration_org_slug?: string
|
|
5921
|
+
integration_org_slug?: string | undefined
|
|
5884
5922
|
/** @description Set to true when running a diff between a merged commit and its parent commit in the same branch. Set to false when running diffs in an open PR between unmerged commits. */
|
|
5885
|
-
merge?: boolean
|
|
5923
|
+
merge?: boolean | undefined
|
|
5886
5924
|
}
|
|
5887
5925
|
path: {
|
|
5888
5926
|
/** @description The slug of the organization */
|
|
@@ -6014,11 +6052,11 @@ export interface operations {
|
|
|
6014
6052
|
/** @description The ID of the after/head full scan (newer) */
|
|
6015
6053
|
after: string
|
|
6016
6054
|
/** @description A description of the diff scan. This will be used in the diff report and can be used to provide context for the changes made. */
|
|
6017
|
-
description?: string
|
|
6055
|
+
description?: string | undefined
|
|
6018
6056
|
/** @description An external URL to associate with the diff scan. This can be a link to a pull request, issue, or any other relevant resource. */
|
|
6019
|
-
external_href?: string
|
|
6057
|
+
external_href?: string | undefined
|
|
6020
6058
|
/** @description Set to true when running a diff between a merged commit and its parent commit in the same branch. Set to false when running diffs in an open PR between unmerged commits. */
|
|
6021
|
-
merge?: boolean
|
|
6059
|
+
merge?: boolean | undefined
|
|
6022
6060
|
}
|
|
6023
6061
|
path: {
|
|
6024
6062
|
/** @description The slug of the organization */
|
|
@@ -6132,10 +6170,10 @@ export interface operations {
|
|
|
6132
6170
|
getOrgTriage: {
|
|
6133
6171
|
parameters: {
|
|
6134
6172
|
query?: {
|
|
6135
|
-
sort?: string
|
|
6136
|
-
direction?: string
|
|
6137
|
-
per_page?: number
|
|
6138
|
-
page?: number
|
|
6173
|
+
sort?: string | undefined
|
|
6174
|
+
direction?: string | undefined
|
|
6175
|
+
per_page?: number | undefined
|
|
6176
|
+
page?: number | undefined
|
|
6139
6177
|
}
|
|
6140
6178
|
path: {
|
|
6141
6179
|
/** @description The slug of the organization */
|
|
@@ -6152,33 +6190,39 @@ export interface operations {
|
|
|
6152
6190
|
* @description The alert_key associated with the triage state
|
|
6153
6191
|
* @default
|
|
6154
6192
|
*/
|
|
6155
|
-
alert_key?: string
|
|
6193
|
+
alert_key?: string | undefined
|
|
6156
6194
|
/**
|
|
6157
6195
|
* @description The creation date of the triage action
|
|
6158
6196
|
* @default
|
|
6159
6197
|
*/
|
|
6160
|
-
created_at?: string
|
|
6198
|
+
created_at?: string | undefined
|
|
6161
6199
|
/**
|
|
6162
6200
|
* @description The last update date of the triage action
|
|
6163
6201
|
* @default
|
|
6164
6202
|
*/
|
|
6165
|
-
updated_at?: string
|
|
6203
|
+
updated_at?: string | undefined
|
|
6166
6204
|
/**
|
|
6167
6205
|
* @description The note associated with the triage action
|
|
6168
6206
|
* @default
|
|
6169
6207
|
*/
|
|
6170
|
-
note?: string
|
|
6208
|
+
note?: string | undefined
|
|
6171
6209
|
/**
|
|
6172
6210
|
* @description The organization id associated with the triage action
|
|
6173
6211
|
* @default
|
|
6174
6212
|
*/
|
|
6175
|
-
organization_id?: string
|
|
6213
|
+
organization_id?: string | undefined
|
|
6176
6214
|
/**
|
|
6177
6215
|
* @description The triage state of the alert
|
|
6178
6216
|
* @default inherit
|
|
6179
6217
|
* @enum {string}
|
|
6180
6218
|
*/
|
|
6181
|
-
state?:
|
|
6219
|
+
state?:
|
|
6220
|
+
| 'block'
|
|
6221
|
+
| 'ignore'
|
|
6222
|
+
| 'inherit'
|
|
6223
|
+
| 'monitor'
|
|
6224
|
+
| 'warn'
|
|
6225
|
+
| undefined
|
|
6182
6226
|
}>
|
|
6183
6227
|
/** @default 0 */
|
|
6184
6228
|
nextPage: number | null
|
|
@@ -6213,14 +6257,20 @@ export interface operations {
|
|
|
6213
6257
|
'application/json': {
|
|
6214
6258
|
alertTriage: Array<{
|
|
6215
6259
|
/** @default */
|
|
6216
|
-
alertKey?: string
|
|
6260
|
+
alertKey?: string | undefined
|
|
6217
6261
|
/** @default */
|
|
6218
|
-
note?: string
|
|
6262
|
+
note?: string | undefined
|
|
6219
6263
|
/**
|
|
6220
6264
|
* @description The triage state of the alert
|
|
6221
6265
|
* @enum {string}
|
|
6222
6266
|
*/
|
|
6223
|
-
state?:
|
|
6267
|
+
state?:
|
|
6268
|
+
| 'block'
|
|
6269
|
+
| 'ignore'
|
|
6270
|
+
| 'inherit'
|
|
6271
|
+
| 'monitor'
|
|
6272
|
+
| 'warn'
|
|
6273
|
+
| undefined
|
|
6224
6274
|
}>
|
|
6225
6275
|
}
|
|
6226
6276
|
}
|
|
@@ -6254,12 +6304,12 @@ export interface operations {
|
|
|
6254
6304
|
getOrgRepoList: {
|
|
6255
6305
|
parameters: {
|
|
6256
6306
|
query?: {
|
|
6257
|
-
sort?: string
|
|
6258
|
-
direction?: string
|
|
6259
|
-
per_page?: number
|
|
6260
|
-
page?: number
|
|
6307
|
+
sort?: string | undefined
|
|
6308
|
+
direction?: string | undefined
|
|
6309
|
+
per_page?: number | undefined
|
|
6310
|
+
page?: number | undefined
|
|
6261
6311
|
/** @description Include archived repositories in the results */
|
|
6262
|
-
include_archived?: boolean
|
|
6312
|
+
include_archived?: boolean | undefined
|
|
6263
6313
|
}
|
|
6264
6314
|
path: {
|
|
6265
6315
|
/** @description The slug of the organization */
|
|
@@ -6276,30 +6326,30 @@ export interface operations {
|
|
|
6276
6326
|
* @description The ID of the repository
|
|
6277
6327
|
* @default
|
|
6278
6328
|
*/
|
|
6279
|
-
id?: string
|
|
6329
|
+
id?: string | undefined
|
|
6280
6330
|
/**
|
|
6281
6331
|
* @description The creation date of the repository
|
|
6282
6332
|
* @default
|
|
6283
6333
|
*/
|
|
6284
|
-
created_at?: string
|
|
6334
|
+
created_at?: string | undefined
|
|
6285
6335
|
/**
|
|
6286
6336
|
* @description The last update date of the repository
|
|
6287
6337
|
* @default
|
|
6288
6338
|
*/
|
|
6289
|
-
updated_at?: string
|
|
6339
|
+
updated_at?: string | undefined
|
|
6290
6340
|
/**
|
|
6291
6341
|
* @description The slug of the repository
|
|
6292
6342
|
* @default
|
|
6293
6343
|
*/
|
|
6294
|
-
slug?: string
|
|
6344
|
+
slug?: string | undefined
|
|
6295
6345
|
/**
|
|
6296
6346
|
* @description The ID of the head full scan of the repository
|
|
6297
6347
|
* @default
|
|
6298
6348
|
*/
|
|
6299
|
-
head_full_scan_id?: string | null
|
|
6349
|
+
head_full_scan_id?: string | null | undefined
|
|
6300
6350
|
integration_meta?: {
|
|
6301
6351
|
/** @enum {string} */
|
|
6302
|
-
type?: 'github'
|
|
6352
|
+
type?: 'github' | undefined
|
|
6303
6353
|
value?: {
|
|
6304
6354
|
/**
|
|
6305
6355
|
* @description The GitHub installation_id of the active associated Socket GitHub App
|
|
@@ -6327,33 +6377,33 @@ export interface operations {
|
|
|
6327
6377
|
* @description The name of the repository
|
|
6328
6378
|
* @default
|
|
6329
6379
|
*/
|
|
6330
|
-
name?: string
|
|
6380
|
+
name?: string | undefined
|
|
6331
6381
|
/**
|
|
6332
6382
|
* @description The description of the repository
|
|
6333
6383
|
* @default
|
|
6334
6384
|
*/
|
|
6335
|
-
description?: string | null
|
|
6385
|
+
description?: string | null | undefined
|
|
6336
6386
|
/**
|
|
6337
6387
|
* @description The homepage URL of the repository
|
|
6338
6388
|
* @default
|
|
6339
6389
|
*/
|
|
6340
|
-
homepage?: string | null
|
|
6390
|
+
homepage?: string | null | undefined
|
|
6341
6391
|
/**
|
|
6342
6392
|
* @description The visibility of the repository
|
|
6343
6393
|
* @default private
|
|
6344
6394
|
* @enum {string}
|
|
6345
6395
|
*/
|
|
6346
|
-
visibility?: 'public' | 'private'
|
|
6396
|
+
visibility?: 'public' | 'private' | undefined
|
|
6347
6397
|
/**
|
|
6348
6398
|
* @description Whether the repository is archived or not
|
|
6349
6399
|
* @default false
|
|
6350
6400
|
*/
|
|
6351
|
-
archived?: boolean
|
|
6401
|
+
archived?: boolean | undefined
|
|
6352
6402
|
/**
|
|
6353
6403
|
* @description The default branch of the repository
|
|
6354
6404
|
* @default main
|
|
6355
6405
|
*/
|
|
6356
|
-
default_branch?: string | null
|
|
6406
|
+
default_branch?: string | null | undefined
|
|
6357
6407
|
}>
|
|
6358
6408
|
/** @default 0 */
|
|
6359
6409
|
nextPage: number | null
|
|
@@ -6392,33 +6442,33 @@ export interface operations {
|
|
|
6392
6442
|
* @description The name of the repository
|
|
6393
6443
|
* @default
|
|
6394
6444
|
*/
|
|
6395
|
-
name?: string
|
|
6445
|
+
name?: string | undefined
|
|
6396
6446
|
/**
|
|
6397
6447
|
* @description The description of the repository
|
|
6398
6448
|
* @default
|
|
6399
6449
|
*/
|
|
6400
|
-
description?: string | null
|
|
6450
|
+
description?: string | null | undefined
|
|
6401
6451
|
/**
|
|
6402
6452
|
* @description The homepage URL of the repository
|
|
6403
6453
|
* @default
|
|
6404
6454
|
*/
|
|
6405
|
-
homepage?: string | null
|
|
6455
|
+
homepage?: string | null | undefined
|
|
6406
6456
|
/**
|
|
6407
6457
|
* @description The visibility of the repository
|
|
6408
6458
|
* @default private
|
|
6409
6459
|
* @enum {string}
|
|
6410
6460
|
*/
|
|
6411
|
-
visibility?: 'public' | 'private'
|
|
6461
|
+
visibility?: 'public' | 'private' | undefined
|
|
6412
6462
|
/**
|
|
6413
6463
|
* @description Whether the repository is archived or not
|
|
6414
6464
|
* @default false
|
|
6415
6465
|
*/
|
|
6416
|
-
archived?: boolean
|
|
6466
|
+
archived?: boolean | undefined
|
|
6417
6467
|
/**
|
|
6418
6468
|
* @description The default branch of the repository
|
|
6419
6469
|
* @default main
|
|
6420
6470
|
*/
|
|
6421
|
-
default_branch?: string | null
|
|
6471
|
+
default_branch?: string | null | undefined
|
|
6422
6472
|
}
|
|
6423
6473
|
}
|
|
6424
6474
|
}
|
|
@@ -6431,30 +6481,30 @@ export interface operations {
|
|
|
6431
6481
|
* @description The ID of the repository
|
|
6432
6482
|
* @default
|
|
6433
6483
|
*/
|
|
6434
|
-
id?: string
|
|
6484
|
+
id?: string | undefined
|
|
6435
6485
|
/**
|
|
6436
6486
|
* @description The creation date of the repository
|
|
6437
6487
|
* @default
|
|
6438
6488
|
*/
|
|
6439
|
-
created_at?: string
|
|
6489
|
+
created_at?: string | undefined
|
|
6440
6490
|
/**
|
|
6441
6491
|
* @description The last update date of the repository
|
|
6442
6492
|
* @default
|
|
6443
6493
|
*/
|
|
6444
|
-
updated_at?: string
|
|
6494
|
+
updated_at?: string | undefined
|
|
6445
6495
|
/**
|
|
6446
6496
|
* @description The slug of the repository
|
|
6447
6497
|
* @default
|
|
6448
6498
|
*/
|
|
6449
|
-
slug?: string
|
|
6499
|
+
slug?: string | undefined
|
|
6450
6500
|
/**
|
|
6451
6501
|
* @description The ID of the head full scan of the repository
|
|
6452
6502
|
* @default
|
|
6453
6503
|
*/
|
|
6454
|
-
head_full_scan_id?: string | null
|
|
6504
|
+
head_full_scan_id?: string | null | undefined
|
|
6455
6505
|
integration_meta?: {
|
|
6456
6506
|
/** @enum {string} */
|
|
6457
|
-
type?: 'github'
|
|
6507
|
+
type?: 'github' | undefined
|
|
6458
6508
|
value?: {
|
|
6459
6509
|
/**
|
|
6460
6510
|
* @description The GitHub installation_id of the active associated Socket GitHub App
|
|
@@ -6482,33 +6532,33 @@ export interface operations {
|
|
|
6482
6532
|
* @description The name of the repository
|
|
6483
6533
|
* @default
|
|
6484
6534
|
*/
|
|
6485
|
-
name?: string
|
|
6535
|
+
name?: string | undefined
|
|
6486
6536
|
/**
|
|
6487
6537
|
* @description The description of the repository
|
|
6488
6538
|
* @default
|
|
6489
6539
|
*/
|
|
6490
|
-
description?: string | null
|
|
6540
|
+
description?: string | null | undefined
|
|
6491
6541
|
/**
|
|
6492
6542
|
* @description The homepage URL of the repository
|
|
6493
6543
|
* @default
|
|
6494
6544
|
*/
|
|
6495
|
-
homepage?: string | null
|
|
6545
|
+
homepage?: string | null | undefined
|
|
6496
6546
|
/**
|
|
6497
6547
|
* @description The visibility of the repository
|
|
6498
6548
|
* @default private
|
|
6499
6549
|
* @enum {string}
|
|
6500
6550
|
*/
|
|
6501
|
-
visibility?: 'public' | 'private'
|
|
6551
|
+
visibility?: 'public' | 'private' | undefined
|
|
6502
6552
|
/**
|
|
6503
6553
|
* @description Whether the repository is archived or not
|
|
6504
6554
|
* @default false
|
|
6505
6555
|
*/
|
|
6506
|
-
archived?: boolean
|
|
6556
|
+
archived?: boolean | undefined
|
|
6507
6557
|
/**
|
|
6508
6558
|
* @description The default branch of the repository
|
|
6509
6559
|
* @default main
|
|
6510
6560
|
*/
|
|
6511
|
-
default_branch?: string | null
|
|
6561
|
+
default_branch?: string | null | undefined
|
|
6512
6562
|
}
|
|
6513
6563
|
}
|
|
6514
6564
|
}
|
|
@@ -6569,7 +6619,7 @@ export interface operations {
|
|
|
6569
6619
|
head_full_scan_id: string | null
|
|
6570
6620
|
integration_meta: {
|
|
6571
6621
|
/** @enum {string} */
|
|
6572
|
-
type?: 'github'
|
|
6622
|
+
type?: 'github' | undefined
|
|
6573
6623
|
value?: {
|
|
6574
6624
|
/**
|
|
6575
6625
|
* @description The GitHub installation_id of the active associated Socket GitHub App
|
|
@@ -6664,33 +6714,33 @@ export interface operations {
|
|
|
6664
6714
|
* @description The name of the repository
|
|
6665
6715
|
* @default
|
|
6666
6716
|
*/
|
|
6667
|
-
name?: string
|
|
6717
|
+
name?: string | undefined
|
|
6668
6718
|
/**
|
|
6669
6719
|
* @description The description of the repository
|
|
6670
6720
|
* @default
|
|
6671
6721
|
*/
|
|
6672
|
-
description?: string | null
|
|
6722
|
+
description?: string | null | undefined
|
|
6673
6723
|
/**
|
|
6674
6724
|
* @description The homepage URL of the repository
|
|
6675
6725
|
* @default
|
|
6676
6726
|
*/
|
|
6677
|
-
homepage?: string | null
|
|
6727
|
+
homepage?: string | null | undefined
|
|
6678
6728
|
/**
|
|
6679
6729
|
* @description The visibility of the repository
|
|
6680
6730
|
* @default private
|
|
6681
6731
|
* @enum {string}
|
|
6682
6732
|
*/
|
|
6683
|
-
visibility?: 'public' | 'private'
|
|
6733
|
+
visibility?: 'public' | 'private' | undefined
|
|
6684
6734
|
/**
|
|
6685
6735
|
* @description Whether the repository is archived or not
|
|
6686
6736
|
* @default false
|
|
6687
6737
|
*/
|
|
6688
|
-
archived?: boolean
|
|
6738
|
+
archived?: boolean | undefined
|
|
6689
6739
|
/**
|
|
6690
6740
|
* @description The default branch of the repository
|
|
6691
6741
|
* @default main
|
|
6692
6742
|
*/
|
|
6693
|
-
default_branch?: string | null
|
|
6743
|
+
default_branch?: string | null | undefined
|
|
6694
6744
|
}
|
|
6695
6745
|
}
|
|
6696
6746
|
}
|
|
@@ -6703,30 +6753,30 @@ export interface operations {
|
|
|
6703
6753
|
* @description The ID of the repository
|
|
6704
6754
|
* @default
|
|
6705
6755
|
*/
|
|
6706
|
-
id?: string
|
|
6756
|
+
id?: string | undefined
|
|
6707
6757
|
/**
|
|
6708
6758
|
* @description The creation date of the repository
|
|
6709
6759
|
* @default
|
|
6710
6760
|
*/
|
|
6711
|
-
created_at?: string
|
|
6761
|
+
created_at?: string | undefined
|
|
6712
6762
|
/**
|
|
6713
6763
|
* @description The last update date of the repository
|
|
6714
6764
|
* @default
|
|
6715
6765
|
*/
|
|
6716
|
-
updated_at?: string
|
|
6766
|
+
updated_at?: string | undefined
|
|
6717
6767
|
/**
|
|
6718
6768
|
* @description The slug of the repository
|
|
6719
6769
|
* @default
|
|
6720
6770
|
*/
|
|
6721
|
-
slug?: string
|
|
6771
|
+
slug?: string | undefined
|
|
6722
6772
|
/**
|
|
6723
6773
|
* @description The ID of the head full scan of the repository
|
|
6724
6774
|
* @default
|
|
6725
6775
|
*/
|
|
6726
|
-
head_full_scan_id?: string | null
|
|
6776
|
+
head_full_scan_id?: string | null | undefined
|
|
6727
6777
|
integration_meta?: {
|
|
6728
6778
|
/** @enum {string} */
|
|
6729
|
-
type?: 'github'
|
|
6779
|
+
type?: 'github' | undefined
|
|
6730
6780
|
value?: {
|
|
6731
6781
|
/**
|
|
6732
6782
|
* @description The GitHub installation_id of the active associated Socket GitHub App
|
|
@@ -6754,33 +6804,33 @@ export interface operations {
|
|
|
6754
6804
|
* @description The name of the repository
|
|
6755
6805
|
* @default
|
|
6756
6806
|
*/
|
|
6757
|
-
name?: string
|
|
6807
|
+
name?: string | undefined
|
|
6758
6808
|
/**
|
|
6759
6809
|
* @description The description of the repository
|
|
6760
6810
|
* @default
|
|
6761
6811
|
*/
|
|
6762
|
-
description?: string | null
|
|
6812
|
+
description?: string | null | undefined
|
|
6763
6813
|
/**
|
|
6764
6814
|
* @description The homepage URL of the repository
|
|
6765
6815
|
* @default
|
|
6766
6816
|
*/
|
|
6767
|
-
homepage?: string | null
|
|
6817
|
+
homepage?: string | null | undefined
|
|
6768
6818
|
/**
|
|
6769
6819
|
* @description The visibility of the repository
|
|
6770
6820
|
* @default private
|
|
6771
6821
|
* @enum {string}
|
|
6772
6822
|
*/
|
|
6773
|
-
visibility?: 'public' | 'private'
|
|
6823
|
+
visibility?: 'public' | 'private' | undefined
|
|
6774
6824
|
/**
|
|
6775
6825
|
* @description Whether the repository is archived or not
|
|
6776
6826
|
* @default false
|
|
6777
6827
|
*/
|
|
6778
|
-
archived?: boolean
|
|
6828
|
+
archived?: boolean | undefined
|
|
6779
6829
|
/**
|
|
6780
6830
|
* @description The default branch of the repository
|
|
6781
6831
|
* @default main
|
|
6782
6832
|
*/
|
|
6783
|
-
default_branch?: string | null
|
|
6833
|
+
default_branch?: string | null | undefined
|
|
6784
6834
|
}
|
|
6785
6835
|
}
|
|
6786
6836
|
}
|
|
@@ -6853,7 +6903,7 @@ export interface operations {
|
|
|
6853
6903
|
* @description The ID of the repository to associate with the label
|
|
6854
6904
|
* @default
|
|
6855
6905
|
*/
|
|
6856
|
-
repository_id?: string
|
|
6906
|
+
repository_id?: string | undefined
|
|
6857
6907
|
}
|
|
6858
6908
|
}
|
|
6859
6909
|
}
|
|
@@ -6866,7 +6916,7 @@ export interface operations {
|
|
|
6866
6916
|
* @description Status of the operation
|
|
6867
6917
|
* @default
|
|
6868
6918
|
*/
|
|
6869
|
-
status?: string
|
|
6919
|
+
status?: string | undefined
|
|
6870
6920
|
}
|
|
6871
6921
|
}
|
|
6872
6922
|
}
|
|
@@ -6889,8 +6939,8 @@ export interface operations {
|
|
|
6889
6939
|
getOrgRepoLabelList: {
|
|
6890
6940
|
parameters: {
|
|
6891
6941
|
query?: {
|
|
6892
|
-
per_page?: number
|
|
6893
|
-
page?: number
|
|
6942
|
+
per_page?: number | undefined
|
|
6943
|
+
page?: number | undefined
|
|
6894
6944
|
}
|
|
6895
6945
|
path: {
|
|
6896
6946
|
/** @description The slug of the organization */
|
|
@@ -6907,24 +6957,24 @@ export interface operations {
|
|
|
6907
6957
|
* @description The ID of the label
|
|
6908
6958
|
* @default
|
|
6909
6959
|
*/
|
|
6910
|
-
id?: string
|
|
6960
|
+
id?: string | undefined
|
|
6911
6961
|
/**
|
|
6912
6962
|
* @description The name of the label
|
|
6913
6963
|
* @default
|
|
6914
6964
|
*/
|
|
6915
|
-
name?: string
|
|
6965
|
+
name?: string | undefined
|
|
6916
6966
|
/** @description The IDs of repositories this label is associated with */
|
|
6917
|
-
repository_ids?: string[]
|
|
6967
|
+
repository_ids?: string[] | undefined
|
|
6918
6968
|
/**
|
|
6919
6969
|
* @description Whether the label has a security policy
|
|
6920
6970
|
* @default false
|
|
6921
6971
|
*/
|
|
6922
|
-
has_security_policy?: boolean
|
|
6972
|
+
has_security_policy?: boolean | undefined
|
|
6923
6973
|
/**
|
|
6924
6974
|
* @description Whether the label has a license policy
|
|
6925
6975
|
* @default false
|
|
6926
6976
|
*/
|
|
6927
|
-
has_license_policy?: boolean
|
|
6977
|
+
has_license_policy?: boolean | undefined
|
|
6928
6978
|
}>
|
|
6929
6979
|
/** @default 0 */
|
|
6930
6980
|
nextPage: number | null
|
|
@@ -6976,24 +7026,24 @@ export interface operations {
|
|
|
6976
7026
|
* @description The ID of the label
|
|
6977
7027
|
* @default
|
|
6978
7028
|
*/
|
|
6979
|
-
id?: string
|
|
7029
|
+
id?: string | undefined
|
|
6980
7030
|
/**
|
|
6981
7031
|
* @description The name of the label
|
|
6982
7032
|
* @default
|
|
6983
7033
|
*/
|
|
6984
|
-
name?: string
|
|
7034
|
+
name?: string | undefined
|
|
6985
7035
|
/** @description The IDs of repositories this label is associated with */
|
|
6986
|
-
repository_ids?: string[]
|
|
7036
|
+
repository_ids?: string[] | undefined
|
|
6987
7037
|
/**
|
|
6988
7038
|
* @description Whether the label has a security policy
|
|
6989
7039
|
* @default false
|
|
6990
7040
|
*/
|
|
6991
|
-
has_security_policy?: boolean
|
|
7041
|
+
has_security_policy?: boolean | undefined
|
|
6992
7042
|
/**
|
|
6993
7043
|
* @description Whether the label has a license policy
|
|
6994
7044
|
* @default false
|
|
6995
7045
|
*/
|
|
6996
|
-
has_license_policy?: boolean
|
|
7046
|
+
has_license_policy?: boolean | undefined
|
|
6997
7047
|
}
|
|
6998
7048
|
}
|
|
6999
7049
|
}
|
|
@@ -7044,24 +7094,24 @@ export interface operations {
|
|
|
7044
7094
|
* @description The ID of the label
|
|
7045
7095
|
* @default
|
|
7046
7096
|
*/
|
|
7047
|
-
id?: string
|
|
7097
|
+
id?: string | undefined
|
|
7048
7098
|
/**
|
|
7049
7099
|
* @description The name of the label
|
|
7050
7100
|
* @default
|
|
7051
7101
|
*/
|
|
7052
|
-
name?: string
|
|
7102
|
+
name?: string | undefined
|
|
7053
7103
|
/** @description The IDs of repositories this label is associated with */
|
|
7054
|
-
repository_ids?: string[]
|
|
7104
|
+
repository_ids?: string[] | undefined
|
|
7055
7105
|
/**
|
|
7056
7106
|
* @description Whether the label has a security policy
|
|
7057
7107
|
* @default false
|
|
7058
7108
|
*/
|
|
7059
|
-
has_security_policy?: boolean
|
|
7109
|
+
has_security_policy?: boolean | undefined
|
|
7060
7110
|
/**
|
|
7061
7111
|
* @description Whether the label has a license policy
|
|
7062
7112
|
* @default false
|
|
7063
7113
|
*/
|
|
7064
|
-
has_license_policy?: boolean
|
|
7114
|
+
has_license_policy?: boolean | undefined
|
|
7065
7115
|
}
|
|
7066
7116
|
}
|
|
7067
7117
|
}
|
|
@@ -7112,24 +7162,24 @@ export interface operations {
|
|
|
7112
7162
|
* @description The ID of the label
|
|
7113
7163
|
* @default
|
|
7114
7164
|
*/
|
|
7115
|
-
id?: string
|
|
7165
|
+
id?: string | undefined
|
|
7116
7166
|
/**
|
|
7117
7167
|
* @description The name of the label
|
|
7118
7168
|
* @default
|
|
7119
7169
|
*/
|
|
7120
|
-
name?: string
|
|
7170
|
+
name?: string | undefined
|
|
7121
7171
|
/** @description The IDs of repositories this label is associated with */
|
|
7122
|
-
repository_ids?: string[]
|
|
7172
|
+
repository_ids?: string[] | undefined
|
|
7123
7173
|
/**
|
|
7124
7174
|
* @description Whether the label has a security policy
|
|
7125
7175
|
* @default false
|
|
7126
7176
|
*/
|
|
7127
|
-
has_security_policy?: boolean
|
|
7177
|
+
has_security_policy?: boolean | undefined
|
|
7128
7178
|
/**
|
|
7129
7179
|
* @description Whether the label has a license policy
|
|
7130
7180
|
* @default false
|
|
7131
7181
|
*/
|
|
7132
|
-
has_license_policy?: boolean
|
|
7182
|
+
has_license_policy?: boolean | undefined
|
|
7133
7183
|
}
|
|
7134
7184
|
}
|
|
7135
7185
|
}
|
|
@@ -8013,7 +8063,7 @@ export interface operations {
|
|
|
8013
8063
|
| 'high'
|
|
8014
8064
|
| null
|
|
8015
8065
|
/** @default null */
|
|
8016
|
-
licensePolicy?: Record<string, unknown> | null
|
|
8066
|
+
licensePolicy?: Record<string, unknown> | null | undefined
|
|
8017
8067
|
}
|
|
8018
8068
|
}
|
|
8019
8069
|
}
|
|
@@ -8836,8 +8886,15 @@ export interface operations {
|
|
|
8836
8886
|
* @default medium
|
|
8837
8887
|
* @enum {string}
|
|
8838
8888
|
*/
|
|
8839
|
-
issueRulesPolicyDefault?:
|
|
8840
|
-
|
|
8889
|
+
issueRulesPolicyDefault?:
|
|
8890
|
+
| 'default'
|
|
8891
|
+
| 'low'
|
|
8892
|
+
| 'medium'
|
|
8893
|
+
| 'high'
|
|
8894
|
+
| undefined
|
|
8895
|
+
licensePolicy?:
|
|
8896
|
+
| components['schemas']['LicenseAllowListRequest']
|
|
8897
|
+
| undefined
|
|
8841
8898
|
}
|
|
8842
8899
|
}
|
|
8843
8900
|
}
|
|
@@ -8931,7 +8988,7 @@ export interface operations {
|
|
|
8931
8988
|
* @description The ID of the repository to disassociate from the label
|
|
8932
8989
|
* @default
|
|
8933
8990
|
*/
|
|
8934
|
-
repository_id?: string
|
|
8991
|
+
repository_id?: string | undefined
|
|
8935
8992
|
}
|
|
8936
8993
|
}
|
|
8937
8994
|
}
|
|
@@ -8944,7 +9001,7 @@ export interface operations {
|
|
|
8944
9001
|
* @description Status of the operation
|
|
8945
9002
|
* @default
|
|
8946
9003
|
*/
|
|
8947
|
-
status?: string
|
|
9004
|
+
status?: string | undefined
|
|
8948
9005
|
}
|
|
8949
9006
|
}
|
|
8950
9007
|
}
|
|
@@ -9024,7 +9081,7 @@ export interface operations {
|
|
|
9024
9081
|
parameters: {
|
|
9025
9082
|
query?: {
|
|
9026
9083
|
/** @description Return only customized security policy rules. */
|
|
9027
|
-
custom_rules_only?: boolean
|
|
9084
|
+
custom_rules_only?: boolean | undefined
|
|
9028
9085
|
}
|
|
9029
9086
|
path: {
|
|
9030
9087
|
/** @description The slug of the organization */
|
|
@@ -9820,7 +9877,12 @@ export interface operations {
|
|
|
9820
9877
|
* @default default
|
|
9821
9878
|
* @enum {string}
|
|
9822
9879
|
*/
|
|
9823
|
-
securityPolicyDefault?:
|
|
9880
|
+
securityPolicyDefault?:
|
|
9881
|
+
| 'default'
|
|
9882
|
+
| 'low'
|
|
9883
|
+
| 'medium'
|
|
9884
|
+
| 'high'
|
|
9885
|
+
| undefined
|
|
9824
9886
|
}
|
|
9825
9887
|
}
|
|
9826
9888
|
}
|
|
@@ -9844,7 +9906,7 @@ export interface operations {
|
|
|
9844
9906
|
parameters: {
|
|
9845
9907
|
query?: {
|
|
9846
9908
|
/** @description Return only customized security policy rules in the response. */
|
|
9847
|
-
custom_rules_only?: boolean
|
|
9909
|
+
custom_rules_only?: boolean | undefined
|
|
9848
9910
|
}
|
|
9849
9911
|
path: {
|
|
9850
9912
|
/** @description The slug of the organization */
|
|
@@ -9858,7 +9920,7 @@ export interface operations {
|
|
|
9858
9920
|
* @description The default security policy for the organization
|
|
9859
9921
|
* @enum {string}
|
|
9860
9922
|
*/
|
|
9861
|
-
policyDefault?: 'default' | 'low' | 'medium' | 'high'
|
|
9923
|
+
policyDefault?: 'default' | 'low' | 'medium' | 'high' | undefined
|
|
9862
9924
|
policyRules?: {
|
|
9863
9925
|
gptSecurity?: {
|
|
9864
9926
|
/**
|
|
@@ -10642,7 +10704,7 @@ export interface operations {
|
|
|
10642
10704
|
* @description Reset the policy rules to the default. When set to true, do not include any policyRules updates.
|
|
10643
10705
|
* @default false
|
|
10644
10706
|
*/
|
|
10645
|
-
resetPolicyRules?: boolean
|
|
10707
|
+
resetPolicyRules?: boolean | undefined
|
|
10646
10708
|
}
|
|
10647
10709
|
}
|
|
10648
10710
|
}
|
|
@@ -11435,7 +11497,12 @@ export interface operations {
|
|
|
11435
11497
|
* @default default
|
|
11436
11498
|
* @enum {string}
|
|
11437
11499
|
*/
|
|
11438
|
-
securityPolicyDefault?:
|
|
11500
|
+
securityPolicyDefault?:
|
|
11501
|
+
| 'default'
|
|
11502
|
+
| 'low'
|
|
11503
|
+
| 'medium'
|
|
11504
|
+
| 'high'
|
|
11505
|
+
| undefined
|
|
11439
11506
|
}
|
|
11440
11507
|
}
|
|
11441
11508
|
}
|
|
@@ -11633,47 +11700,47 @@ export interface operations {
|
|
|
11633
11700
|
* @description Run a SAST Scan on your source code as part of the Socket Basics scan
|
|
11634
11701
|
* @default false
|
|
11635
11702
|
*/
|
|
11636
|
-
pythonSastEnabled?: boolean
|
|
11703
|
+
pythonSastEnabled?: boolean | undefined
|
|
11637
11704
|
/**
|
|
11638
11705
|
* @description Run a SAST Scan on your source code as part of the Socket Basics scan
|
|
11639
11706
|
* @default false
|
|
11640
11707
|
*/
|
|
11641
|
-
golangSastEnabled?: boolean
|
|
11708
|
+
golangSastEnabled?: boolean | undefined
|
|
11642
11709
|
/**
|
|
11643
11710
|
* @description Run a SAST Scan on your source code as part of the Socket Basics scan
|
|
11644
11711
|
* @default false
|
|
11645
11712
|
*/
|
|
11646
|
-
javascriptSastEnabled?: boolean
|
|
11713
|
+
javascriptSastEnabled?: boolean | undefined
|
|
11647
11714
|
/**
|
|
11648
11715
|
* @description Scan for hardcoded secrets and credentials in your code as part of the Socket Basics scan
|
|
11649
11716
|
* @default false
|
|
11650
11717
|
*/
|
|
11651
|
-
secretScanningEnabled?: boolean
|
|
11718
|
+
secretScanningEnabled?: boolean | undefined
|
|
11652
11719
|
/**
|
|
11653
11720
|
* @description Run a vulnerability scan on your Docker images as part of the Socket Basics scan
|
|
11654
11721
|
* @default false
|
|
11655
11722
|
*/
|
|
11656
|
-
trivyImageEnabled?: boolean
|
|
11723
|
+
trivyImageEnabled?: boolean | undefined
|
|
11657
11724
|
/**
|
|
11658
11725
|
* @description Run a vulnerability scan on your Dockerfiles as part of the Socket Basics scan
|
|
11659
11726
|
* @default false
|
|
11660
11727
|
*/
|
|
11661
|
-
trivyDockerfileEnabled?: boolean
|
|
11728
|
+
trivyDockerfileEnabled?: boolean | undefined
|
|
11662
11729
|
/**
|
|
11663
11730
|
* @description Scan dependencies for security vulnerabilities and issues as part of the Socket Basics scan
|
|
11664
11731
|
* @default false
|
|
11665
11732
|
*/
|
|
11666
|
-
socketScanningEnabled?: boolean
|
|
11733
|
+
socketScanningEnabled?: boolean | undefined
|
|
11667
11734
|
/**
|
|
11668
11735
|
* @description Enables or disable running a Socket SCA Scan as part of the Socket Basics scan. If you have Socket already enabled via the Github App this is not needed. Socket SCA provides 0 day protection of Open Source Supply Chain packages, CVE Reachability, and operational risk of packages.
|
|
11669
11736
|
* @default false
|
|
11670
11737
|
*/
|
|
11671
|
-
socketScaEnabled?: boolean
|
|
11738
|
+
socketScaEnabled?: boolean | undefined
|
|
11672
11739
|
/**
|
|
11673
11740
|
* Format: Additional configuration for Socket Basics, includes support for experimental and custom tooling.
|
|
11674
11741
|
* @default
|
|
11675
11742
|
*/
|
|
11676
|
-
additionalParameters?: string
|
|
11743
|
+
additionalParameters?: string | undefined
|
|
11677
11744
|
}
|
|
11678
11745
|
}
|
|
11679
11746
|
}
|
|
@@ -11694,13 +11761,13 @@ export interface operations {
|
|
|
11694
11761
|
parameters: {
|
|
11695
11762
|
query?: {
|
|
11696
11763
|
/** @description The UTC date in YYYY-MM-DD format for which to fetch alerts */
|
|
11697
|
-
date?: string
|
|
11764
|
+
date?: string | undefined
|
|
11698
11765
|
/** @description The number of days of data to fetch as an offset from input date (e.g. "-7d" or "7d") or use "latest" to query for latest alerts for each repo */
|
|
11699
|
-
range?: string
|
|
11766
|
+
range?: string | undefined
|
|
11700
11767
|
/** @description Specify the maximum number of results to return per page (intermediate pages may have fewer than this limit and callers should always check "endCursor" in response body to know if there are more pages) */
|
|
11701
|
-
per_page?: number
|
|
11768
|
+
per_page?: number | undefined
|
|
11702
11769
|
/** @description The pagination cursor that was returned as the "endCursor" property in previous request */
|
|
11703
|
-
startAfterCursor?: string
|
|
11770
|
+
startAfterCursor?: string | undefined
|
|
11704
11771
|
/** @description Comma-separated list of alert severities ("low", "medium", "high", or "critical") that should be included */
|
|
11705
11772
|
'filters.alertSeverity'?: string
|
|
11706
11773
|
/** @description Comma-separated list of alert severities ("low", "medium", "high", or "critical") that should be excluded */
|
|
@@ -11819,18 +11886,18 @@ export interface operations {
|
|
|
11819
11886
|
/** @default */
|
|
11820
11887
|
version: string
|
|
11821
11888
|
/** @default */
|
|
11822
|
-
artifact_id?: string
|
|
11889
|
+
artifact_id?: string | undefined
|
|
11823
11890
|
/** @default */
|
|
11824
|
-
artifactId?: string
|
|
11891
|
+
artifactId?: string | undefined
|
|
11825
11892
|
/** @default */
|
|
11826
|
-
author?: string
|
|
11827
|
-
capabilities?: components['schemas']['Capabilities']
|
|
11828
|
-
qualifiers?: components['schemas']['Qualifiers']
|
|
11829
|
-
scores?: components['schemas']['SocketScore']
|
|
11893
|
+
author?: string | undefined
|
|
11894
|
+
capabilities?: components['schemas']['Capabilities'] | undefined
|
|
11895
|
+
qualifiers?: components['schemas']['Qualifiers'] | undefined
|
|
11896
|
+
scores?: components['schemas']['SocketScore'] | undefined
|
|
11830
11897
|
/** @default 0 */
|
|
11831
|
-
size?: number
|
|
11898
|
+
size?: number | undefined
|
|
11832
11899
|
/** @default */
|
|
11833
|
-
subpath?: string
|
|
11900
|
+
subpath?: string | undefined
|
|
11834
11901
|
}
|
|
11835
11902
|
alert: {
|
|
11836
11903
|
/** @default */
|
|
@@ -11846,13 +11913,13 @@ export interface operations {
|
|
|
11846
11913
|
/** @default */
|
|
11847
11914
|
category: string
|
|
11848
11915
|
/** @default */
|
|
11849
|
-
file?: string | null
|
|
11916
|
+
file?: string | null | undefined
|
|
11850
11917
|
/** @default null */
|
|
11851
|
-
props?: Record<string, unknown> | null
|
|
11918
|
+
props?: Record<string, unknown> | null | undefined
|
|
11852
11919
|
/** @default 0 */
|
|
11853
|
-
start?: number | null
|
|
11920
|
+
start?: number | null | undefined
|
|
11854
11921
|
/** @default 0 */
|
|
11855
|
-
end?: number | null
|
|
11922
|
+
end?: number | null | undefined
|
|
11856
11923
|
fix?: {
|
|
11857
11924
|
/** @default */
|
|
11858
11925
|
type: string
|
|
@@ -11870,8 +11937,12 @@ export interface operations {
|
|
|
11870
11937
|
manifestFiles?: Array<
|
|
11871
11938
|
components['schemas']['SocketManifestReference']
|
|
11872
11939
|
>
|
|
11873
|
-
topLevelAncestors?:
|
|
11874
|
-
|
|
11940
|
+
topLevelAncestors?:
|
|
11941
|
+
| Array<components['schemas']['SocketId']>
|
|
11942
|
+
| undefined
|
|
11943
|
+
dependencies?:
|
|
11944
|
+
| Array<components['schemas']['SocketId']>
|
|
11945
|
+
| undefined
|
|
11875
11946
|
}
|
|
11876
11947
|
}>
|
|
11877
11948
|
meta: {
|
|
@@ -11887,43 +11958,43 @@ export interface operations {
|
|
|
11887
11958
|
includeLatestAlertsOnly: boolean
|
|
11888
11959
|
filters: {
|
|
11889
11960
|
/** @description Comma-separated list of alert severities ("low", "medium", "high", or "critical") that should be excluded */
|
|
11890
|
-
alertSeverity?: string[]
|
|
11961
|
+
alertSeverity?: string[] | undefined
|
|
11891
11962
|
/** @description Comma-separated list of repo slugs that should be excluded */
|
|
11892
|
-
repoSlug?: string[]
|
|
11963
|
+
repoSlug?: string[] | undefined
|
|
11893
11964
|
/** @description Comma-separated list of repo labels that should be excluded. Use "" to filter for repositories with no labels. */
|
|
11894
|
-
repoLabels?: string[]
|
|
11965
|
+
repoLabels?: string[] | undefined
|
|
11895
11966
|
/** @description Comma-separated list of alert types (e.g. "usesEval", "unmaintained", etc.) that should be excluded */
|
|
11896
|
-
alertType?: string[]
|
|
11967
|
+
alertType?: string[] | undefined
|
|
11897
11968
|
/** @description Name of artifact */
|
|
11898
|
-
artifactName?: string[]
|
|
11969
|
+
artifactName?: string[] | undefined
|
|
11899
11970
|
/** @description Comma-separated list of artifact types (e.g. "npm", "pypi", "gem", "maven", "golang", etc.) that should be excluded */
|
|
11900
|
-
artifactType?: string[]
|
|
11971
|
+
artifactType?: string[] | undefined
|
|
11901
11972
|
/** @description Comma-separated list of alert actions ("error", "warn", "monitor", or "ignore) that should be excluded */
|
|
11902
|
-
alertAction?: string[]
|
|
11973
|
+
alertAction?: string[] | undefined
|
|
11903
11974
|
/** @description Comma-separated list of alert action source types ("fallback", "injected-alert", "org-policy", "reachability", "repo-label-policy", "socket-yml", or "triage") that should be excluded */
|
|
11904
|
-
alertActionSourceType?: string[]
|
|
11975
|
+
alertActionSourceType?: string[] | undefined
|
|
11905
11976
|
/** @description Comma-separated list of alert fix types ("upgrade", "cve", or "remove") that should be excluded */
|
|
11906
|
-
alertFixType?: string[]
|
|
11977
|
+
alertFixType?: string[] | undefined
|
|
11907
11978
|
/** @description Comma-separated list of alert categories ("supplyChainRisk", "maintenance", "quality", "license", or "vulnerability") that should be excluded */
|
|
11908
|
-
alertCategory?: string[]
|
|
11979
|
+
alertCategory?: string[] | undefined
|
|
11909
11980
|
/** @description CVE ID */
|
|
11910
|
-
alertCveId?: string[]
|
|
11981
|
+
alertCveId?: string[] | undefined
|
|
11911
11982
|
/** @description CVE title */
|
|
11912
|
-
alertCveTitle?: string[]
|
|
11983
|
+
alertCveTitle?: string[] | undefined
|
|
11913
11984
|
/** @description CWE ID */
|
|
11914
|
-
alertCweId?: string[]
|
|
11985
|
+
alertCweId?: string[] | undefined
|
|
11915
11986
|
/** @description CWE name */
|
|
11916
|
-
alertCweName?: string[]
|
|
11987
|
+
alertCweName?: string[] | undefined
|
|
11917
11988
|
/** @description Comma-separated list of alert CVE reachability types ("direct_dependency", "error", "maybe_reachable", "missing_support", "pending", "reachable", "undeterminable_reachability", "unknown", or "unreachable") that should be excluded */
|
|
11918
|
-
alertReachabilityType?: string[]
|
|
11989
|
+
alertReachabilityType?: string[] | undefined
|
|
11919
11990
|
/** @description Alert priority ("low", "medium", or "high") */
|
|
11920
|
-
alertPriority?: string[]
|
|
11991
|
+
alertPriority?: string[] | undefined
|
|
11921
11992
|
/** @description Direct/transitive dependency filter flag */
|
|
11922
|
-
dependencyDirect?: boolean[]
|
|
11993
|
+
dependencyDirect?: boolean[] | undefined
|
|
11923
11994
|
/** @description Development/production dependency filter flag */
|
|
11924
|
-
dependencyDev?: boolean[]
|
|
11995
|
+
dependencyDev?: boolean[] | undefined
|
|
11925
11996
|
/** @description Dead/reachable dependency filter flag */
|
|
11926
|
-
dependencyDead?: boolean[]
|
|
11997
|
+
dependencyDead?: boolean[] | undefined
|
|
11927
11998
|
}
|
|
11928
11999
|
}
|
|
11929
12000
|
}
|
|
@@ -11948,9 +12019,9 @@ export interface operations {
|
|
|
11948
12019
|
parameters: {
|
|
11949
12020
|
query?: {
|
|
11950
12021
|
/** @description The UTC date in YYYY-MM-DD format for which to fetch alerts */
|
|
11951
|
-
date?: string
|
|
12022
|
+
date?: string | undefined
|
|
11952
12023
|
/** @description The number of days of data to fetch as an offset from input date */
|
|
11953
|
-
range?: string
|
|
12024
|
+
range?: string | undefined
|
|
11954
12025
|
/** @description Comma-separated list of fields that should be used for count aggregation (allowed: alertSeverity,repoSlug,repoLabels,alertType,artifactType,alertAction,alertActionSourceType,alertFixType,alertCategory,alertCveId,alertCveTitle,alertCweId,alertCweName,alertReachabilityType,alertPriority,dependencyDirect,dependencyDev,dependencyDead) */
|
|
11955
12026
|
'aggregation.fields'?: string
|
|
11956
12027
|
/** @description Comma-separated list of alert severities ("low", "medium", "high", or "critical") that should be included */
|
|
@@ -12055,43 +12126,43 @@ export interface operations {
|
|
|
12055
12126
|
}
|
|
12056
12127
|
filters: {
|
|
12057
12128
|
/** @description Comma-separated list of alert severities ("low", "medium", "high", or "critical") that should be excluded */
|
|
12058
|
-
alertSeverity?: string[]
|
|
12129
|
+
alertSeverity?: string[] | undefined
|
|
12059
12130
|
/** @description Comma-separated list of repo slugs that should be excluded */
|
|
12060
|
-
repoSlug?: string[]
|
|
12131
|
+
repoSlug?: string[] | undefined
|
|
12061
12132
|
/** @description Comma-separated list of repo labels that should be excluded. Use "" to filter for repositories with no labels. */
|
|
12062
|
-
repoLabels?: string[]
|
|
12133
|
+
repoLabels?: string[] | undefined
|
|
12063
12134
|
/** @description Comma-separated list of alert types (e.g. "usesEval", "unmaintained", etc.) that should be excluded */
|
|
12064
|
-
alertType?: string[]
|
|
12135
|
+
alertType?: string[] | undefined
|
|
12065
12136
|
/** @description Name of artifact */
|
|
12066
|
-
artifactName?: string[]
|
|
12137
|
+
artifactName?: string[] | undefined
|
|
12067
12138
|
/** @description Comma-separated list of artifact types (e.g. "npm", "pypi", "gem", "maven", "golang", etc.) that should be excluded */
|
|
12068
|
-
artifactType?: string[]
|
|
12139
|
+
artifactType?: string[] | undefined
|
|
12069
12140
|
/** @description Comma-separated list of alert actions ("error", "warn", "monitor", or "ignore) that should be excluded */
|
|
12070
|
-
alertAction?: string[]
|
|
12141
|
+
alertAction?: string[] | undefined
|
|
12071
12142
|
/** @description Comma-separated list of alert action source types ("fallback", "injected-alert", "org-policy", "reachability", "repo-label-policy", "socket-yml", or "triage") that should be excluded */
|
|
12072
|
-
alertActionSourceType?: string[]
|
|
12143
|
+
alertActionSourceType?: string[] | undefined
|
|
12073
12144
|
/** @description Comma-separated list of alert fix types ("upgrade", "cve", or "remove") that should be excluded */
|
|
12074
|
-
alertFixType?: string[]
|
|
12145
|
+
alertFixType?: string[] | undefined
|
|
12075
12146
|
/** @description Comma-separated list of alert categories ("supplyChainRisk", "maintenance", "quality", "license", or "vulnerability") that should be excluded */
|
|
12076
|
-
alertCategory?: string[]
|
|
12147
|
+
alertCategory?: string[] | undefined
|
|
12077
12148
|
/** @description CVE ID */
|
|
12078
|
-
alertCveId?: string[]
|
|
12149
|
+
alertCveId?: string[] | undefined
|
|
12079
12150
|
/** @description CVE title */
|
|
12080
|
-
alertCveTitle?: string[]
|
|
12151
|
+
alertCveTitle?: string[] | undefined
|
|
12081
12152
|
/** @description CWE ID */
|
|
12082
|
-
alertCweId?: string[]
|
|
12153
|
+
alertCweId?: string[] | undefined
|
|
12083
12154
|
/** @description CWE name */
|
|
12084
|
-
alertCweName?: string[]
|
|
12155
|
+
alertCweName?: string[] | undefined
|
|
12085
12156
|
/** @description Comma-separated list of alert CVE reachability types ("direct_dependency", "error", "maybe_reachable", "missing_support", "pending", "reachable", "undeterminable_reachability", "unknown", or "unreachable") that should be excluded */
|
|
12086
|
-
alertReachabilityType?: string[]
|
|
12157
|
+
alertReachabilityType?: string[] | undefined
|
|
12087
12158
|
/** @description Alert priority ("low", "medium", or "high") */
|
|
12088
|
-
alertPriority?: string[]
|
|
12159
|
+
alertPriority?: string[] | undefined
|
|
12089
12160
|
/** @description Direct/transitive dependency filter flag */
|
|
12090
|
-
dependencyDirect?: boolean[]
|
|
12161
|
+
dependencyDirect?: boolean[] | undefined
|
|
12091
12162
|
/** @description Development/production dependency filter flag */
|
|
12092
|
-
dependencyDev?: boolean[]
|
|
12163
|
+
dependencyDev?: boolean[] | undefined
|
|
12093
12164
|
/** @description Dead/reachable dependency filter flag */
|
|
12094
|
-
dependencyDead?: boolean[]
|
|
12165
|
+
dependencyDead?: boolean[] | undefined
|
|
12095
12166
|
}
|
|
12096
12167
|
}
|
|
12097
12168
|
items: Array<{
|
|
@@ -12129,21 +12200,21 @@ export interface operations {
|
|
|
12129
12200
|
parameters: {
|
|
12130
12201
|
query?: {
|
|
12131
12202
|
/** @description The UTC date in YYYY-MM-DD format for which to fetch dependencies */
|
|
12132
|
-
date?: string
|
|
12203
|
+
date?: string | undefined
|
|
12133
12204
|
/** @description The number of days of data to fetch as an offset from input date */
|
|
12134
|
-
range?: string
|
|
12205
|
+
range?: string | undefined
|
|
12135
12206
|
/** @description Comma-separated list of repo slugs that should be included */
|
|
12136
|
-
repoSlug?: string
|
|
12207
|
+
repoSlug?: string | undefined
|
|
12137
12208
|
/** @description Comma-separated list of repo labels that should be included */
|
|
12138
|
-
repoLabels?: string
|
|
12209
|
+
repoLabels?: string | undefined
|
|
12139
12210
|
/** @description Comma-separated list of artifact types (e.g. "npm", "pypi", "gem", "maven", "golang", etc.) that should be included */
|
|
12140
|
-
artifactType?: string
|
|
12211
|
+
artifactType?: string | undefined
|
|
12141
12212
|
/** @description Direct/transitive dependency filter flag */
|
|
12142
|
-
dependencyDirect?: boolean
|
|
12213
|
+
dependencyDirect?: boolean | undefined
|
|
12143
12214
|
/** @description Development/production dependency filter flag */
|
|
12144
|
-
dependencyDev?: boolean
|
|
12215
|
+
dependencyDev?: boolean | undefined
|
|
12145
12216
|
/** @description Dead/reachable dependency filter flag */
|
|
12146
|
-
dependencyDead?: boolean
|
|
12217
|
+
dependencyDead?: boolean | undefined
|
|
12147
12218
|
}
|
|
12148
12219
|
path: {
|
|
12149
12220
|
/** @description The slug of the organization */
|
|
@@ -12170,17 +12241,17 @@ export interface operations {
|
|
|
12170
12241
|
}
|
|
12171
12242
|
filters: {
|
|
12172
12243
|
/** @description Comma-separated list of repo slugs that should be included */
|
|
12173
|
-
repoSlug?: string[]
|
|
12244
|
+
repoSlug?: string[] | undefined
|
|
12174
12245
|
/** @description Comma-separated list of repo labels that should be included */
|
|
12175
|
-
repoLabels?: string[]
|
|
12246
|
+
repoLabels?: string[] | undefined
|
|
12176
12247
|
/** @description Comma-separated list of artifact types (e.g. "npm", "pypi", "gem", "maven", "golang", etc.) that should be included */
|
|
12177
|
-
artifactType?: string[]
|
|
12248
|
+
artifactType?: string[] | undefined
|
|
12178
12249
|
/** @description Direct/transitive dependency filter flag */
|
|
12179
|
-
dependencyDirect?: boolean[]
|
|
12250
|
+
dependencyDirect?: boolean[] | undefined
|
|
12180
12251
|
/** @description Development/production dependency filter flag */
|
|
12181
|
-
dependencyDev?: boolean[]
|
|
12252
|
+
dependencyDev?: boolean[] | undefined
|
|
12182
12253
|
/** @description Dead/reachable dependency filter flag */
|
|
12183
|
-
dependencyDead?: boolean[]
|
|
12254
|
+
dependencyDead?: boolean[] | undefined
|
|
12184
12255
|
}
|
|
12185
12256
|
}
|
|
12186
12257
|
items: Array<{
|
|
@@ -12297,13 +12368,13 @@ export interface operations {
|
|
|
12297
12368
|
parameters: {
|
|
12298
12369
|
query?: {
|
|
12299
12370
|
/** @description The UTC date in YYYY-MM-DD format for which to fetch snapshots */
|
|
12300
|
-
date?: string
|
|
12371
|
+
date?: string | undefined
|
|
12301
12372
|
/** @description The number of days of data to fetch as an offset from input date (e.g. "-7d" or "7d") or use "latest" to query for latest snapshots for each repo */
|
|
12302
|
-
range?: string
|
|
12373
|
+
range?: string | undefined
|
|
12303
12374
|
/** @description Specify the maximum number of results to return per page (intermediate pages may have fewer than this limit and callers should always check "endCursor" in response body to know if there are more pages) */
|
|
12304
|
-
per_page?: number
|
|
12375
|
+
per_page?: number | undefined
|
|
12305
12376
|
/** @description The pagination cursor that was returned as the "endCursor" property in previous request */
|
|
12306
|
-
startAfterCursor?: string
|
|
12377
|
+
startAfterCursor?: string | undefined
|
|
12307
12378
|
/** @description Comma-separated list of historical snapshot statuses that should be included (allowed: "in-progress", "success", "failure", "timeout", "skipped") */
|
|
12308
12379
|
'filters.status'?: string
|
|
12309
12380
|
/** @description Comma-separated list of requestId values that were used to start the historical snapshot job */
|
|
@@ -12329,8 +12400,8 @@ export interface operations {
|
|
|
12329
12400
|
/** @default */
|
|
12330
12401
|
endDateInclusive: string
|
|
12331
12402
|
filters: {
|
|
12332
|
-
status?: string[]
|
|
12333
|
-
requestId?: string[]
|
|
12403
|
+
status?: string[] | undefined
|
|
12404
|
+
requestId?: string[] | undefined
|
|
12334
12405
|
}
|
|
12335
12406
|
}
|
|
12336
12407
|
items: Array<{
|
|
@@ -12484,11 +12555,11 @@ export interface operations {
|
|
|
12484
12555
|
| 'UpdateWebhook'
|
|
12485
12556
|
| 'UpgradeOrganizationPlan'
|
|
12486
12557
|
/** @description Number of events per page */
|
|
12487
|
-
per_page?: number
|
|
12558
|
+
per_page?: number | undefined
|
|
12488
12559
|
/** @description Page token */
|
|
12489
|
-
page?: string
|
|
12560
|
+
page?: string | undefined
|
|
12490
12561
|
/** @description A Unix timestamp in seconds to filter results prior to this date. */
|
|
12491
|
-
from?: string
|
|
12562
|
+
from?: string | undefined
|
|
12492
12563
|
}
|
|
12493
12564
|
path: {
|
|
12494
12565
|
/** @description The slug of the organization */
|
|
@@ -12502,33 +12573,33 @@ export interface operations {
|
|
|
12502
12573
|
'application/json': {
|
|
12503
12574
|
results: Array<{
|
|
12504
12575
|
/** @default */
|
|
12505
|
-
event_id?: string
|
|
12576
|
+
event_id?: string | undefined
|
|
12506
12577
|
/** @default */
|
|
12507
|
-
created_at?: string
|
|
12578
|
+
created_at?: string | undefined
|
|
12508
12579
|
/** @default */
|
|
12509
|
-
updated_at?: string
|
|
12580
|
+
updated_at?: string | undefined
|
|
12510
12581
|
/** @default */
|
|
12511
|
-
country_code?: string | null
|
|
12582
|
+
country_code?: string | null | undefined
|
|
12512
12583
|
/** @default */
|
|
12513
|
-
organization_id?: string | null
|
|
12584
|
+
organization_id?: string | null | undefined
|
|
12514
12585
|
/** @default */
|
|
12515
|
-
ip_address?: string | null
|
|
12586
|
+
ip_address?: string | null | undefined
|
|
12516
12587
|
/** @default null */
|
|
12517
|
-
payload?: Record<string, unknown> | null
|
|
12588
|
+
payload?: Record<string, unknown> | null | undefined
|
|
12518
12589
|
/** @default 0 */
|
|
12519
|
-
status_code?: number | null
|
|
12590
|
+
status_code?: number | null | undefined
|
|
12520
12591
|
/** @default */
|
|
12521
|
-
type?: string
|
|
12592
|
+
type?: string | undefined
|
|
12522
12593
|
/** @default */
|
|
12523
|
-
user_agent?: string | null
|
|
12594
|
+
user_agent?: string | null | undefined
|
|
12524
12595
|
/** @default */
|
|
12525
|
-
user_id?: string | null
|
|
12596
|
+
user_id?: string | null | undefined
|
|
12526
12597
|
/** @default */
|
|
12527
|
-
user_email?: string
|
|
12598
|
+
user_email?: string | undefined
|
|
12528
12599
|
/** @default */
|
|
12529
|
-
user_image?: string
|
|
12600
|
+
user_image?: string | undefined
|
|
12530
12601
|
/** @default */
|
|
12531
|
-
organization_name?: string
|
|
12602
|
+
organization_name?: string | undefined
|
|
12532
12603
|
}>
|
|
12533
12604
|
/** @default */
|
|
12534
12605
|
nextPage: string | null
|
|
@@ -12555,13 +12626,13 @@ export interface operations {
|
|
|
12555
12626
|
parameters: {
|
|
12556
12627
|
query?: {
|
|
12557
12628
|
/** @description Specify Sort order. */
|
|
12558
|
-
sort?: 'created_at'
|
|
12629
|
+
sort?: 'created_at' | undefined
|
|
12559
12630
|
/** @description Specify sort direction. */
|
|
12560
|
-
direction?: 'asc' | 'desc'
|
|
12631
|
+
direction?: 'asc' | 'desc' | undefined
|
|
12561
12632
|
/** @description Specify the maximum number of results to return per page. */
|
|
12562
|
-
per_page?: number
|
|
12633
|
+
per_page?: number | undefined
|
|
12563
12634
|
/** @description The token specifying which page to return. */
|
|
12564
|
-
page?: number
|
|
12635
|
+
page?: number | undefined
|
|
12565
12636
|
}
|
|
12566
12637
|
path: {
|
|
12567
12638
|
/** @description The slug of the organization */
|
|
@@ -12576,16 +12647,22 @@ export interface operations {
|
|
|
12576
12647
|
tokens: Array<{
|
|
12577
12648
|
committers: Array<{
|
|
12578
12649
|
/** @default */
|
|
12579
|
-
email?: string
|
|
12650
|
+
email?: string | undefined
|
|
12580
12651
|
/**
|
|
12581
12652
|
* @default api
|
|
12582
12653
|
* @enum {string}
|
|
12583
12654
|
*/
|
|
12584
|
-
provider?:
|
|
12655
|
+
provider?:
|
|
12656
|
+
| 'api'
|
|
12657
|
+
| 'azure'
|
|
12658
|
+
| 'bitbucket'
|
|
12659
|
+
| 'github'
|
|
12660
|
+
| 'gitlab'
|
|
12661
|
+
| undefined
|
|
12585
12662
|
/** @default */
|
|
12586
|
-
providerLoginName?: string
|
|
12663
|
+
providerLoginName?: string | undefined
|
|
12587
12664
|
/** @default */
|
|
12588
|
-
providerUserId?: string
|
|
12665
|
+
providerUserId?: string | undefined
|
|
12589
12666
|
}>
|
|
12590
12667
|
/**
|
|
12591
12668
|
* Format: date
|
|
@@ -12795,22 +12872,28 @@ export interface operations {
|
|
|
12795
12872
|
visibility: 'admin' | 'organization'
|
|
12796
12873
|
committer: {
|
|
12797
12874
|
/** @default */
|
|
12798
|
-
email?: string
|
|
12875
|
+
email?: string | undefined
|
|
12799
12876
|
/**
|
|
12800
12877
|
* @default api
|
|
12801
12878
|
* @enum {string}
|
|
12802
12879
|
*/
|
|
12803
|
-
provider?:
|
|
12880
|
+
provider?:
|
|
12881
|
+
| 'api'
|
|
12882
|
+
| 'azure'
|
|
12883
|
+
| 'bitbucket'
|
|
12884
|
+
| 'github'
|
|
12885
|
+
| 'gitlab'
|
|
12886
|
+
| undefined
|
|
12804
12887
|
/** @default */
|
|
12805
|
-
providerLoginName?: string
|
|
12888
|
+
providerLoginName?: string | undefined
|
|
12806
12889
|
/** @default */
|
|
12807
|
-
providerUserId?: string
|
|
12890
|
+
providerUserId?: string | undefined
|
|
12808
12891
|
}
|
|
12809
12892
|
/**
|
|
12810
12893
|
* @description Name for the API Token
|
|
12811
12894
|
* @default api token
|
|
12812
12895
|
*/
|
|
12813
|
-
name?: string
|
|
12896
|
+
name?: string | undefined
|
|
12814
12897
|
}
|
|
12815
12898
|
}
|
|
12816
12899
|
}
|
|
@@ -12928,22 +13011,28 @@ export interface operations {
|
|
|
12928
13011
|
visibility: 'admin' | 'organization'
|
|
12929
13012
|
committer: {
|
|
12930
13013
|
/** @default */
|
|
12931
|
-
email?: string
|
|
13014
|
+
email?: string | undefined
|
|
12932
13015
|
/**
|
|
12933
13016
|
* @default api
|
|
12934
13017
|
* @enum {string}
|
|
12935
13018
|
*/
|
|
12936
|
-
provider?:
|
|
13019
|
+
provider?:
|
|
13020
|
+
| 'api'
|
|
13021
|
+
| 'azure'
|
|
13022
|
+
| 'bitbucket'
|
|
13023
|
+
| 'github'
|
|
13024
|
+
| 'gitlab'
|
|
13025
|
+
| undefined
|
|
12937
13026
|
/** @default */
|
|
12938
|
-
providerLoginName?: string
|
|
13027
|
+
providerLoginName?: string | undefined
|
|
12939
13028
|
/** @default */
|
|
12940
|
-
providerUserId?: string
|
|
13029
|
+
providerUserId?: string | undefined
|
|
12941
13030
|
}
|
|
12942
13031
|
/**
|
|
12943
13032
|
* @description Name for the API Token
|
|
12944
13033
|
* @default api token
|
|
12945
13034
|
*/
|
|
12946
|
-
name?: string
|
|
13035
|
+
name?: string | undefined
|
|
12947
13036
|
}
|
|
12948
13037
|
}
|
|
12949
13038
|
}
|
|
@@ -13101,15 +13190,23 @@ export interface operations {
|
|
|
13101
13190
|
parameters: {
|
|
13102
13191
|
query?: {
|
|
13103
13192
|
/** @description Number of threats per page */
|
|
13104
|
-
per_page?: number
|
|
13193
|
+
per_page?: number | undefined
|
|
13105
13194
|
/** @description Page token */
|
|
13106
|
-
page?: string
|
|
13195
|
+
page?: string | undefined
|
|
13107
13196
|
/** @description Sort sort the threat feed by ID or createdAt attribute. */
|
|
13108
|
-
sort?: 'id' | 'created_at'
|
|
13197
|
+
sort?: 'id' | 'created_at' | undefined
|
|
13109
13198
|
/** @description Filter results by discovery period */
|
|
13110
|
-
discovery_period?:
|
|
13199
|
+
discovery_period?:
|
|
13200
|
+
| '1h'
|
|
13201
|
+
| '6h'
|
|
13202
|
+
| '1d'
|
|
13203
|
+
| '7d'
|
|
13204
|
+
| '30d'
|
|
13205
|
+
| '90d'
|
|
13206
|
+
| '365d'
|
|
13207
|
+
| undefined
|
|
13111
13208
|
/** @description Ordering direction of the sort attribute */
|
|
13112
|
-
direction?: 'desc' | 'asc'
|
|
13209
|
+
direction?: 'desc' | 'asc' | undefined
|
|
13113
13210
|
/** @description Filter what type of threats to return */
|
|
13114
13211
|
filter?:
|
|
13115
13212
|
| 'u'
|
|
@@ -13126,11 +13223,11 @@ export interface operations {
|
|
|
13126
13223
|
| 'obf'
|
|
13127
13224
|
| 'dual'
|
|
13128
13225
|
/** @description Filter threats by package name */
|
|
13129
|
-
name?: string
|
|
13226
|
+
name?: string | undefined
|
|
13130
13227
|
/** @description Filter threats by package version */
|
|
13131
|
-
version?: string
|
|
13228
|
+
version?: string | undefined
|
|
13132
13229
|
/** @description Only return threats which have been human-reviewed */
|
|
13133
|
-
is_human_reviewed?: boolean
|
|
13230
|
+
is_human_reviewed?: boolean | undefined
|
|
13134
13231
|
/** @description Filter threats by package ecosystem type */
|
|
13135
13232
|
ecosystem?:
|
|
13136
13233
|
| 'github'
|
|
@@ -13152,28 +13249,28 @@ export interface operations {
|
|
|
13152
13249
|
'application/json': {
|
|
13153
13250
|
results: Array<{
|
|
13154
13251
|
/** @default */
|
|
13155
|
-
createdAt?: string
|
|
13252
|
+
createdAt?: string | undefined
|
|
13156
13253
|
/** @default */
|
|
13157
|
-
updatedAt?: string
|
|
13254
|
+
updatedAt?: string | undefined
|
|
13158
13255
|
/** @default */
|
|
13159
|
-
description?: string
|
|
13256
|
+
description?: string | undefined
|
|
13160
13257
|
/** @default 0 */
|
|
13161
|
-
id?: number
|
|
13258
|
+
id?: number | undefined
|
|
13162
13259
|
/** @default */
|
|
13163
|
-
locationHtmlUrl?: string
|
|
13260
|
+
locationHtmlUrl?: string | undefined
|
|
13164
13261
|
/** @default */
|
|
13165
|
-
packageHtmlUrl?: string
|
|
13262
|
+
packageHtmlUrl?: string | undefined
|
|
13166
13263
|
/** @default */
|
|
13167
|
-
purl?: string
|
|
13264
|
+
purl?: string | undefined
|
|
13168
13265
|
/** @default */
|
|
13169
|
-
removedAt?: string | null
|
|
13266
|
+
removedAt?: string | null | undefined
|
|
13170
13267
|
/** @default */
|
|
13171
|
-
threatType?: string
|
|
13268
|
+
threatType?: string | undefined
|
|
13172
13269
|
/**
|
|
13173
13270
|
* @description Whether the threat still is in need of human review by the threat research team
|
|
13174
13271
|
* @default false
|
|
13175
13272
|
*/
|
|
13176
|
-
needsHumanReview?: boolean
|
|
13273
|
+
needsHumanReview?: boolean | undefined
|
|
13177
13274
|
}>
|
|
13178
13275
|
/** @default */
|
|
13179
13276
|
nextPage: string | null
|
|
@@ -13202,17 +13299,17 @@ export interface operations {
|
|
|
13202
13299
|
parameters: {
|
|
13203
13300
|
query?: {
|
|
13204
13301
|
/** @description Number of threats per page */
|
|
13205
|
-
per_page?: number
|
|
13302
|
+
per_page?: number | undefined
|
|
13206
13303
|
/** @description Page cursor token. Pass the returned nextPageCursor to this query string to fetch the next page of the threat feed. */
|
|
13207
|
-
page_cursor?: string
|
|
13304
|
+
page_cursor?: string | undefined
|
|
13208
13305
|
/** @description Set the sort order for the threat feed items. Default is descending order by updated_at, which includes all new and updated threat feed items. */
|
|
13209
|
-
sort?: 'id' | 'created_at' | 'updated_at'
|
|
13306
|
+
sort?: 'id' | 'created_at' | 'updated_at' | undefined
|
|
13210
13307
|
/** @description A Unix timestamp in seconds that filters results to items only updated after the timestamp. */
|
|
13211
|
-
updated_after?: string
|
|
13308
|
+
updated_after?: string | undefined
|
|
13212
13309
|
/** @description A Unix timestamp in seconds that filters results to items only created after the date. */
|
|
13213
|
-
created_after?: string
|
|
13310
|
+
created_after?: string | undefined
|
|
13214
13311
|
/** @description Order direction of the provided sort field. */
|
|
13215
|
-
direction?: 'desc' | 'asc'
|
|
13312
|
+
direction?: 'desc' | 'asc' | undefined
|
|
13216
13313
|
/** @description Filter what type of threats to return */
|
|
13217
13314
|
filter?:
|
|
13218
13315
|
| 'u'
|
|
@@ -13229,11 +13326,11 @@ export interface operations {
|
|
|
13229
13326
|
| 'obf'
|
|
13230
13327
|
| 'dual'
|
|
13231
13328
|
/** @description Filter threats by package name */
|
|
13232
|
-
name?: string
|
|
13329
|
+
name?: string | undefined
|
|
13233
13330
|
/** @description Filter threats by package version. */
|
|
13234
|
-
version?: string
|
|
13331
|
+
version?: string | undefined
|
|
13235
13332
|
/** @description Only return threats which have been human-reviewed */
|
|
13236
|
-
is_human_reviewed?: boolean
|
|
13333
|
+
is_human_reviewed?: boolean | undefined
|
|
13237
13334
|
/** @description Filter threats by package ecosystem type */
|
|
13238
13335
|
ecosystem?:
|
|
13239
13336
|
| 'github'
|
|
@@ -13259,28 +13356,28 @@ export interface operations {
|
|
|
13259
13356
|
'application/json': {
|
|
13260
13357
|
results: Array<{
|
|
13261
13358
|
/** @default */
|
|
13262
|
-
createdAt?: string
|
|
13359
|
+
createdAt?: string | undefined
|
|
13263
13360
|
/** @default */
|
|
13264
|
-
updatedAt?: string
|
|
13361
|
+
updatedAt?: string | undefined
|
|
13265
13362
|
/** @default */
|
|
13266
|
-
description?: string
|
|
13363
|
+
description?: string | undefined
|
|
13267
13364
|
/** @default 0 */
|
|
13268
|
-
id?: number
|
|
13365
|
+
id?: number | undefined
|
|
13269
13366
|
/** @default */
|
|
13270
|
-
locationHtmlUrl?: string
|
|
13367
|
+
locationHtmlUrl?: string | undefined
|
|
13271
13368
|
/** @default */
|
|
13272
|
-
packageHtmlUrl?: string
|
|
13369
|
+
packageHtmlUrl?: string | undefined
|
|
13273
13370
|
/** @default */
|
|
13274
|
-
purl?: string
|
|
13371
|
+
purl?: string | undefined
|
|
13275
13372
|
/** @default */
|
|
13276
|
-
removedAt?: string | null
|
|
13373
|
+
removedAt?: string | null | undefined
|
|
13277
13374
|
/** @default */
|
|
13278
|
-
threatType?: string
|
|
13375
|
+
threatType?: string | undefined
|
|
13279
13376
|
/**
|
|
13280
13377
|
* @description Whether the threat still is in need of human review by the threat research team
|
|
13281
13378
|
* @default false
|
|
13282
13379
|
*/
|
|
13283
|
-
needsHumanReview?: boolean
|
|
13380
|
+
needsHumanReview?: boolean | undefined
|
|
13284
13381
|
}>
|
|
13285
13382
|
/** @default */
|
|
13286
13383
|
nextPageCursor: string | null
|
|
@@ -13669,7 +13766,7 @@ export interface operations {
|
|
|
13669
13766
|
parameters: {
|
|
13670
13767
|
query?: {
|
|
13671
13768
|
/** @description If `true`, the response will include the full text of the requested licenses */
|
|
13672
|
-
includetext?: boolean
|
|
13769
|
+
includetext?: boolean | undefined
|
|
13673
13770
|
}
|
|
13674
13771
|
}
|
|
13675
13772
|
requestBody?: {
|
|
@@ -13699,7 +13796,14 @@ export interface operations {
|
|
|
13699
13796
|
parameters: {
|
|
13700
13797
|
query?: {
|
|
13701
13798
|
/** @description Language for alert metadata */
|
|
13702
|
-
language?:
|
|
13799
|
+
language?:
|
|
13800
|
+
| 'ach-UG'
|
|
13801
|
+
| 'de-DE'
|
|
13802
|
+
| 'en-US'
|
|
13803
|
+
| 'es-ES'
|
|
13804
|
+
| 'fr-FR'
|
|
13805
|
+
| 'it-IT'
|
|
13806
|
+
| undefined
|
|
13703
13807
|
}
|
|
13704
13808
|
}
|
|
13705
13809
|
requestBody?: {
|
|
@@ -13849,7 +13953,7 @@ export interface operations {
|
|
|
13849
13953
|
content: {
|
|
13850
13954
|
'application/json': Array<{
|
|
13851
13955
|
/** @default */
|
|
13852
|
-
organization?: string
|
|
13956
|
+
organization?: string | undefined
|
|
13853
13957
|
}>
|
|
13854
13958
|
}
|
|
13855
13959
|
}
|
|
@@ -13862,7 +13966,7 @@ export interface operations {
|
|
|
13862
13966
|
issueRules: {
|
|
13863
13967
|
[key: string]: {
|
|
13864
13968
|
/** @enum {string} */
|
|
13865
|
-
action?: 'error' | 'ignore' | 'warn'
|
|
13969
|
+
action?: 'error' | 'ignore' | 'warn' | undefined
|
|
13866
13970
|
}
|
|
13867
13971
|
}
|
|
13868
13972
|
}
|
|
@@ -13976,9 +14080,9 @@ export interface operations {
|
|
|
13976
14080
|
parameters: {
|
|
13977
14081
|
query?: {
|
|
13978
14082
|
/** @description A Unix timestamp in seconds to filter results prior to this date. */
|
|
13979
|
-
from?: string
|
|
14083
|
+
from?: string | undefined
|
|
13980
14084
|
/** @description When defined, returns only reports for the associated repository slug. */
|
|
13981
|
-
repo?: string
|
|
14085
|
+
repo?: string | undefined
|
|
13982
14086
|
}
|
|
13983
14087
|
}
|
|
13984
14088
|
responses: {
|
|
@@ -14108,7 +14212,7 @@ export interface operations {
|
|
|
14108
14212
|
getRepoList: {
|
|
14109
14213
|
parameters: {
|
|
14110
14214
|
query?: {
|
|
14111
|
-
pageToken?: string
|
|
14215
|
+
pageToken?: string | undefined
|
|
14112
14216
|
}
|
|
14113
14217
|
}
|
|
14114
14218
|
responses: {
|