@socketsecurity/sdk 1.11.1 → 2.0.1
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 +43 -0
- package/README.md +53 -81
- package/dist/cacache-BCCSM36H.mjs +2 -0
- package/dist/chunk-3V7KNFWE.mjs +33 -0
- package/dist/chunk-LHGMBIJS.mjs +4 -0
- package/dist/chunk-UKECVIRQ.mjs +2 -0
- package/dist/constants.d.ts +8 -0
- package/dist/file-upload.d.ts +2 -2
- package/dist/http-client.d.ts +4 -2
- package/dist/index.mjs +35 -0
- package/dist/paths-NFJJ5RRD.mjs +2 -0
- package/dist/socket-sdk-class.d.ts +26 -1
- package/dist/testing.mjs +2 -0
- package/dist/types.d.ts +12 -6
- package/package.json +42 -89
- package/types/api-helpers.d.ts +63 -50
- package/types/api.d.ts +810 -899
- package/dist/constants.js +0 -30
- package/dist/file-upload.js +0 -142
- package/dist/http-client.js +0 -405
- package/dist/index.js +0 -47
- package/dist/package.json.js +0 -212
- package/dist/quota-utils.js +0 -175
- package/dist/socket-sdk-class.js +0 -1511
- package/dist/testing.js +0 -387
- package/dist/user-agent.js +0 -21
- package/dist/utils.js +0 -99
- package/requirements.json +0 -232
package/types/api.d.ts
CHANGED
|
@@ -135,6 +135,9 @@ export interface paths {
|
|
|
135
135
|
*
|
|
136
136
|
* The maximum number of files you can upload at a time is 5000 and each file can be no bigger than 67 MB.
|
|
137
137
|
*
|
|
138
|
+
* **Query Parameters:**
|
|
139
|
+
* - `scan_type` (optional): The type of scan to perform. Defaults to 'socket'. Must be 32 characters or less. Used for categorizing multiple SBOM heads per repository branch.
|
|
140
|
+
*
|
|
138
141
|
* This endpoint consumes 1 unit of your quota.
|
|
139
142
|
*
|
|
140
143
|
* This endpoint requires the following org token scopes:
|
|
@@ -1503,59 +1506,59 @@ export interface components {
|
|
|
1503
1506
|
}
|
|
1504
1507
|
SocketArtifact: components['schemas']['SocketPURL'] &
|
|
1505
1508
|
components['schemas']['SocketArtifactLink'] & {
|
|
1506
|
-
id?: components['schemas']['SocketId']
|
|
1509
|
+
id?: components['schemas']['SocketId']
|
|
1507
1510
|
/** @description List of package authors or maintainers */
|
|
1508
|
-
author?: string[]
|
|
1511
|
+
author?: string[]
|
|
1509
1512
|
/**
|
|
1510
1513
|
* @description Total size of the package artifact in bytes
|
|
1511
1514
|
* @default 0
|
|
1512
1515
|
*/
|
|
1513
|
-
size?: number
|
|
1516
|
+
size?: number
|
|
1514
1517
|
/**
|
|
1515
1518
|
* @description Hugging Face model, dataset, or space type
|
|
1516
1519
|
* @default
|
|
1517
1520
|
*/
|
|
1518
|
-
repositoryType?: string
|
|
1519
|
-
alerts?: Array<components['schemas']['SocketAlert']>
|
|
1520
|
-
score?: components['schemas']['SocketScore']
|
|
1521
|
-
patch?: components['schemas']['SocketArtifactPatch']
|
|
1521
|
+
repositoryType?: string
|
|
1522
|
+
alerts?: Array<components['schemas']['SocketAlert']>
|
|
1523
|
+
score?: components['schemas']['SocketScore']
|
|
1524
|
+
patch?: components['schemas']['SocketArtifactPatch']
|
|
1522
1525
|
/**
|
|
1523
1526
|
* @description Original unmodified PURL input string before normalization
|
|
1524
1527
|
* @default
|
|
1525
1528
|
*/
|
|
1526
|
-
inputPurl?: string
|
|
1529
|
+
inputPurl?: string
|
|
1527
1530
|
/**
|
|
1528
1531
|
* @description Deprecated: Always 0. Previously used for batch ordering but replaced by inputPurl for better tracking.
|
|
1529
1532
|
* @default 0
|
|
1530
1533
|
*/
|
|
1531
|
-
batchIndex?: number
|
|
1534
|
+
batchIndex?: number
|
|
1532
1535
|
/** @default */
|
|
1533
|
-
license?: string
|
|
1534
|
-
licenseDetails?: components['schemas']['LicenseDetails']
|
|
1535
|
-
licenseAttrib?: components['schemas']['SAttrib1_N']
|
|
1536
|
+
license?: string
|
|
1537
|
+
licenseDetails?: components['schemas']['LicenseDetails']
|
|
1538
|
+
licenseAttrib?: components['schemas']['SAttrib1_N']
|
|
1536
1539
|
}
|
|
1537
1540
|
SocketDiffArtifact: components['schemas']['SocketPURL'] & {
|
|
1538
1541
|
diffType: components['schemas']['SocketDiffArtifactType']
|
|
1539
|
-
id?: components['schemas']['SocketId']
|
|
1542
|
+
id?: components['schemas']['SocketId']
|
|
1540
1543
|
/** @description List of package authors or maintainers */
|
|
1541
|
-
author?: string[]
|
|
1544
|
+
author?: string[]
|
|
1542
1545
|
/** @description Artifact links from the base/before state */
|
|
1543
|
-
base?: Array<components['schemas']['SocketArtifactLink']>
|
|
1544
|
-
capabilities?: components['schemas']['Capabilities']
|
|
1546
|
+
base?: Array<components['schemas']['SocketArtifactLink']>
|
|
1547
|
+
capabilities?: components['schemas']['Capabilities']
|
|
1545
1548
|
/** @description Artifact links from the head/after state */
|
|
1546
|
-
head?: Array<components['schemas']['SocketArtifactLink']>
|
|
1547
|
-
qualifiers?: components['schemas']['Qualifiers']
|
|
1549
|
+
head?: Array<components['schemas']['SocketArtifactLink']>
|
|
1550
|
+
qualifiers?: components['schemas']['Qualifiers']
|
|
1548
1551
|
/**
|
|
1549
1552
|
* @description Total size of the package artifact in bytes
|
|
1550
1553
|
* @default 0
|
|
1551
1554
|
*/
|
|
1552
|
-
size?: number
|
|
1555
|
+
size?: number
|
|
1553
1556
|
/** @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']>
|
|
1557
|
+
license?: string
|
|
1558
|
+
licenseDetails?: components['schemas']['LicenseDetails']
|
|
1559
|
+
licenseAttrib?: components['schemas']['SAttrib1_N']
|
|
1560
|
+
score?: components['schemas']['SocketScore']
|
|
1561
|
+
alerts?: Array<components['schemas']['SocketAlert']>
|
|
1559
1562
|
}
|
|
1560
1563
|
CDXManifestSchema: {
|
|
1561
1564
|
/** @default CycloneDX */
|
|
@@ -1573,10 +1576,10 @@ export interface components {
|
|
|
1573
1576
|
components: Array<
|
|
1574
1577
|
components['schemas']['CDXComponentSchema'] & {
|
|
1575
1578
|
/** @default Socket */
|
|
1576
|
-
author?: string
|
|
1577
|
-
authors?: string[]
|
|
1579
|
+
author?: string
|
|
1580
|
+
authors?: string[]
|
|
1578
1581
|
/** @default Socket */
|
|
1579
|
-
publisher?: string
|
|
1582
|
+
publisher?: string
|
|
1580
1583
|
}
|
|
1581
1584
|
>
|
|
1582
1585
|
}
|
|
@@ -1585,7 +1588,7 @@ export interface components {
|
|
|
1585
1588
|
name: string
|
|
1586
1589
|
}>
|
|
1587
1590
|
/** @default */
|
|
1588
|
-
supplier?: string
|
|
1591
|
+
supplier?: string
|
|
1589
1592
|
lifecycles: Array<{
|
|
1590
1593
|
/** @default build */
|
|
1591
1594
|
phase: string
|
|
@@ -1602,7 +1605,7 @@ export interface components {
|
|
|
1602
1605
|
dependencies: Array<{
|
|
1603
1606
|
/** @default */
|
|
1604
1607
|
ref: string
|
|
1605
|
-
dependsOn?: string[]
|
|
1608
|
+
dependsOn?: string[]
|
|
1606
1609
|
}>
|
|
1607
1610
|
vulnerabilities?: Array<{
|
|
1608
1611
|
/** @default */
|
|
@@ -1611,67 +1614,67 @@ export interface components {
|
|
|
1611
1614
|
id: string
|
|
1612
1615
|
source?: {
|
|
1613
1616
|
/** @default */
|
|
1614
|
-
name?: string
|
|
1617
|
+
name?: string
|
|
1615
1618
|
/** @default */
|
|
1616
|
-
url?: string
|
|
1619
|
+
url?: string
|
|
1617
1620
|
}
|
|
1618
|
-
ratings?:
|
|
1621
|
+
ratings?: {
|
|
1619
1622
|
source?: {
|
|
1620
1623
|
/** @default */
|
|
1621
|
-
name?: string
|
|
1624
|
+
name?: string
|
|
1622
1625
|
/** @default */
|
|
1623
|
-
url?: string
|
|
1626
|
+
url?: string
|
|
1624
1627
|
}
|
|
1625
1628
|
/** @default 0 */
|
|
1626
|
-
score?: number
|
|
1629
|
+
score?: number
|
|
1627
1630
|
/** @default */
|
|
1628
|
-
severity?: string
|
|
1631
|
+
severity?: string
|
|
1629
1632
|
/** @default */
|
|
1630
|
-
method?: string
|
|
1633
|
+
method?: string
|
|
1631
1634
|
/** @default */
|
|
1632
|
-
vector?: string
|
|
1633
|
-
}
|
|
1634
|
-
cwes?: number[]
|
|
1635
|
+
vector?: string
|
|
1636
|
+
}[]
|
|
1637
|
+
cwes?: number[]
|
|
1635
1638
|
/** @default */
|
|
1636
|
-
description?: string
|
|
1639
|
+
description?: string
|
|
1637
1640
|
/** @default */
|
|
1638
|
-
detail?: string
|
|
1641
|
+
detail?: string
|
|
1639
1642
|
/** @default */
|
|
1640
|
-
recommendation?: string
|
|
1641
|
-
advisories?:
|
|
1643
|
+
recommendation?: string
|
|
1644
|
+
advisories?: {
|
|
1642
1645
|
/** @default */
|
|
1643
1646
|
url: string
|
|
1644
1647
|
/** @default */
|
|
1645
|
-
title?: string
|
|
1646
|
-
}
|
|
1648
|
+
title?: string
|
|
1649
|
+
}[]
|
|
1647
1650
|
/** @default */
|
|
1648
|
-
created?: string
|
|
1651
|
+
created?: string
|
|
1649
1652
|
/** @default */
|
|
1650
|
-
published?: string
|
|
1653
|
+
published?: string
|
|
1651
1654
|
/** @default */
|
|
1652
|
-
updated?: string
|
|
1653
|
-
affects?:
|
|
1655
|
+
updated?: string
|
|
1656
|
+
affects?: {
|
|
1654
1657
|
/** @default */
|
|
1655
1658
|
ref: string
|
|
1656
|
-
versions?:
|
|
1659
|
+
versions?: {
|
|
1657
1660
|
/** @default */
|
|
1658
|
-
version?: string
|
|
1661
|
+
version?: string
|
|
1659
1662
|
/** @default */
|
|
1660
|
-
status?: string
|
|
1661
|
-
}
|
|
1662
|
-
}
|
|
1663
|
+
status?: string
|
|
1664
|
+
}[]
|
|
1665
|
+
}[]
|
|
1663
1666
|
analysis?: {
|
|
1664
1667
|
/** @default */
|
|
1665
|
-
state?: string
|
|
1668
|
+
state?: string
|
|
1666
1669
|
/** @default */
|
|
1667
|
-
justification?: string
|
|
1668
|
-
response?: string[]
|
|
1670
|
+
justification?: string
|
|
1671
|
+
response?: string[]
|
|
1669
1672
|
/** @default */
|
|
1670
|
-
detail?: string
|
|
1673
|
+
detail?: string
|
|
1671
1674
|
/** @default */
|
|
1672
|
-
firstIssued?: string
|
|
1675
|
+
firstIssued?: string
|
|
1673
1676
|
/** @default */
|
|
1674
|
-
lastUpdated?: string
|
|
1677
|
+
lastUpdated?: string
|
|
1675
1678
|
}
|
|
1676
1679
|
}>
|
|
1677
1680
|
}
|
|
@@ -1702,31 +1705,31 @@ export interface components {
|
|
|
1702
1705
|
/** @default */
|
|
1703
1706
|
packageFileName: string
|
|
1704
1707
|
/** @default */
|
|
1705
|
-
description?: string
|
|
1708
|
+
description?: string
|
|
1706
1709
|
/** @default */
|
|
1707
|
-
primaryPackagePurpose?: string
|
|
1710
|
+
primaryPackagePurpose?: string
|
|
1708
1711
|
/** @default */
|
|
1709
|
-
downloadLocation?: string
|
|
1712
|
+
downloadLocation?: string
|
|
1710
1713
|
/** @default false */
|
|
1711
1714
|
filesAnalyzed: boolean
|
|
1712
1715
|
/** @default NOASSERTION */
|
|
1713
1716
|
homepage: string
|
|
1714
1717
|
/** @default NOASSERTION */
|
|
1715
1718
|
licenseDeclared: string
|
|
1716
|
-
externalRefs:
|
|
1719
|
+
externalRefs: {
|
|
1717
1720
|
/** @default PACKAGE-MANAGER */
|
|
1718
1721
|
referenceCategory: string
|
|
1719
1722
|
/** @default purl */
|
|
1720
1723
|
referenceType: string
|
|
1721
1724
|
/** @default */
|
|
1722
1725
|
referenceLocator: string
|
|
1723
|
-
}
|
|
1724
|
-
checksums?:
|
|
1726
|
+
}[]
|
|
1727
|
+
checksums?: {
|
|
1725
1728
|
/** @default */
|
|
1726
1729
|
algorithm: string
|
|
1727
1730
|
/** @default */
|
|
1728
1731
|
checksumValue: string
|
|
1729
|
-
}
|
|
1732
|
+
}[]
|
|
1730
1733
|
}>
|
|
1731
1734
|
relationships: Array<{
|
|
1732
1735
|
/** @default SPDXRef-DOCUMENT */
|
|
@@ -1820,12 +1823,12 @@ export interface components {
|
|
|
1820
1823
|
* @description Starting line or position in the manifest file
|
|
1821
1824
|
* @default 0
|
|
1822
1825
|
*/
|
|
1823
|
-
start?: number
|
|
1826
|
+
start?: number
|
|
1824
1827
|
/**
|
|
1825
1828
|
* @description Ending line or position in the manifest file
|
|
1826
1829
|
* @default 0
|
|
1827
1830
|
*/
|
|
1828
|
-
end?: number
|
|
1831
|
+
end?: number
|
|
1829
1832
|
}
|
|
1830
1833
|
/** @default */
|
|
1831
1834
|
SocketId: string
|
|
@@ -1889,27 +1892,27 @@ export interface components {
|
|
|
1889
1892
|
* @description Package namespace or scope, such as npm organizations (@angular), Maven groupIds, or Docker image owners
|
|
1890
1893
|
* @default
|
|
1891
1894
|
*/
|
|
1892
|
-
namespace?: string
|
|
1895
|
+
namespace?: string
|
|
1893
1896
|
/**
|
|
1894
1897
|
* @description Package name within its ecosystem
|
|
1895
1898
|
* @default
|
|
1896
1899
|
*/
|
|
1897
|
-
name?: string
|
|
1900
|
+
name?: string
|
|
1898
1901
|
/**
|
|
1899
1902
|
* @description Package version string
|
|
1900
1903
|
* @default
|
|
1901
1904
|
*/
|
|
1902
|
-
version?: string
|
|
1905
|
+
version?: string
|
|
1903
1906
|
/**
|
|
1904
1907
|
* @description Path within the package to a specific file or directory, used to reference nested components
|
|
1905
1908
|
* @default
|
|
1906
1909
|
*/
|
|
1907
|
-
subpath?: string
|
|
1910
|
+
subpath?: string
|
|
1908
1911
|
/**
|
|
1909
1912
|
* @description Package-specific release identifier, such as PyPI's artifact ID or the specific build/release version
|
|
1910
1913
|
* @default
|
|
1911
1914
|
*/
|
|
1912
|
-
release?: string
|
|
1915
|
+
release?: string
|
|
1913
1916
|
}
|
|
1914
1917
|
SocketAlert: {
|
|
1915
1918
|
/**
|
|
@@ -1922,33 +1925,33 @@ export interface components {
|
|
|
1922
1925
|
* @default
|
|
1923
1926
|
*/
|
|
1924
1927
|
type: string
|
|
1925
|
-
severity?: components['schemas']['SocketIssueSeverity']
|
|
1926
|
-
category?: components['schemas']['SocketCategory']
|
|
1928
|
+
severity?: components['schemas']['SocketIssueSeverity']
|
|
1929
|
+
category?: components['schemas']['SocketCategory']
|
|
1927
1930
|
/**
|
|
1928
1931
|
* @description File path where this alert was detected
|
|
1929
1932
|
* @default
|
|
1930
1933
|
*/
|
|
1931
|
-
file?: string
|
|
1934
|
+
file?: string
|
|
1932
1935
|
/**
|
|
1933
1936
|
* @description Starting position of the alert in the file
|
|
1934
1937
|
* @default 0
|
|
1935
1938
|
*/
|
|
1936
|
-
start?: number
|
|
1939
|
+
start?: number
|
|
1937
1940
|
/**
|
|
1938
1941
|
* @description Ending position of the alert in the file
|
|
1939
1942
|
* @default 0
|
|
1940
1943
|
*/
|
|
1941
|
-
end?: number
|
|
1944
|
+
end?: number
|
|
1942
1945
|
/**
|
|
1943
1946
|
* @description Additional alert-specific properties and metadata that vary by alert type
|
|
1944
1947
|
* @default null
|
|
1945
1948
|
*/
|
|
1946
|
-
props?: Record<string, never>
|
|
1949
|
+
props?: Record<string, never>
|
|
1947
1950
|
/**
|
|
1948
1951
|
* @description Action to take for this alert (e.g., error, warn, ignore)
|
|
1949
1952
|
* @default
|
|
1950
1953
|
*/
|
|
1951
|
-
action?: string
|
|
1954
|
+
action?: string
|
|
1952
1955
|
actionSource?: {
|
|
1953
1956
|
/**
|
|
1954
1957
|
* @description Type of action source (e.g., policy, override)
|
|
@@ -1982,7 +1985,7 @@ export interface components {
|
|
|
1982
1985
|
* @description Index of the policy rule that triggered this action, for traceability to security policies
|
|
1983
1986
|
* @default 0
|
|
1984
1987
|
*/
|
|
1985
|
-
actionPolicyIndex?: number
|
|
1988
|
+
actionPolicyIndex?: number
|
|
1986
1989
|
fix?: {
|
|
1987
1990
|
/**
|
|
1988
1991
|
* @description Type of fix available (e.g., upgrade, remove, cve)
|
|
@@ -2011,24 +2014,24 @@ export interface components {
|
|
|
2011
2014
|
* @description Indicates if this patch is deprecated and should not be used
|
|
2012
2015
|
* @default false
|
|
2013
2016
|
*/
|
|
2014
|
-
deprecated?: boolean
|
|
2017
|
+
deprecated?: boolean
|
|
2015
2018
|
}>
|
|
2016
2019
|
}
|
|
2017
|
-
patch?: components['schemas']['SocketPatch']
|
|
2020
|
+
patch?: components['schemas']['SocketPatch']
|
|
2018
2021
|
reachability?: {
|
|
2019
|
-
head?: components['schemas']['ReachabilityResult']
|
|
2020
|
-
base?: components['schemas']['ReachabilityResult']
|
|
2022
|
+
head?: components['schemas']['ReachabilityResult']
|
|
2023
|
+
base?: components['schemas']['ReachabilityResult']
|
|
2021
2024
|
}
|
|
2022
2025
|
/**
|
|
2023
2026
|
* @description Generic alert sub-type
|
|
2024
2027
|
* @default
|
|
2025
2028
|
*/
|
|
2026
|
-
subType?: string
|
|
2029
|
+
subType?: string
|
|
2027
2030
|
}
|
|
2028
2031
|
SocketArtifactPatch: {
|
|
2029
|
-
appliedPatch?: components['schemas']['SocketPatch']
|
|
2032
|
+
appliedPatch?: components['schemas']['SocketPatch']
|
|
2030
2033
|
/** @description List of available patches that can be applied to fix vulnerabilities */
|
|
2031
|
-
availablePatches?: Array<components['schemas']['SocketPatch']>
|
|
2034
|
+
availablePatches?: Array<components['schemas']['SocketPatch']>
|
|
2032
2035
|
}
|
|
2033
2036
|
LicenseDetails: Array<{
|
|
2034
2037
|
/**
|
|
@@ -2065,7 +2068,7 @@ export interface components {
|
|
|
2065
2068
|
* @default
|
|
2066
2069
|
*/
|
|
2067
2070
|
attribText: string
|
|
2068
|
-
attribData:
|
|
2071
|
+
attribData: {
|
|
2069
2072
|
/**
|
|
2070
2073
|
* @description Package URL this attribution applies to
|
|
2071
2074
|
* @default
|
|
@@ -2083,31 +2086,29 @@ export interface components {
|
|
|
2083
2086
|
spdxExpr: string
|
|
2084
2087
|
/** @description Authors mentioned in this attribution */
|
|
2085
2088
|
foundAuthors: string[]
|
|
2086
|
-
}
|
|
2089
|
+
}[]
|
|
2087
2090
|
}>
|
|
2088
2091
|
SocketArtifactLink: {
|
|
2089
2092
|
/**
|
|
2090
2093
|
* @description Indicates if this is a direct dependency (not transitive)
|
|
2091
2094
|
* @default false
|
|
2092
2095
|
*/
|
|
2093
|
-
direct?: boolean
|
|
2096
|
+
direct?: boolean
|
|
2094
2097
|
/**
|
|
2095
2098
|
* @description Indicates if this is a development-only dependency not used in production
|
|
2096
2099
|
* @default false
|
|
2097
2100
|
*/
|
|
2098
|
-
dev?: boolean
|
|
2101
|
+
dev?: boolean
|
|
2099
2102
|
/**
|
|
2100
2103
|
* @description Indicates if this package is deprecated, abandoned, or no longer maintained
|
|
2101
2104
|
* @default false
|
|
2102
2105
|
*/
|
|
2103
|
-
dead?: boolean
|
|
2104
|
-
manifestFiles?:
|
|
2105
|
-
| Array<components['schemas']['SocketManifestReference']>
|
|
2106
|
-
| undefined
|
|
2106
|
+
dead?: boolean
|
|
2107
|
+
manifestFiles?: Array<components['schemas']['SocketManifestReference']>
|
|
2107
2108
|
/** @description IDs of the root-level packages in the dependency tree that depend on this package */
|
|
2108
|
-
topLevelAncestors?: Array<components['schemas']['SocketId']>
|
|
2109
|
+
topLevelAncestors?: Array<components['schemas']['SocketId']>
|
|
2109
2110
|
/** @description IDs of packages that this package directly depends on */
|
|
2110
|
-
dependencies?: Array<components['schemas']['SocketId']>
|
|
2111
|
+
dependencies?: Array<components['schemas']['SocketId']>
|
|
2111
2112
|
/** @description Computed priority scores for each alert type based on severity, reachability, and fixability factors */
|
|
2112
2113
|
alertPriorities?: {
|
|
2113
2114
|
[key: string]: {
|
|
@@ -2163,7 +2164,7 @@ export interface components {
|
|
|
2163
2164
|
* @description Formula used to calculate the priority score
|
|
2164
2165
|
* @default
|
|
2165
2166
|
*/
|
|
2166
|
-
formula?: string
|
|
2167
|
+
formula?: string
|
|
2167
2168
|
}
|
|
2168
2169
|
}
|
|
2169
2170
|
artifact?: components['schemas']['SocketPURL'] & {
|
|
@@ -2196,9 +2197,9 @@ export interface components {
|
|
|
2196
2197
|
| 'unchanged'
|
|
2197
2198
|
CDXComponentSchema: {
|
|
2198
2199
|
/** @default */
|
|
2199
|
-
author?: string
|
|
2200
|
+
author?: string
|
|
2200
2201
|
/** @default */
|
|
2201
|
-
publisher?: string
|
|
2202
|
+
publisher?: string
|
|
2202
2203
|
/** @default */
|
|
2203
2204
|
group: string
|
|
2204
2205
|
/** @default */
|
|
@@ -2206,9 +2207,9 @@ export interface components {
|
|
|
2206
2207
|
/** @default */
|
|
2207
2208
|
version: string
|
|
2208
2209
|
/** @default */
|
|
2209
|
-
description?: string
|
|
2210
|
+
description?: string
|
|
2210
2211
|
/** @default */
|
|
2211
|
-
scope?: string
|
|
2212
|
+
scope?: string
|
|
2212
2213
|
hashes?: Array<{
|
|
2213
2214
|
/** @default */
|
|
2214
2215
|
alg: string
|
|
@@ -2217,14 +2218,14 @@ export interface components {
|
|
|
2217
2218
|
}>
|
|
2218
2219
|
licenses?: Array<{
|
|
2219
2220
|
/** @default */
|
|
2220
|
-
expression?: string
|
|
2221
|
+
expression?: string
|
|
2221
2222
|
license?: {
|
|
2222
2223
|
/** @default */
|
|
2223
|
-
id?: string
|
|
2224
|
+
id?: string
|
|
2224
2225
|
/** @default */
|
|
2225
|
-
name?: string
|
|
2226
|
+
name?: string
|
|
2226
2227
|
/** @default */
|
|
2227
|
-
url?: string
|
|
2228
|
+
url?: string
|
|
2228
2229
|
}
|
|
2229
2230
|
}>
|
|
2230
2231
|
/** @default */
|
|
@@ -2259,7 +2260,7 @@ export interface components {
|
|
|
2259
2260
|
location: string
|
|
2260
2261
|
}>
|
|
2261
2262
|
}
|
|
2262
|
-
tags?: string[]
|
|
2263
|
+
tags?: string[]
|
|
2263
2264
|
properties?: Array<{
|
|
2264
2265
|
/** @default */
|
|
2265
2266
|
name: string
|
|
@@ -2276,9 +2277,7 @@ export interface components {
|
|
|
2276
2277
|
implementationPlatform: string
|
|
2277
2278
|
}
|
|
2278
2279
|
}>
|
|
2279
|
-
components?:
|
|
2280
|
-
| Array<components['schemas']['CDXComponentSchema']>
|
|
2281
|
-
| undefined
|
|
2280
|
+
components?: Array<components['schemas']['CDXComponentSchema']>
|
|
2282
2281
|
}
|
|
2283
2282
|
LicenseAllowListElabbed: {
|
|
2284
2283
|
strings: string[]
|
|
@@ -2289,7 +2288,7 @@ export interface components {
|
|
|
2289
2288
|
SocketIssue:
|
|
2290
2289
|
| {
|
|
2291
2290
|
/** @enum {string} */
|
|
2292
|
-
type?: 'gptSecurity'
|
|
2291
|
+
type?: 'gptSecurity'
|
|
2293
2292
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2294
2293
|
/** @default */
|
|
2295
2294
|
description: string
|
|
@@ -2301,12 +2300,12 @@ export interface components {
|
|
|
2301
2300
|
/** @default 0 */
|
|
2302
2301
|
severity: number
|
|
2303
2302
|
}
|
|
2304
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2303
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
2305
2304
|
}
|
|
2306
2305
|
}
|
|
2307
2306
|
| {
|
|
2308
2307
|
/** @enum {string} */
|
|
2309
|
-
type?: 'gptAnomaly'
|
|
2308
|
+
type?: 'gptAnomaly'
|
|
2310
2309
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2311
2310
|
/** @default */
|
|
2312
2311
|
description: string
|
|
@@ -2323,12 +2322,12 @@ export interface components {
|
|
|
2323
2322
|
*/
|
|
2324
2323
|
risk: 'low' | 'medium' | 'high'
|
|
2325
2324
|
}
|
|
2326
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2325
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
2327
2326
|
}
|
|
2328
2327
|
}
|
|
2329
2328
|
| {
|
|
2330
2329
|
/** @enum {string} */
|
|
2331
|
-
type?: 'gptMalware'
|
|
2330
|
+
type?: 'gptMalware'
|
|
2332
2331
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2333
2332
|
/** @default */
|
|
2334
2333
|
description: string
|
|
@@ -2340,12 +2339,12 @@ export interface components {
|
|
|
2340
2339
|
/** @default 0 */
|
|
2341
2340
|
severity: number
|
|
2342
2341
|
}
|
|
2343
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2342
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
2344
2343
|
}
|
|
2345
2344
|
}
|
|
2346
2345
|
| {
|
|
2347
2346
|
/** @enum {string} */
|
|
2348
|
-
type?: 'filesystemAccess'
|
|
2347
|
+
type?: 'filesystemAccess'
|
|
2349
2348
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2350
2349
|
/** @default */
|
|
2351
2350
|
description: string
|
|
@@ -2353,12 +2352,12 @@ export interface components {
|
|
|
2353
2352
|
/** @default fs */
|
|
2354
2353
|
module: string
|
|
2355
2354
|
}
|
|
2356
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2355
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
2357
2356
|
}
|
|
2358
2357
|
}
|
|
2359
2358
|
| {
|
|
2360
2359
|
/** @enum {string} */
|
|
2361
|
-
type?: 'networkAccess'
|
|
2360
|
+
type?: 'networkAccess'
|
|
2362
2361
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2363
2362
|
/** @default */
|
|
2364
2363
|
description: string
|
|
@@ -2366,12 +2365,12 @@ export interface components {
|
|
|
2366
2365
|
/** @default net */
|
|
2367
2366
|
module: string
|
|
2368
2367
|
}
|
|
2369
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2368
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
2370
2369
|
}
|
|
2371
2370
|
}
|
|
2372
2371
|
| {
|
|
2373
2372
|
/** @enum {string} */
|
|
2374
|
-
type?: 'shellAccess'
|
|
2373
|
+
type?: 'shellAccess'
|
|
2375
2374
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2376
2375
|
/** @default */
|
|
2377
2376
|
description: string
|
|
@@ -2379,12 +2378,12 @@ export interface components {
|
|
|
2379
2378
|
/** @default child_process */
|
|
2380
2379
|
module: string
|
|
2381
2380
|
}
|
|
2382
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2381
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
2383
2382
|
}
|
|
2384
2383
|
}
|
|
2385
2384
|
| {
|
|
2386
2385
|
/** @enum {string} */
|
|
2387
|
-
type?: 'debugAccess'
|
|
2386
|
+
type?: 'debugAccess'
|
|
2388
2387
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2389
2388
|
/** @default */
|
|
2390
2389
|
description: string
|
|
@@ -2392,12 +2391,12 @@ export interface components {
|
|
|
2392
2391
|
/** @default vm */
|
|
2393
2392
|
module: string
|
|
2394
2393
|
}
|
|
2395
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2394
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
2396
2395
|
}
|
|
2397
2396
|
}
|
|
2398
2397
|
| {
|
|
2399
2398
|
/** @enum {string} */
|
|
2400
|
-
type?: 'chromePermission'
|
|
2399
|
+
type?: 'chromePermission'
|
|
2401
2400
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2402
2401
|
/** @default */
|
|
2403
2402
|
description: string
|
|
@@ -2407,12 +2406,12 @@ export interface components {
|
|
|
2407
2406
|
/** @default */
|
|
2408
2407
|
permissionType: string
|
|
2409
2408
|
}
|
|
2410
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2409
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
2411
2410
|
}
|
|
2412
2411
|
}
|
|
2413
2412
|
| {
|
|
2414
2413
|
/** @enum {string} */
|
|
2415
|
-
type?: 'chromeHostPermission'
|
|
2414
|
+
type?: 'chromeHostPermission'
|
|
2416
2415
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2417
2416
|
/** @default */
|
|
2418
2417
|
description: string
|
|
@@ -2422,12 +2421,12 @@ export interface components {
|
|
|
2422
2421
|
/** @default */
|
|
2423
2422
|
permissionType: string
|
|
2424
2423
|
}
|
|
2425
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2424
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
2426
2425
|
}
|
|
2427
2426
|
}
|
|
2428
2427
|
| {
|
|
2429
2428
|
/** @enum {string} */
|
|
2430
|
-
type?: 'chromeWildcardHostPermission'
|
|
2429
|
+
type?: 'chromeWildcardHostPermission'
|
|
2431
2430
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2432
2431
|
/** @default */
|
|
2433
2432
|
description: string
|
|
@@ -2437,12 +2436,12 @@ export interface components {
|
|
|
2437
2436
|
/** @default */
|
|
2438
2437
|
permissionType: string
|
|
2439
2438
|
}
|
|
2440
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2439
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
2441
2440
|
}
|
|
2442
2441
|
}
|
|
2443
2442
|
| {
|
|
2444
2443
|
/** @enum {string} */
|
|
2445
|
-
type?: 'chromeContentScript'
|
|
2444
|
+
type?: 'chromeContentScript'
|
|
2446
2445
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2447
2446
|
/** @default */
|
|
2448
2447
|
description: string
|
|
@@ -2454,12 +2453,12 @@ export interface components {
|
|
|
2454
2453
|
/** @default */
|
|
2455
2454
|
runAt: string
|
|
2456
2455
|
}
|
|
2457
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2456
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
2458
2457
|
}
|
|
2459
2458
|
}
|
|
2460
2459
|
| {
|
|
2461
2460
|
/** @enum {string} */
|
|
2462
|
-
type?: 'criticalCVE'
|
|
2461
|
+
type?: 'criticalCVE'
|
|
2463
2462
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2464
2463
|
/** @default */
|
|
2465
2464
|
description: string
|
|
@@ -2553,12 +2552,12 @@ export interface components {
|
|
|
2553
2552
|
percentile: number
|
|
2554
2553
|
} | null
|
|
2555
2554
|
}
|
|
2556
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2555
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
2557
2556
|
}
|
|
2558
2557
|
}
|
|
2559
2558
|
| {
|
|
2560
2559
|
/** @enum {string} */
|
|
2561
|
-
type?: 'cve'
|
|
2560
|
+
type?: 'cve'
|
|
2562
2561
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2563
2562
|
/** @default */
|
|
2564
2563
|
description: string
|
|
@@ -2652,12 +2651,12 @@ export interface components {
|
|
|
2652
2651
|
percentile: number
|
|
2653
2652
|
} | null
|
|
2654
2653
|
}
|
|
2655
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2654
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
2656
2655
|
}
|
|
2657
2656
|
}
|
|
2658
2657
|
| {
|
|
2659
2658
|
/** @enum {string} */
|
|
2660
|
-
type?: 'mediumCVE'
|
|
2659
|
+
type?: 'mediumCVE'
|
|
2661
2660
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2662
2661
|
/** @default */
|
|
2663
2662
|
description: string
|
|
@@ -2751,12 +2750,12 @@ export interface components {
|
|
|
2751
2750
|
percentile: number
|
|
2752
2751
|
} | null
|
|
2753
2752
|
}
|
|
2754
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2753
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
2755
2754
|
}
|
|
2756
2755
|
}
|
|
2757
2756
|
| {
|
|
2758
2757
|
/** @enum {string} */
|
|
2759
|
-
type?: 'mildCVE'
|
|
2758
|
+
type?: 'mildCVE'
|
|
2760
2759
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2761
2760
|
/** @default */
|
|
2762
2761
|
description: string
|
|
@@ -2850,22 +2849,22 @@ export interface components {
|
|
|
2850
2849
|
percentile: number
|
|
2851
2850
|
} | null
|
|
2852
2851
|
}
|
|
2853
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2852
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
2854
2853
|
}
|
|
2855
2854
|
}
|
|
2856
2855
|
| {
|
|
2857
2856
|
/** @enum {string} */
|
|
2858
|
-
type?: 'emptyPackage'
|
|
2857
|
+
type?: 'emptyPackage'
|
|
2859
2858
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2860
2859
|
/** @default */
|
|
2861
2860
|
description: string
|
|
2862
2861
|
props: Record<string, never>
|
|
2863
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2862
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
2864
2863
|
}
|
|
2865
2864
|
}
|
|
2866
2865
|
| {
|
|
2867
2866
|
/** @enum {string} */
|
|
2868
|
-
type?: 'trivialPackage'
|
|
2867
|
+
type?: 'trivialPackage'
|
|
2869
2868
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2870
2869
|
/** @default */
|
|
2871
2870
|
description: string
|
|
@@ -2873,32 +2872,32 @@ export interface components {
|
|
|
2873
2872
|
/** @default 0 */
|
|
2874
2873
|
linesOfCode: number
|
|
2875
2874
|
}
|
|
2876
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2875
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
2877
2876
|
}
|
|
2878
2877
|
}
|
|
2879
2878
|
| {
|
|
2880
2879
|
/** @enum {string} */
|
|
2881
|
-
type?: 'noREADME'
|
|
2880
|
+
type?: 'noREADME'
|
|
2882
2881
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2883
2882
|
/** @default */
|
|
2884
2883
|
description: string
|
|
2885
2884
|
props: Record<string, never>
|
|
2886
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2885
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
2887
2886
|
}
|
|
2888
2887
|
}
|
|
2889
2888
|
| {
|
|
2890
2889
|
/** @enum {string} */
|
|
2891
|
-
type?: 'shrinkwrap'
|
|
2890
|
+
type?: 'shrinkwrap'
|
|
2892
2891
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2893
2892
|
/** @default */
|
|
2894
2893
|
description: string
|
|
2895
2894
|
props: Record<string, never>
|
|
2896
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2895
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
2897
2896
|
}
|
|
2898
2897
|
}
|
|
2899
2898
|
| {
|
|
2900
2899
|
/** @enum {string} */
|
|
2901
|
-
type?: 'generic'
|
|
2900
|
+
type?: 'generic'
|
|
2902
2901
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2903
2902
|
/** @default */
|
|
2904
2903
|
description: string
|
|
@@ -2908,12 +2907,12 @@ export interface components {
|
|
|
2908
2907
|
/** @default */
|
|
2909
2908
|
description: string
|
|
2910
2909
|
}
|
|
2911
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2910
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
2912
2911
|
}
|
|
2913
2912
|
}
|
|
2914
2913
|
| {
|
|
2915
2914
|
/** @enum {string} */
|
|
2916
|
-
type?: 'licenseSpdxDisj'
|
|
2915
|
+
type?: 'licenseSpdxDisj'
|
|
2917
2916
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2918
2917
|
/** @default */
|
|
2919
2918
|
description: string
|
|
@@ -2926,22 +2925,22 @@ export interface components {
|
|
|
2926
2925
|
warnData: Array<Record<string, never>>
|
|
2927
2926
|
monitorData: Array<Record<string, never>>
|
|
2928
2927
|
}
|
|
2929
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2928
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
2930
2929
|
}
|
|
2931
2930
|
}
|
|
2932
2931
|
| {
|
|
2933
2932
|
/** @enum {string} */
|
|
2934
|
-
type?: 'unsafeCopyright'
|
|
2933
|
+
type?: 'unsafeCopyright'
|
|
2935
2934
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2936
2935
|
/** @default */
|
|
2937
2936
|
description: string
|
|
2938
2937
|
props: Record<string, never>
|
|
2939
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2938
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
2940
2939
|
}
|
|
2941
2940
|
}
|
|
2942
2941
|
| {
|
|
2943
2942
|
/** @enum {string} */
|
|
2944
|
-
type?: 'licenseChange'
|
|
2943
|
+
type?: 'licenseChange'
|
|
2945
2944
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2946
2945
|
/** @default */
|
|
2947
2946
|
description: string
|
|
@@ -2951,12 +2950,12 @@ export interface components {
|
|
|
2951
2950
|
/** @default */
|
|
2952
2951
|
newLicenseId: string
|
|
2953
2952
|
}
|
|
2954
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2953
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
2955
2954
|
}
|
|
2956
2955
|
}
|
|
2957
2956
|
| {
|
|
2958
2957
|
/** @enum {string} */
|
|
2959
|
-
type?: 'nonOSILicense'
|
|
2958
|
+
type?: 'nonOSILicense'
|
|
2960
2959
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2961
2960
|
/** @default */
|
|
2962
2961
|
description: string
|
|
@@ -2964,12 +2963,12 @@ export interface components {
|
|
|
2964
2963
|
/** @default */
|
|
2965
2964
|
licenseId: string
|
|
2966
2965
|
}
|
|
2967
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2966
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
2968
2967
|
}
|
|
2969
2968
|
}
|
|
2970
2969
|
| {
|
|
2971
2970
|
/** @enum {string} */
|
|
2972
|
-
type?: 'deprecatedLicense'
|
|
2971
|
+
type?: 'deprecatedLicense'
|
|
2973
2972
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2974
2973
|
/** @default */
|
|
2975
2974
|
description: string
|
|
@@ -2977,32 +2976,32 @@ export interface components {
|
|
|
2977
2976
|
/** @default */
|
|
2978
2977
|
licenseId: string
|
|
2979
2978
|
}
|
|
2980
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2979
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
2981
2980
|
}
|
|
2982
2981
|
}
|
|
2983
2982
|
| {
|
|
2984
2983
|
/** @enum {string} */
|
|
2985
|
-
type?: 'missingLicense'
|
|
2984
|
+
type?: 'missingLicense'
|
|
2986
2985
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2987
2986
|
/** @default */
|
|
2988
2987
|
description: string
|
|
2989
2988
|
props: Record<string, never>
|
|
2990
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2989
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
2991
2990
|
}
|
|
2992
2991
|
}
|
|
2993
2992
|
| {
|
|
2994
2993
|
/** @enum {string} */
|
|
2995
|
-
type?: 'nonSPDXLicense'
|
|
2994
|
+
type?: 'nonSPDXLicense'
|
|
2996
2995
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2997
2996
|
/** @default */
|
|
2998
2997
|
description: string
|
|
2999
2998
|
props: Record<string, never>
|
|
3000
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
2999
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3001
3000
|
}
|
|
3002
3001
|
}
|
|
3003
3002
|
| {
|
|
3004
3003
|
/** @enum {string} */
|
|
3005
|
-
type?: 'unclearLicense'
|
|
3004
|
+
type?: 'unclearLicense'
|
|
3006
3005
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3007
3006
|
/** @default */
|
|
3008
3007
|
description: string
|
|
@@ -3010,12 +3009,12 @@ export interface components {
|
|
|
3010
3009
|
/** @default */
|
|
3011
3010
|
possibleLicenseId: string
|
|
3012
3011
|
}
|
|
3013
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3012
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3014
3013
|
}
|
|
3015
3014
|
}
|
|
3016
3015
|
| {
|
|
3017
3016
|
/** @enum {string} */
|
|
3018
|
-
type?: 'mixedLicense'
|
|
3017
|
+
type?: 'mixedLicense'
|
|
3019
3018
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3020
3019
|
/** @default */
|
|
3021
3020
|
description: string
|
|
@@ -3023,22 +3022,22 @@ export interface components {
|
|
|
3023
3022
|
/** @default */
|
|
3024
3023
|
licenseId: string
|
|
3025
3024
|
}
|
|
3026
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3025
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3027
3026
|
}
|
|
3028
3027
|
}
|
|
3029
3028
|
| {
|
|
3030
3029
|
/** @enum {string} */
|
|
3031
|
-
type?: 'notice'
|
|
3030
|
+
type?: 'notice'
|
|
3032
3031
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3033
3032
|
/** @default */
|
|
3034
3033
|
description: string
|
|
3035
3034
|
props: Record<string, never>
|
|
3036
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3035
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3037
3036
|
}
|
|
3038
3037
|
}
|
|
3039
3038
|
| {
|
|
3040
3039
|
/** @enum {string} */
|
|
3041
|
-
type?: 'modifiedLicense'
|
|
3040
|
+
type?: 'modifiedLicense'
|
|
3042
3041
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3043
3042
|
/** @default */
|
|
3044
3043
|
description: string
|
|
@@ -3048,12 +3047,12 @@ export interface components {
|
|
|
3048
3047
|
/** @default 0 */
|
|
3049
3048
|
similarity: number
|
|
3050
3049
|
}
|
|
3051
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3050
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3052
3051
|
}
|
|
3053
3052
|
}
|
|
3054
3053
|
| {
|
|
3055
3054
|
/** @enum {string} */
|
|
3056
|
-
type?: 'modifiedException'
|
|
3055
|
+
type?: 'modifiedException'
|
|
3057
3056
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3058
3057
|
/** @default */
|
|
3059
3058
|
description: string
|
|
@@ -3065,12 +3064,12 @@ export interface components {
|
|
|
3065
3064
|
/** @default */
|
|
3066
3065
|
comments: string
|
|
3067
3066
|
}
|
|
3068
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3067
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3069
3068
|
}
|
|
3070
3069
|
}
|
|
3071
3070
|
| {
|
|
3072
3071
|
/** @enum {string} */
|
|
3073
|
-
type?: 'licenseException'
|
|
3072
|
+
type?: 'licenseException'
|
|
3074
3073
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3075
3074
|
/** @default */
|
|
3076
3075
|
description: string
|
|
@@ -3080,12 +3079,12 @@ export interface components {
|
|
|
3080
3079
|
/** @default */
|
|
3081
3080
|
comments: string
|
|
3082
3081
|
}
|
|
3083
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3082
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3084
3083
|
}
|
|
3085
3084
|
}
|
|
3086
3085
|
| {
|
|
3087
3086
|
/** @enum {string} */
|
|
3088
|
-
type?: 'deprecatedException'
|
|
3087
|
+
type?: 'deprecatedException'
|
|
3089
3088
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3090
3089
|
/** @default */
|
|
3091
3090
|
description: string
|
|
@@ -3095,12 +3094,12 @@ export interface components {
|
|
|
3095
3094
|
/** @default */
|
|
3096
3095
|
comments: string
|
|
3097
3096
|
}
|
|
3098
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3097
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3099
3098
|
}
|
|
3100
3099
|
}
|
|
3101
3100
|
| {
|
|
3102
3101
|
/** @enum {string} */
|
|
3103
|
-
type?: 'miscLicenseIssues'
|
|
3102
|
+
type?: 'miscLicenseIssues'
|
|
3104
3103
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3105
3104
|
/** @default */
|
|
3106
3105
|
description: string
|
|
@@ -3110,12 +3109,12 @@ export interface components {
|
|
|
3110
3109
|
/** @default */
|
|
3111
3110
|
location: string
|
|
3112
3111
|
}
|
|
3113
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3112
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3114
3113
|
}
|
|
3115
3114
|
}
|
|
3116
3115
|
| {
|
|
3117
3116
|
/** @enum {string} */
|
|
3118
|
-
type?: 'unidentifiedLicense'
|
|
3117
|
+
type?: 'unidentifiedLicense'
|
|
3119
3118
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3120
3119
|
/** @default */
|
|
3121
3120
|
description: string
|
|
@@ -3129,22 +3128,22 @@ export interface components {
|
|
|
3129
3128
|
/** @default 0 */
|
|
3130
3129
|
match_strength: number
|
|
3131
3130
|
}
|
|
3132
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3131
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3133
3132
|
}
|
|
3134
3133
|
}
|
|
3135
3134
|
| {
|
|
3136
3135
|
/** @enum {string} */
|
|
3137
|
-
type?: 'noLicenseFound'
|
|
3136
|
+
type?: 'noLicenseFound'
|
|
3138
3137
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3139
3138
|
/** @default */
|
|
3140
3139
|
description: string
|
|
3141
3140
|
props: Record<string, never>
|
|
3142
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3141
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3143
3142
|
}
|
|
3144
3143
|
}
|
|
3145
3144
|
| {
|
|
3146
3145
|
/** @enum {string} */
|
|
3147
|
-
type?: 'explicitlyUnlicensedItem'
|
|
3146
|
+
type?: 'explicitlyUnlicensedItem'
|
|
3148
3147
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3149
3148
|
/** @default */
|
|
3150
3149
|
description: string
|
|
@@ -3156,12 +3155,12 @@ export interface components {
|
|
|
3156
3155
|
/** @default */
|
|
3157
3156
|
maybeTruncatedSource: string
|
|
3158
3157
|
}
|
|
3159
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3158
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3160
3159
|
}
|
|
3161
3160
|
}
|
|
3162
3161
|
| {
|
|
3163
3162
|
/** @enum {string} */
|
|
3164
|
-
type?: 'copyleftLicense'
|
|
3163
|
+
type?: 'copyleftLicense'
|
|
3165
3164
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3166
3165
|
/** @default */
|
|
3167
3166
|
description: string
|
|
@@ -3169,12 +3168,12 @@ export interface components {
|
|
|
3169
3168
|
/** @default */
|
|
3170
3169
|
licenseId: string
|
|
3171
3170
|
}
|
|
3172
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3171
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3173
3172
|
}
|
|
3174
3173
|
}
|
|
3175
3174
|
| {
|
|
3176
3175
|
/** @enum {string} */
|
|
3177
|
-
type?: 'nonpermissiveLicense'
|
|
3176
|
+
type?: 'nonpermissiveLicense'
|
|
3178
3177
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3179
3178
|
/** @default */
|
|
3180
3179
|
description: string
|
|
@@ -3182,12 +3181,12 @@ export interface components {
|
|
|
3182
3181
|
/** @default */
|
|
3183
3182
|
licenseId: string
|
|
3184
3183
|
}
|
|
3185
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3184
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3186
3185
|
}
|
|
3187
3186
|
}
|
|
3188
3187
|
| {
|
|
3189
3188
|
/** @enum {string} */
|
|
3190
|
-
type?: 'ambiguousClassifier'
|
|
3189
|
+
type?: 'ambiguousClassifier'
|
|
3191
3190
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3192
3191
|
/** @default */
|
|
3193
3192
|
description: string
|
|
@@ -3199,22 +3198,22 @@ export interface components {
|
|
|
3199
3198
|
/** @default {} */
|
|
3200
3199
|
maybeByteSpan: Record<string, never>
|
|
3201
3200
|
}
|
|
3202
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3201
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3203
3202
|
}
|
|
3204
3203
|
}
|
|
3205
3204
|
| {
|
|
3206
3205
|
/** @enum {string} */
|
|
3207
|
-
type?: 'invalidPackageJSON'
|
|
3206
|
+
type?: 'invalidPackageJSON'
|
|
3208
3207
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3209
3208
|
/** @default */
|
|
3210
3209
|
description: string
|
|
3211
3210
|
props: Record<string, never>
|
|
3212
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3211
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3213
3212
|
}
|
|
3214
3213
|
}
|
|
3215
3214
|
| {
|
|
3216
3215
|
/** @enum {string} */
|
|
3217
|
-
type?: 'httpDependency'
|
|
3216
|
+
type?: 'httpDependency'
|
|
3218
3217
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3219
3218
|
/** @default */
|
|
3220
3219
|
description: string
|
|
@@ -3224,12 +3223,12 @@ export interface components {
|
|
|
3224
3223
|
/** @default */
|
|
3225
3224
|
url: string
|
|
3226
3225
|
}
|
|
3227
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3226
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3228
3227
|
}
|
|
3229
3228
|
}
|
|
3230
3229
|
| {
|
|
3231
3230
|
/** @enum {string} */
|
|
3232
|
-
type?: 'gitDependency'
|
|
3231
|
+
type?: 'gitDependency'
|
|
3233
3232
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3234
3233
|
/** @default */
|
|
3235
3234
|
description: string
|
|
@@ -3239,12 +3238,12 @@ export interface components {
|
|
|
3239
3238
|
/** @default */
|
|
3240
3239
|
url: string
|
|
3241
3240
|
}
|
|
3242
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3241
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3243
3242
|
}
|
|
3244
3243
|
}
|
|
3245
3244
|
| {
|
|
3246
3245
|
/** @enum {string} */
|
|
3247
|
-
type?: 'gitHubDependency'
|
|
3246
|
+
type?: 'gitHubDependency'
|
|
3248
3247
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3249
3248
|
/** @default */
|
|
3250
3249
|
description: string
|
|
@@ -3258,12 +3257,12 @@ export interface components {
|
|
|
3258
3257
|
/** @default */
|
|
3259
3258
|
commitsh: string
|
|
3260
3259
|
}
|
|
3261
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3260
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3262
3261
|
}
|
|
3263
3262
|
}
|
|
3264
3263
|
| {
|
|
3265
3264
|
/** @enum {string} */
|
|
3266
|
-
type?: 'fileDependency'
|
|
3265
|
+
type?: 'fileDependency'
|
|
3267
3266
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3268
3267
|
/** @default */
|
|
3269
3268
|
description: string
|
|
@@ -3273,42 +3272,42 @@ export interface components {
|
|
|
3273
3272
|
/** @default */
|
|
3274
3273
|
filePath: string
|
|
3275
3274
|
}
|
|
3276
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3275
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3277
3276
|
}
|
|
3278
3277
|
}
|
|
3279
3278
|
| {
|
|
3280
3279
|
/** @enum {string} */
|
|
3281
|
-
type?: 'noTests'
|
|
3280
|
+
type?: 'noTests'
|
|
3282
3281
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3283
3282
|
/** @default */
|
|
3284
3283
|
description: string
|
|
3285
3284
|
props: Record<string, never>
|
|
3286
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3285
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3287
3286
|
}
|
|
3288
3287
|
}
|
|
3289
3288
|
| {
|
|
3290
3289
|
/** @enum {string} */
|
|
3291
|
-
type?: 'noRepository'
|
|
3290
|
+
type?: 'noRepository'
|
|
3292
3291
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3293
3292
|
/** @default */
|
|
3294
3293
|
description: string
|
|
3295
3294
|
props: Record<string, never>
|
|
3296
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3295
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3297
3296
|
}
|
|
3298
3297
|
}
|
|
3299
3298
|
| {
|
|
3300
3299
|
/** @enum {string} */
|
|
3301
|
-
type?: 'badSemver'
|
|
3300
|
+
type?: 'badSemver'
|
|
3302
3301
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3303
3302
|
/** @default */
|
|
3304
3303
|
description: string
|
|
3305
3304
|
props: Record<string, never>
|
|
3306
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3305
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3307
3306
|
}
|
|
3308
3307
|
}
|
|
3309
3308
|
| {
|
|
3310
3309
|
/** @enum {string} */
|
|
3311
|
-
type?: 'badSemverDependency'
|
|
3310
|
+
type?: 'badSemverDependency'
|
|
3312
3311
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3313
3312
|
/** @default */
|
|
3314
3313
|
description: string
|
|
@@ -3318,62 +3317,62 @@ export interface components {
|
|
|
3318
3317
|
/** @default */
|
|
3319
3318
|
packageVersion: string
|
|
3320
3319
|
}
|
|
3321
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3320
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3322
3321
|
}
|
|
3323
3322
|
}
|
|
3324
3323
|
| {
|
|
3325
3324
|
/** @enum {string} */
|
|
3326
|
-
type?: 'noV1'
|
|
3325
|
+
type?: 'noV1'
|
|
3327
3326
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3328
3327
|
/** @default */
|
|
3329
3328
|
description: string
|
|
3330
3329
|
props: Record<string, never>
|
|
3331
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3330
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3332
3331
|
}
|
|
3333
3332
|
}
|
|
3334
3333
|
| {
|
|
3335
3334
|
/** @enum {string} */
|
|
3336
|
-
type?: 'noWebsite'
|
|
3335
|
+
type?: 'noWebsite'
|
|
3337
3336
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3338
3337
|
/** @default */
|
|
3339
3338
|
description: string
|
|
3340
3339
|
props: Record<string, never>
|
|
3341
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3340
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3342
3341
|
}
|
|
3343
3342
|
}
|
|
3344
3343
|
| {
|
|
3345
3344
|
/** @enum {string} */
|
|
3346
|
-
type?: 'noBugTracker'
|
|
3345
|
+
type?: 'noBugTracker'
|
|
3347
3346
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3348
3347
|
/** @default */
|
|
3349
3348
|
description: string
|
|
3350
3349
|
props: Record<string, never>
|
|
3351
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3350
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3352
3351
|
}
|
|
3353
3352
|
}
|
|
3354
3353
|
| {
|
|
3355
3354
|
/** @enum {string} */
|
|
3356
|
-
type?: 'noAuthorData'
|
|
3355
|
+
type?: 'noAuthorData'
|
|
3357
3356
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3358
3357
|
/** @default */
|
|
3359
3358
|
description: string
|
|
3360
3359
|
props: Record<string, never>
|
|
3361
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3360
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3362
3361
|
}
|
|
3363
3362
|
}
|
|
3364
3363
|
| {
|
|
3365
3364
|
/** @enum {string} */
|
|
3366
|
-
type?: 'typeModuleCompatibility'
|
|
3365
|
+
type?: 'typeModuleCompatibility'
|
|
3367
3366
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3368
3367
|
/** @default */
|
|
3369
3368
|
description: string
|
|
3370
3369
|
props: Record<string, never>
|
|
3371
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3370
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3372
3371
|
}
|
|
3373
3372
|
}
|
|
3374
3373
|
| {
|
|
3375
3374
|
/** @enum {string} */
|
|
3376
|
-
type?: 'floatingDependency'
|
|
3375
|
+
type?: 'floatingDependency'
|
|
3377
3376
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3378
3377
|
/** @default */
|
|
3379
3378
|
description: string
|
|
@@ -3381,12 +3380,12 @@ export interface components {
|
|
|
3381
3380
|
/** @default */
|
|
3382
3381
|
dependency: string
|
|
3383
3382
|
}
|
|
3384
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3383
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3385
3384
|
}
|
|
3386
3385
|
}
|
|
3387
3386
|
| {
|
|
3388
3387
|
/** @enum {string} */
|
|
3389
|
-
type?: 'manifestConfusion'
|
|
3388
|
+
type?: 'manifestConfusion'
|
|
3390
3389
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3391
3390
|
/** @default */
|
|
3392
3391
|
description: string
|
|
@@ -3396,12 +3395,12 @@ export interface components {
|
|
|
3396
3395
|
/** @default */
|
|
3397
3396
|
description: string
|
|
3398
3397
|
}
|
|
3399
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3398
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3400
3399
|
}
|
|
3401
3400
|
}
|
|
3402
3401
|
| {
|
|
3403
3402
|
/** @enum {string} */
|
|
3404
|
-
type?: 'malware'
|
|
3403
|
+
type?: 'malware'
|
|
3405
3404
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3406
3405
|
/** @default */
|
|
3407
3406
|
description: string
|
|
@@ -3411,12 +3410,12 @@ export interface components {
|
|
|
3411
3410
|
/** @default */
|
|
3412
3411
|
note: string
|
|
3413
3412
|
}
|
|
3414
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3413
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3415
3414
|
}
|
|
3416
3415
|
}
|
|
3417
3416
|
| {
|
|
3418
3417
|
/** @enum {string} */
|
|
3419
|
-
type?: 'telemetry'
|
|
3418
|
+
type?: 'telemetry'
|
|
3420
3419
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3421
3420
|
/** @default */
|
|
3422
3421
|
description: string
|
|
@@ -3426,12 +3425,12 @@ export interface components {
|
|
|
3426
3425
|
/** @default */
|
|
3427
3426
|
note: string
|
|
3428
3427
|
}
|
|
3429
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3428
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3430
3429
|
}
|
|
3431
3430
|
}
|
|
3432
3431
|
| {
|
|
3433
3432
|
/** @enum {string} */
|
|
3434
|
-
type?: 'troll'
|
|
3433
|
+
type?: 'troll'
|
|
3435
3434
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3436
3435
|
/** @default */
|
|
3437
3436
|
description: string
|
|
@@ -3441,12 +3440,12 @@ export interface components {
|
|
|
3441
3440
|
/** @default */
|
|
3442
3441
|
note: string
|
|
3443
3442
|
}
|
|
3444
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3443
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3445
3444
|
}
|
|
3446
3445
|
}
|
|
3447
3446
|
| {
|
|
3448
3447
|
/** @enum {string} */
|
|
3449
|
-
type?: 'deprecated'
|
|
3448
|
+
type?: 'deprecated'
|
|
3450
3449
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3451
3450
|
/** @default */
|
|
3452
3451
|
description: string
|
|
@@ -3454,12 +3453,12 @@ export interface components {
|
|
|
3454
3453
|
/** @default This package is deprecated */
|
|
3455
3454
|
reason: string
|
|
3456
3455
|
}
|
|
3457
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3456
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3458
3457
|
}
|
|
3459
3458
|
}
|
|
3460
3459
|
| {
|
|
3461
3460
|
/** @enum {string} */
|
|
3462
|
-
type?: 'chronoAnomaly'
|
|
3461
|
+
type?: 'chronoAnomaly'
|
|
3463
3462
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3464
3463
|
/** @default */
|
|
3465
3464
|
description: string
|
|
@@ -3473,12 +3472,12 @@ export interface components {
|
|
|
3473
3472
|
/** @default */
|
|
3474
3473
|
prevSemverVersion: string
|
|
3475
3474
|
}
|
|
3476
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3475
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3477
3476
|
}
|
|
3478
3477
|
}
|
|
3479
3478
|
| {
|
|
3480
3479
|
/** @enum {string} */
|
|
3481
|
-
type?: 'compromisedSSHKey'
|
|
3480
|
+
type?: 'compromisedSSHKey'
|
|
3482
3481
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3483
3482
|
/** @default */
|
|
3484
3483
|
description: string
|
|
@@ -3490,12 +3489,12 @@ export interface components {
|
|
|
3490
3489
|
/** @default */
|
|
3491
3490
|
username: string
|
|
3492
3491
|
}
|
|
3493
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3492
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3494
3493
|
}
|
|
3495
3494
|
}
|
|
3496
3495
|
| {
|
|
3497
3496
|
/** @enum {string} */
|
|
3498
|
-
type?: 'semverAnomaly'
|
|
3497
|
+
type?: 'semverAnomaly'
|
|
3499
3498
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3500
3499
|
/** @default */
|
|
3501
3500
|
description: string
|
|
@@ -3505,12 +3504,12 @@ export interface components {
|
|
|
3505
3504
|
/** @default */
|
|
3506
3505
|
newVersion: string
|
|
3507
3506
|
}
|
|
3508
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3507
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3509
3508
|
}
|
|
3510
3509
|
}
|
|
3511
3510
|
| {
|
|
3512
3511
|
/** @enum {string} */
|
|
3513
|
-
type?: 'newAuthor'
|
|
3512
|
+
type?: 'newAuthor'
|
|
3514
3513
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3515
3514
|
/** @default */
|
|
3516
3515
|
description: string
|
|
@@ -3520,12 +3519,12 @@ export interface components {
|
|
|
3520
3519
|
/** @default */
|
|
3521
3520
|
newAuthor: string
|
|
3522
3521
|
}
|
|
3523
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3522
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3524
3523
|
}
|
|
3525
3524
|
}
|
|
3526
3525
|
| {
|
|
3527
3526
|
/** @enum {string} */
|
|
3528
|
-
type?: 'unstableOwnership'
|
|
3527
|
+
type?: 'unstableOwnership'
|
|
3529
3528
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3530
3529
|
/** @default */
|
|
3531
3530
|
description: string
|
|
@@ -3533,22 +3532,22 @@ export interface components {
|
|
|
3533
3532
|
/** @default */
|
|
3534
3533
|
author: string
|
|
3535
3534
|
}
|
|
3536
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3535
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3537
3536
|
}
|
|
3538
3537
|
}
|
|
3539
3538
|
| {
|
|
3540
3539
|
/** @enum {string} */
|
|
3541
|
-
type?: 'missingAuthor'
|
|
3540
|
+
type?: 'missingAuthor'
|
|
3542
3541
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3543
3542
|
/** @default */
|
|
3544
3543
|
description: string
|
|
3545
3544
|
props: Record<string, never>
|
|
3546
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3545
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3547
3546
|
}
|
|
3548
3547
|
}
|
|
3549
3548
|
| {
|
|
3550
3549
|
/** @enum {string} */
|
|
3551
|
-
type?: 'unmaintained'
|
|
3550
|
+
type?: 'unmaintained'
|
|
3552
3551
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3553
3552
|
/** @default */
|
|
3554
3553
|
description: string
|
|
@@ -3556,12 +3555,12 @@ export interface components {
|
|
|
3556
3555
|
/** @default */
|
|
3557
3556
|
lastPublish: string
|
|
3558
3557
|
}
|
|
3559
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3558
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3560
3559
|
}
|
|
3561
3560
|
}
|
|
3562
3561
|
| {
|
|
3563
3562
|
/** @enum {string} */
|
|
3564
|
-
type?: 'unpublished'
|
|
3563
|
+
type?: 'unpublished'
|
|
3565
3564
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3566
3565
|
/** @default */
|
|
3567
3566
|
description: string
|
|
@@ -3569,12 +3568,12 @@ export interface components {
|
|
|
3569
3568
|
/** @default */
|
|
3570
3569
|
version: string
|
|
3571
3570
|
}
|
|
3572
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3571
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3573
3572
|
}
|
|
3574
3573
|
}
|
|
3575
3574
|
| {
|
|
3576
3575
|
/** @enum {string} */
|
|
3577
|
-
type?: 'majorRefactor'
|
|
3576
|
+
type?: 'majorRefactor'
|
|
3578
3577
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3579
3578
|
/** @default */
|
|
3580
3579
|
description: string
|
|
@@ -3588,22 +3587,22 @@ export interface components {
|
|
|
3588
3587
|
/** @default 0 */
|
|
3589
3588
|
changedPercent: number
|
|
3590
3589
|
}
|
|
3591
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3590
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3592
3591
|
}
|
|
3593
3592
|
}
|
|
3594
3593
|
| {
|
|
3595
3594
|
/** @enum {string} */
|
|
3596
|
-
type?: 'missingTarball'
|
|
3595
|
+
type?: 'missingTarball'
|
|
3597
3596
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3598
3597
|
/** @default */
|
|
3599
3598
|
description: string
|
|
3600
3599
|
props: Record<string, never>
|
|
3601
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3600
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3602
3601
|
}
|
|
3603
3602
|
}
|
|
3604
3603
|
| {
|
|
3605
3604
|
/** @enum {string} */
|
|
3606
|
-
type?: 'suspiciousStarActivity'
|
|
3605
|
+
type?: 'suspiciousStarActivity'
|
|
3607
3606
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3608
3607
|
/** @default */
|
|
3609
3608
|
description: string
|
|
@@ -3613,22 +3612,22 @@ export interface components {
|
|
|
3613
3612
|
/** @default */
|
|
3614
3613
|
repository: string
|
|
3615
3614
|
}
|
|
3616
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3615
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3617
3616
|
}
|
|
3618
3617
|
}
|
|
3619
3618
|
| {
|
|
3620
3619
|
/** @enum {string} */
|
|
3621
|
-
type?: 'unpopularPackage'
|
|
3620
|
+
type?: 'unpopularPackage'
|
|
3622
3621
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3623
3622
|
/** @default */
|
|
3624
3623
|
description: string
|
|
3625
3624
|
props: Record<string, never>
|
|
3626
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3625
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3627
3626
|
}
|
|
3628
3627
|
}
|
|
3629
3628
|
| {
|
|
3630
3629
|
/** @enum {string} */
|
|
3631
|
-
type?: 'socketUpgradeAvailable'
|
|
3630
|
+
type?: 'socketUpgradeAvailable'
|
|
3632
3631
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3633
3632
|
/** @default */
|
|
3634
3633
|
description: string
|
|
@@ -3642,44 +3641,44 @@ export interface components {
|
|
|
3642
3641
|
/** @default */
|
|
3643
3642
|
version: string
|
|
3644
3643
|
}
|
|
3645
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3644
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3646
3645
|
}
|
|
3647
3646
|
}
|
|
3648
3647
|
| {
|
|
3649
3648
|
/** @enum {string} */
|
|
3650
|
-
type?: 'longStrings'
|
|
3649
|
+
type?: 'longStrings'
|
|
3651
3650
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3652
3651
|
/** @default */
|
|
3653
3652
|
description: string
|
|
3654
3653
|
props: Record<string, never>
|
|
3655
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3654
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3656
3655
|
}
|
|
3657
3656
|
}
|
|
3658
3657
|
| {
|
|
3659
3658
|
/** @enum {string} */
|
|
3660
|
-
type?: 'highEntropyStrings'
|
|
3659
|
+
type?: 'highEntropyStrings'
|
|
3661
3660
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3662
3661
|
/** @default */
|
|
3663
3662
|
description: string
|
|
3664
3663
|
props: Record<string, never>
|
|
3665
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3664
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3666
3665
|
}
|
|
3667
3666
|
}
|
|
3668
3667
|
| {
|
|
3669
3668
|
/** @enum {string} */
|
|
3670
|
-
type?: 'urlStrings'
|
|
3669
|
+
type?: 'urlStrings'
|
|
3671
3670
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3672
3671
|
/** @default */
|
|
3673
3672
|
description: string
|
|
3674
3673
|
props: {
|
|
3675
3674
|
urls: string[]
|
|
3676
3675
|
}
|
|
3677
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3676
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3678
3677
|
}
|
|
3679
3678
|
}
|
|
3680
3679
|
| {
|
|
3681
3680
|
/** @enum {string} */
|
|
3682
|
-
type?: 'usesEval'
|
|
3681
|
+
type?: 'usesEval'
|
|
3683
3682
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3684
3683
|
/** @default */
|
|
3685
3684
|
description: string
|
|
@@ -3687,22 +3686,22 @@ export interface components {
|
|
|
3687
3686
|
/** @default eval */
|
|
3688
3687
|
evalType: string
|
|
3689
3688
|
}
|
|
3690
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3689
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3691
3690
|
}
|
|
3692
3691
|
}
|
|
3693
3692
|
| {
|
|
3694
3693
|
/** @enum {string} */
|
|
3695
|
-
type?: 'dynamicRequire'
|
|
3694
|
+
type?: 'dynamicRequire'
|
|
3696
3695
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3697
3696
|
/** @default */
|
|
3698
3697
|
description: string
|
|
3699
3698
|
props: Record<string, never>
|
|
3700
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3699
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3701
3700
|
}
|
|
3702
3701
|
}
|
|
3703
3702
|
| {
|
|
3704
3703
|
/** @enum {string} */
|
|
3705
|
-
type?: 'envVars'
|
|
3704
|
+
type?: 'envVars'
|
|
3706
3705
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3707
3706
|
/** @default */
|
|
3708
3707
|
description: string
|
|
@@ -3710,12 +3709,12 @@ export interface components {
|
|
|
3710
3709
|
/** @default */
|
|
3711
3710
|
envVars: string
|
|
3712
3711
|
}
|
|
3713
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3712
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3714
3713
|
}
|
|
3715
3714
|
}
|
|
3716
3715
|
| {
|
|
3717
3716
|
/** @enum {string} */
|
|
3718
|
-
type?: 'missingDependency'
|
|
3717
|
+
type?: 'missingDependency'
|
|
3719
3718
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3720
3719
|
/** @default */
|
|
3721
3720
|
description: string
|
|
@@ -3723,12 +3722,12 @@ export interface components {
|
|
|
3723
3722
|
/** @default */
|
|
3724
3723
|
name: string
|
|
3725
3724
|
}
|
|
3726
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3725
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3727
3726
|
}
|
|
3728
3727
|
}
|
|
3729
3728
|
| {
|
|
3730
3729
|
/** @enum {string} */
|
|
3731
|
-
type?: 'unusedDependency'
|
|
3730
|
+
type?: 'unusedDependency'
|
|
3732
3731
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3733
3732
|
/** @default */
|
|
3734
3733
|
description: string
|
|
@@ -3738,12 +3737,12 @@ export interface components {
|
|
|
3738
3737
|
/** @default */
|
|
3739
3738
|
version: string
|
|
3740
3739
|
}
|
|
3741
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3740
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3742
3741
|
}
|
|
3743
3742
|
}
|
|
3744
3743
|
| {
|
|
3745
3744
|
/** @enum {string} */
|
|
3746
|
-
type?: 'peerDependency'
|
|
3745
|
+
type?: 'peerDependency'
|
|
3747
3746
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3748
3747
|
/** @default */
|
|
3749
3748
|
description: string
|
|
@@ -3751,12 +3750,12 @@ export interface components {
|
|
|
3751
3750
|
/** @default */
|
|
3752
3751
|
name: string
|
|
3753
3752
|
}
|
|
3754
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3753
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3755
3754
|
}
|
|
3756
3755
|
}
|
|
3757
3756
|
| {
|
|
3758
3757
|
/** @enum {string} */
|
|
3759
|
-
type?: 'uncaughtOptionalDependency'
|
|
3758
|
+
type?: 'uncaughtOptionalDependency'
|
|
3760
3759
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3761
3760
|
/** @default */
|
|
3762
3761
|
description: string
|
|
@@ -3764,42 +3763,42 @@ export interface components {
|
|
|
3764
3763
|
/** @default */
|
|
3765
3764
|
name: string
|
|
3766
3765
|
}
|
|
3767
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3766
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3768
3767
|
}
|
|
3769
3768
|
}
|
|
3770
3769
|
| {
|
|
3771
3770
|
/** @enum {string} */
|
|
3772
|
-
type?: 'unresolvedRequire'
|
|
3771
|
+
type?: 'unresolvedRequire'
|
|
3773
3772
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3774
3773
|
/** @default */
|
|
3775
3774
|
description: string
|
|
3776
3775
|
props: Record<string, never>
|
|
3777
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3776
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3778
3777
|
}
|
|
3779
3778
|
}
|
|
3780
3779
|
| {
|
|
3781
3780
|
/** @enum {string} */
|
|
3782
|
-
type?: 'extraneousDependency'
|
|
3781
|
+
type?: 'extraneousDependency'
|
|
3783
3782
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3784
3783
|
/** @default */
|
|
3785
3784
|
description: string
|
|
3786
3785
|
props: Record<string, never>
|
|
3787
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3786
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3788
3787
|
}
|
|
3789
3788
|
}
|
|
3790
3789
|
| {
|
|
3791
3790
|
/** @enum {string} */
|
|
3792
|
-
type?: 'obfuscatedRequire'
|
|
3791
|
+
type?: 'obfuscatedRequire'
|
|
3793
3792
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3794
3793
|
/** @default */
|
|
3795
3794
|
description: string
|
|
3796
3795
|
props: Record<string, never>
|
|
3797
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3796
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3798
3797
|
}
|
|
3799
3798
|
}
|
|
3800
3799
|
| {
|
|
3801
3800
|
/** @enum {string} */
|
|
3802
|
-
type?: 'obfuscatedFile'
|
|
3801
|
+
type?: 'obfuscatedFile'
|
|
3803
3802
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3804
3803
|
/** @default */
|
|
3805
3804
|
description: string
|
|
@@ -3809,12 +3808,12 @@ export interface components {
|
|
|
3809
3808
|
/** @default */
|
|
3810
3809
|
notes: string
|
|
3811
3810
|
}
|
|
3812
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3811
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3813
3812
|
}
|
|
3814
3813
|
}
|
|
3815
3814
|
| {
|
|
3816
3815
|
/** @enum {string} */
|
|
3817
|
-
type?: 'minifiedFile'
|
|
3816
|
+
type?: 'minifiedFile'
|
|
3818
3817
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3819
3818
|
/** @default */
|
|
3820
3819
|
description: string
|
|
@@ -3822,12 +3821,12 @@ export interface components {
|
|
|
3822
3821
|
/** @default 0 */
|
|
3823
3822
|
confidence: number
|
|
3824
3823
|
}
|
|
3825
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3824
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3826
3825
|
}
|
|
3827
3826
|
}
|
|
3828
3827
|
| {
|
|
3829
3828
|
/** @enum {string} */
|
|
3830
|
-
type?: 'installScripts'
|
|
3829
|
+
type?: 'installScripts'
|
|
3831
3830
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3832
3831
|
/** @default */
|
|
3833
3832
|
description: string
|
|
@@ -3837,22 +3836,22 @@ export interface components {
|
|
|
3837
3836
|
/** @default */
|
|
3838
3837
|
source: string
|
|
3839
3838
|
}
|
|
3840
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3839
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3841
3840
|
}
|
|
3842
3841
|
}
|
|
3843
3842
|
| {
|
|
3844
3843
|
/** @enum {string} */
|
|
3845
|
-
type?: 'hasNativeCode'
|
|
3844
|
+
type?: 'hasNativeCode'
|
|
3846
3845
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3847
3846
|
/** @default */
|
|
3848
3847
|
description: string
|
|
3849
3848
|
props: Record<string, never>
|
|
3850
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3849
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3851
3850
|
}
|
|
3852
3851
|
}
|
|
3853
3852
|
| {
|
|
3854
3853
|
/** @enum {string} */
|
|
3855
|
-
type?: 'binScriptConfusion'
|
|
3854
|
+
type?: 'binScriptConfusion'
|
|
3856
3855
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3857
3856
|
/** @default */
|
|
3858
3857
|
description: string
|
|
@@ -3860,12 +3859,12 @@ export interface components {
|
|
|
3860
3859
|
/** @default */
|
|
3861
3860
|
binScript: string
|
|
3862
3861
|
}
|
|
3863
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3862
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3864
3863
|
}
|
|
3865
3864
|
}
|
|
3866
3865
|
| {
|
|
3867
3866
|
/** @enum {string} */
|
|
3868
|
-
type?: 'shellScriptOverride'
|
|
3867
|
+
type?: 'shellScriptOverride'
|
|
3869
3868
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3870
3869
|
/** @default */
|
|
3871
3870
|
description: string
|
|
@@ -3873,12 +3872,12 @@ export interface components {
|
|
|
3873
3872
|
/** @default */
|
|
3874
3873
|
binScript: string
|
|
3875
3874
|
}
|
|
3876
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3875
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3877
3876
|
}
|
|
3878
3877
|
}
|
|
3879
3878
|
| {
|
|
3880
3879
|
/** @enum {string} */
|
|
3881
|
-
type?: 'didYouMean'
|
|
3880
|
+
type?: 'didYouMean'
|
|
3882
3881
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3883
3882
|
/** @default */
|
|
3884
3883
|
description: string
|
|
@@ -3886,12 +3885,12 @@ export interface components {
|
|
|
3886
3885
|
/** @default */
|
|
3887
3886
|
alternatePackage: string
|
|
3888
3887
|
}
|
|
3889
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3888
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3890
3889
|
}
|
|
3891
3890
|
}
|
|
3892
3891
|
| {
|
|
3893
3892
|
/** @enum {string} */
|
|
3894
|
-
type?: 'gptDidYouMean'
|
|
3893
|
+
type?: 'gptDidYouMean'
|
|
3895
3894
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3896
3895
|
/** @default */
|
|
3897
3896
|
description: string
|
|
@@ -3899,32 +3898,32 @@ export interface components {
|
|
|
3899
3898
|
/** @default */
|
|
3900
3899
|
alternatePackage: string
|
|
3901
3900
|
}
|
|
3902
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3901
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3903
3902
|
}
|
|
3904
3903
|
}
|
|
3905
3904
|
| {
|
|
3906
3905
|
/** @enum {string} */
|
|
3907
|
-
type?: 'bidi'
|
|
3906
|
+
type?: 'bidi'
|
|
3908
3907
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3909
3908
|
/** @default */
|
|
3910
3909
|
description: string
|
|
3911
3910
|
props: Record<string, never>
|
|
3912
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3911
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3913
3912
|
}
|
|
3914
3913
|
}
|
|
3915
3914
|
| {
|
|
3916
3915
|
/** @enum {string} */
|
|
3917
|
-
type?: 'zeroWidth'
|
|
3916
|
+
type?: 'zeroWidth'
|
|
3918
3917
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3919
3918
|
/** @default */
|
|
3920
3919
|
description: string
|
|
3921
3920
|
props: Record<string, never>
|
|
3922
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3921
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3923
3922
|
}
|
|
3924
3923
|
}
|
|
3925
3924
|
| {
|
|
3926
3925
|
/** @enum {string} */
|
|
3927
|
-
type?: 'badEncoding'
|
|
3926
|
+
type?: 'badEncoding'
|
|
3928
3927
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3929
3928
|
/** @default */
|
|
3930
3929
|
description: string
|
|
@@ -3932,32 +3931,32 @@ export interface components {
|
|
|
3932
3931
|
/** @default utf8 */
|
|
3933
3932
|
encoding: string
|
|
3934
3933
|
}
|
|
3935
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3934
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3936
3935
|
}
|
|
3937
3936
|
}
|
|
3938
3937
|
| {
|
|
3939
3938
|
/** @enum {string} */
|
|
3940
|
-
type?: 'homoglyphs'
|
|
3939
|
+
type?: 'homoglyphs'
|
|
3941
3940
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3942
3941
|
/** @default */
|
|
3943
3942
|
description: string
|
|
3944
3943
|
props: Record<string, never>
|
|
3945
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3944
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3946
3945
|
}
|
|
3947
3946
|
}
|
|
3948
3947
|
| {
|
|
3949
3948
|
/** @enum {string} */
|
|
3950
|
-
type?: 'invisibleChars'
|
|
3949
|
+
type?: 'invisibleChars'
|
|
3951
3950
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3952
3951
|
/** @default */
|
|
3953
3952
|
description: string
|
|
3954
3953
|
props: Record<string, never>
|
|
3955
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3954
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3956
3955
|
}
|
|
3957
3956
|
}
|
|
3958
3957
|
| {
|
|
3959
3958
|
/** @enum {string} */
|
|
3960
|
-
type?: 'suspiciousString'
|
|
3959
|
+
type?: 'suspiciousString'
|
|
3961
3960
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3962
3961
|
/** @default */
|
|
3963
3962
|
description: string
|
|
@@ -3967,12 +3966,12 @@ export interface components {
|
|
|
3967
3966
|
/** @default */
|
|
3968
3967
|
explanation: string
|
|
3969
3968
|
}
|
|
3970
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3969
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3971
3970
|
}
|
|
3972
3971
|
}
|
|
3973
3972
|
| {
|
|
3974
3973
|
/** @enum {string} */
|
|
3975
|
-
type?: 'potentialVulnerability'
|
|
3974
|
+
type?: 'potentialVulnerability'
|
|
3976
3975
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3977
3976
|
/** @default */
|
|
3978
3977
|
description: string
|
|
@@ -3985,12 +3984,12 @@ export interface components {
|
|
|
3985
3984
|
*/
|
|
3986
3985
|
risk: 'low' | 'medium' | 'high'
|
|
3987
3986
|
}
|
|
3988
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
3987
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3989
3988
|
}
|
|
3990
3989
|
}
|
|
3991
3990
|
| {
|
|
3992
3991
|
/** @enum {string} */
|
|
3993
|
-
type?: 'vsxProposedApiUsage'
|
|
3992
|
+
type?: 'vsxProposedApiUsage'
|
|
3994
3993
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3995
3994
|
/** @default */
|
|
3996
3995
|
description: string
|
|
@@ -3998,12 +3997,12 @@ export interface components {
|
|
|
3998
3997
|
/** @default */
|
|
3999
3998
|
proposals: string
|
|
4000
3999
|
}
|
|
4001
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
4000
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
4002
4001
|
}
|
|
4003
4002
|
}
|
|
4004
4003
|
| {
|
|
4005
4004
|
/** @enum {string} */
|
|
4006
|
-
type?: 'vsxActivationWildcard'
|
|
4005
|
+
type?: 'vsxActivationWildcard'
|
|
4007
4006
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
4008
4007
|
/** @default */
|
|
4009
4008
|
description: string
|
|
@@ -4011,12 +4010,12 @@ export interface components {
|
|
|
4011
4010
|
/** @default */
|
|
4012
4011
|
event: string
|
|
4013
4012
|
}
|
|
4014
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
4013
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
4015
4014
|
}
|
|
4016
4015
|
}
|
|
4017
4016
|
| {
|
|
4018
4017
|
/** @enum {string} */
|
|
4019
|
-
type?: 'vsxWorkspaceContainsActivation'
|
|
4018
|
+
type?: 'vsxWorkspaceContainsActivation'
|
|
4020
4019
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
4021
4020
|
/** @default */
|
|
4022
4021
|
description: string
|
|
@@ -4024,12 +4023,12 @@ export interface components {
|
|
|
4024
4023
|
/** @default */
|
|
4025
4024
|
pattern: string
|
|
4026
4025
|
}
|
|
4027
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
4026
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
4028
4027
|
}
|
|
4029
4028
|
}
|
|
4030
4029
|
| {
|
|
4031
4030
|
/** @enum {string} */
|
|
4032
|
-
type?: 'vsxUntrustedWorkspaceSupported'
|
|
4031
|
+
type?: 'vsxUntrustedWorkspaceSupported'
|
|
4033
4032
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
4034
4033
|
/** @default */
|
|
4035
4034
|
description: string
|
|
@@ -4037,12 +4036,12 @@ export interface components {
|
|
|
4037
4036
|
/** @default */
|
|
4038
4037
|
supported: string
|
|
4039
4038
|
}
|
|
4040
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
4039
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
4041
4040
|
}
|
|
4042
4041
|
}
|
|
4043
4042
|
| {
|
|
4044
4043
|
/** @enum {string} */
|
|
4045
|
-
type?: 'vsxVirtualWorkspaceSupported'
|
|
4044
|
+
type?: 'vsxVirtualWorkspaceSupported'
|
|
4046
4045
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
4047
4046
|
/** @default */
|
|
4048
4047
|
description: string
|
|
@@ -4050,32 +4049,32 @@ export interface components {
|
|
|
4050
4049
|
/** @default */
|
|
4051
4050
|
supported: string
|
|
4052
4051
|
}
|
|
4053
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
4052
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
4054
4053
|
}
|
|
4055
4054
|
}
|
|
4056
4055
|
| {
|
|
4057
4056
|
/** @enum {string} */
|
|
4058
|
-
type?: 'vsxWebviewContribution'
|
|
4057
|
+
type?: 'vsxWebviewContribution'
|
|
4059
4058
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
4060
4059
|
/** @default */
|
|
4061
4060
|
description: string
|
|
4062
4061
|
props: Record<string, never>
|
|
4063
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
4062
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
4064
4063
|
}
|
|
4065
4064
|
}
|
|
4066
4065
|
| {
|
|
4067
4066
|
/** @enum {string} */
|
|
4068
|
-
type?: 'vsxDebuggerContribution'
|
|
4067
|
+
type?: 'vsxDebuggerContribution'
|
|
4069
4068
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
4070
4069
|
/** @default */
|
|
4071
4070
|
description: string
|
|
4072
4071
|
props: Record<string, never>
|
|
4073
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
4072
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
4074
4073
|
}
|
|
4075
4074
|
}
|
|
4076
4075
|
| {
|
|
4077
4076
|
/** @enum {string} */
|
|
4078
|
-
type?: 'vsxExtensionDependency'
|
|
4077
|
+
type?: 'vsxExtensionDependency'
|
|
4079
4078
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
4080
4079
|
/** @default */
|
|
4081
4080
|
description: string
|
|
@@ -4083,12 +4082,12 @@ export interface components {
|
|
|
4083
4082
|
/** @default */
|
|
4084
4083
|
extension: string
|
|
4085
4084
|
}
|
|
4086
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
4085
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
4087
4086
|
}
|
|
4088
4087
|
}
|
|
4089
4088
|
| {
|
|
4090
4089
|
/** @enum {string} */
|
|
4091
|
-
type?: 'vsxExtensionPack'
|
|
4090
|
+
type?: 'vsxExtensionPack'
|
|
4092
4091
|
value?: components['schemas']['SocketIssueBasics'] & {
|
|
4093
4092
|
/** @default */
|
|
4094
4093
|
description: string
|
|
@@ -4096,7 +4095,7 @@ export interface components {
|
|
|
4096
4095
|
/** @default */
|
|
4097
4096
|
count: string
|
|
4098
4097
|
}
|
|
4099
|
-
usage?: components['schemas']['SocketUsageRef']
|
|
4098
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
4100
4099
|
}
|
|
4101
4100
|
}
|
|
4102
4101
|
SocketMetricSchema: {
|
|
@@ -4106,9 +4105,9 @@ export interface components {
|
|
|
4106
4105
|
[key: string]: components['schemas']['SocketMetricComponent']
|
|
4107
4106
|
}
|
|
4108
4107
|
/** @default 0 */
|
|
4109
|
-
limit?: number
|
|
4108
|
+
limit?: number
|
|
4110
4109
|
/** @default */
|
|
4111
|
-
limitingMetric?: string
|
|
4110
|
+
limitingMetric?: string
|
|
4112
4111
|
}
|
|
4113
4112
|
/**
|
|
4114
4113
|
* @description Package ecosystem type identifier based on the PURL specification
|
|
@@ -4178,7 +4177,7 @@ export interface components {
|
|
|
4178
4177
|
* @description Indicates if this patch is deprecated and should not be used
|
|
4179
4178
|
* @default false
|
|
4180
4179
|
*/
|
|
4181
|
-
deprecated?: boolean
|
|
4180
|
+
deprecated?: boolean
|
|
4182
4181
|
}
|
|
4183
4182
|
ReachabilityResult: {
|
|
4184
4183
|
/**
|
|
@@ -4217,44 +4216,40 @@ export interface components {
|
|
|
4217
4216
|
* @description Indicates if the reachability analysis was stopped early due to depth or complexity limits
|
|
4218
4217
|
* @default false
|
|
4219
4218
|
*/
|
|
4220
|
-
truncated?: boolean
|
|
4219
|
+
truncated?: boolean
|
|
4221
4220
|
/**
|
|
4222
4221
|
* @description Error message if reachability analysis failed
|
|
4223
4222
|
* @default
|
|
4224
4223
|
*/
|
|
4225
|
-
error?: string
|
|
4224
|
+
error?: string
|
|
4226
4225
|
matches?:
|
|
4227
4226
|
| {
|
|
4228
4227
|
/** @enum {string} */
|
|
4229
|
-
type?: 'function-level'
|
|
4230
|
-
value?:
|
|
4231
|
-
| Array<Array<components['schemas']['CallStackItem']>>
|
|
4232
|
-
| undefined
|
|
4228
|
+
type?: 'function-level'
|
|
4229
|
+
value?: Array<components['schemas']['CallStackItem'][]>
|
|
4233
4230
|
}
|
|
4234
4231
|
| {
|
|
4235
4232
|
/** @enum {string} */
|
|
4236
|
-
type?: 'class-level'
|
|
4237
|
-
value?:
|
|
4238
|
-
| Array<Array<components['schemas']['ClassStackItem']>>
|
|
4239
|
-
| undefined
|
|
4233
|
+
type?: 'class-level'
|
|
4234
|
+
value?: Array<components['schemas']['ClassStackItem'][]>
|
|
4240
4235
|
}
|
|
4241
4236
|
/**
|
|
4242
4237
|
* @description Path to the workspace root for multi-workspace projects
|
|
4243
4238
|
* @default
|
|
4244
4239
|
*/
|
|
4245
|
-
workspacePath?: string
|
|
4240
|
+
workspacePath?: string
|
|
4246
4241
|
/**
|
|
4247
4242
|
* @description Path to the subproject within the workspace
|
|
4248
4243
|
* @default
|
|
4249
4244
|
*/
|
|
4250
|
-
subprojectPath?: string
|
|
4245
|
+
subprojectPath?: string
|
|
4251
4246
|
}
|
|
4252
4247
|
SocketRefList: Array<components['schemas']['SocketRef']>
|
|
4253
4248
|
SocketRefFile: {
|
|
4254
4249
|
/** @default */
|
|
4255
4250
|
path: string
|
|
4256
|
-
range?: components['schemas']['SocketRefTextRange']
|
|
4257
|
-
bytes?: components['schemas']['SocketRefByteRange']
|
|
4251
|
+
range?: components['schemas']['SocketRefTextRange']
|
|
4252
|
+
bytes?: components['schemas']['SocketRefByteRange']
|
|
4258
4253
|
}
|
|
4259
4254
|
/**
|
|
4260
4255
|
* @description Status of reachability analysis for vulnerable code paths
|
|
@@ -4276,61 +4271,61 @@ export interface components {
|
|
|
4276
4271
|
* @description Package URL (PURL) of the dependency containing this code
|
|
4277
4272
|
* @default
|
|
4278
4273
|
*/
|
|
4279
|
-
purl?: string
|
|
4280
|
-
sourceLocation?: components['schemas']['SourceLocation']
|
|
4274
|
+
purl?: string
|
|
4275
|
+
sourceLocation?: components['schemas']['SourceLocation']
|
|
4281
4276
|
/**
|
|
4282
4277
|
* @description Confidence score from 0.0 to 1.0 indicating how certain the reachability analysis is about this result
|
|
4283
4278
|
* @default 0
|
|
4284
4279
|
*/
|
|
4285
|
-
confidence?: number
|
|
4280
|
+
confidence?: number
|
|
4286
4281
|
}
|
|
4287
4282
|
ClassStackItem: {
|
|
4288
4283
|
/**
|
|
4289
4284
|
* @description Package URL (PURL) of the dependency containing this class
|
|
4290
4285
|
* @default
|
|
4291
4286
|
*/
|
|
4292
|
-
purl?: string
|
|
4287
|
+
purl?: string
|
|
4293
4288
|
/**
|
|
4294
4289
|
* @description Name of the class in the dependency
|
|
4295
4290
|
* @default
|
|
4296
4291
|
*/
|
|
4297
|
-
class?: string
|
|
4292
|
+
class?: string
|
|
4298
4293
|
/**
|
|
4299
4294
|
* @description Confidence score from 0.0 to 1.0 indicating how certain the reachability analysis is about this result
|
|
4300
4295
|
* @default 0
|
|
4301
4296
|
*/
|
|
4302
|
-
confidence?: number
|
|
4297
|
+
confidence?: number
|
|
4303
4298
|
}
|
|
4304
4299
|
SocketRef:
|
|
4305
4300
|
| {
|
|
4306
4301
|
/** @enum {string} */
|
|
4307
|
-
type?: 'unknown'
|
|
4308
|
-
value?: Record<string, never>
|
|
4302
|
+
type?: 'unknown'
|
|
4303
|
+
value?: Record<string, never>
|
|
4309
4304
|
}
|
|
4310
4305
|
| {
|
|
4311
4306
|
/** @enum {string} */
|
|
4312
|
-
type?: 'npm'
|
|
4313
|
-
value?: components['schemas']['SocketRefNPM']
|
|
4307
|
+
type?: 'npm'
|
|
4308
|
+
value?: components['schemas']['SocketRefNPM']
|
|
4314
4309
|
}
|
|
4315
4310
|
| {
|
|
4316
4311
|
/** @enum {string} */
|
|
4317
|
-
type?: 'git'
|
|
4318
|
-
value?: components['schemas']['SocketRefGit']
|
|
4312
|
+
type?: 'git'
|
|
4313
|
+
value?: components['schemas']['SocketRefGit']
|
|
4319
4314
|
}
|
|
4320
4315
|
| {
|
|
4321
4316
|
/** @enum {string} */
|
|
4322
|
-
type?: 'web'
|
|
4323
|
-
value?: components['schemas']['SocketRefWeb']
|
|
4317
|
+
type?: 'web'
|
|
4318
|
+
value?: components['schemas']['SocketRefWeb']
|
|
4324
4319
|
}
|
|
4325
4320
|
| {
|
|
4326
4321
|
/** @enum {string} */
|
|
4327
|
-
type?: 'pypi'
|
|
4328
|
-
value?: components['schemas']['SocketRefPyPI']
|
|
4322
|
+
type?: 'pypi'
|
|
4323
|
+
value?: components['schemas']['SocketRefPyPI']
|
|
4329
4324
|
}
|
|
4330
4325
|
| {
|
|
4331
4326
|
/** @enum {string} */
|
|
4332
|
-
type?: 'go'
|
|
4333
|
-
value?: components['schemas']['SocketRefGo']
|
|
4327
|
+
type?: 'go'
|
|
4328
|
+
value?: components['schemas']['SocketRefGo']
|
|
4334
4329
|
}
|
|
4335
4330
|
SocketRefTextRange: {
|
|
4336
4331
|
/** @default 0 */
|
|
@@ -4371,17 +4366,17 @@ export interface components {
|
|
|
4371
4366
|
* @description Line number in the source file
|
|
4372
4367
|
* @default 0
|
|
4373
4368
|
*/
|
|
4374
|
-
line?: number
|
|
4369
|
+
line?: number
|
|
4375
4370
|
/**
|
|
4376
4371
|
* @description Column number in the source file
|
|
4377
4372
|
* @default 0
|
|
4378
4373
|
*/
|
|
4379
|
-
column?: number
|
|
4374
|
+
column?: number
|
|
4380
4375
|
/**
|
|
4381
4376
|
* @description Absolute byte position from the beginning of the file, used for precise location tracking
|
|
4382
4377
|
* @default 0
|
|
4383
4378
|
*/
|
|
4384
|
-
byteOffset?: number
|
|
4379
|
+
byteOffset?: number
|
|
4385
4380
|
}
|
|
4386
4381
|
/**
|
|
4387
4382
|
* @description Path to the source file
|
|
@@ -4398,38 +4393,38 @@ export interface components {
|
|
|
4398
4393
|
/** @default */
|
|
4399
4394
|
package: string
|
|
4400
4395
|
/** @default */
|
|
4401
|
-
version?: string
|
|
4402
|
-
file?: components['schemas']['SocketRefFile']
|
|
4396
|
+
version?: string
|
|
4397
|
+
file?: components['schemas']['SocketRefFile']
|
|
4403
4398
|
}
|
|
4404
4399
|
SocketRefGit: {
|
|
4405
4400
|
/** @default */
|
|
4406
4401
|
url: string
|
|
4407
4402
|
/** @default */
|
|
4408
|
-
commit?: string
|
|
4403
|
+
commit?: string
|
|
4409
4404
|
/** @default */
|
|
4410
|
-
tag?: string
|
|
4411
|
-
file?: components['schemas']['SocketRefFile']
|
|
4405
|
+
tag?: string
|
|
4406
|
+
file?: components['schemas']['SocketRefFile']
|
|
4412
4407
|
}
|
|
4413
4408
|
SocketRefWeb: {
|
|
4414
4409
|
/** @default */
|
|
4415
4410
|
url: string
|
|
4416
|
-
file?: components['schemas']['SocketRefFile']
|
|
4411
|
+
file?: components['schemas']['SocketRefFile']
|
|
4417
4412
|
}
|
|
4418
4413
|
SocketRefPyPI: {
|
|
4419
4414
|
/** @default */
|
|
4420
4415
|
package: string
|
|
4421
4416
|
/** @default */
|
|
4422
|
-
version?: string
|
|
4417
|
+
version?: string
|
|
4423
4418
|
/** @default */
|
|
4424
|
-
artifact?: string
|
|
4425
|
-
file?: components['schemas']['SocketRefFile']
|
|
4419
|
+
artifact?: string
|
|
4420
|
+
file?: components['schemas']['SocketRefFile']
|
|
4426
4421
|
}
|
|
4427
4422
|
SocketRefGo: {
|
|
4428
4423
|
/** @default */
|
|
4429
4424
|
package: string
|
|
4430
4425
|
/** @default */
|
|
4431
|
-
version?: string
|
|
4432
|
-
file?: components['schemas']['SocketRefFile']
|
|
4426
|
+
version?: string
|
|
4427
|
+
file?: components['schemas']['SocketRefFile']
|
|
4433
4428
|
}
|
|
4434
4429
|
}
|
|
4435
4430
|
responses: {
|
|
@@ -4624,19 +4619,19 @@ export interface operations {
|
|
|
4624
4619
|
parameters: {
|
|
4625
4620
|
query?: {
|
|
4626
4621
|
/** @description Include alert metadata. */
|
|
4627
|
-
alerts?: boolean
|
|
4622
|
+
alerts?: boolean
|
|
4628
4623
|
/** @description Include only alerts with comma separated actions defined by security policy. */
|
|
4629
|
-
actions?: Array<'error' | 'monitor' | 'warn' | 'ignore'>
|
|
4624
|
+
actions?: Array<'error' | 'monitor' | 'warn' | 'ignore'>
|
|
4630
4625
|
/** @description Compact metadata. */
|
|
4631
|
-
compact?: boolean
|
|
4626
|
+
compact?: boolean
|
|
4632
4627
|
/** @description Include only fixable alerts. */
|
|
4633
|
-
fixable?: boolean
|
|
4628
|
+
fixable?: boolean
|
|
4634
4629
|
/** @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. */
|
|
4635
|
-
licenseattrib?: boolean
|
|
4630
|
+
licenseattrib?: boolean
|
|
4636
4631
|
/** @description Include detailed license information, including location and match strength, for each license datum. */
|
|
4637
|
-
licensedetails?: boolean
|
|
4632
|
+
licensedetails?: boolean
|
|
4638
4633
|
/** @description Return errors found with handling PURLs as error objects in the stream. */
|
|
4639
|
-
purlErrors?: boolean
|
|
4634
|
+
purlErrors?: boolean
|
|
4640
4635
|
}
|
|
4641
4636
|
}
|
|
4642
4637
|
requestBody?: {
|
|
@@ -4675,7 +4670,7 @@ export interface operations {
|
|
|
4675
4670
|
limit: number
|
|
4676
4671
|
/** @default 0 */
|
|
4677
4672
|
offset: number
|
|
4678
|
-
purls?: string[]
|
|
4673
|
+
purls?: string[]
|
|
4679
4674
|
}
|
|
4680
4675
|
}
|
|
4681
4676
|
}
|
|
@@ -4708,11 +4703,11 @@ export interface operations {
|
|
|
4708
4703
|
/** @default */
|
|
4709
4704
|
type: string
|
|
4710
4705
|
/** @default */
|
|
4711
|
-
namespace?: string
|
|
4706
|
+
namespace?: string
|
|
4712
4707
|
/** @default */
|
|
4713
|
-
version?: string
|
|
4708
|
+
version?: string
|
|
4714
4709
|
/** @default */
|
|
4715
|
-
release?: string
|
|
4710
|
+
release?: string
|
|
4716
4711
|
}>
|
|
4717
4712
|
}
|
|
4718
4713
|
}
|
|
@@ -4744,17 +4739,17 @@ export interface operations {
|
|
|
4744
4739
|
createDependenciesSnapshot: {
|
|
4745
4740
|
parameters: {
|
|
4746
4741
|
query?: {
|
|
4747
|
-
repository?: string
|
|
4748
|
-
branch?: string
|
|
4742
|
+
repository?: string
|
|
4743
|
+
branch?: string
|
|
4749
4744
|
}
|
|
4750
4745
|
}
|
|
4751
4746
|
requestBody?: {
|
|
4752
4747
|
content: {
|
|
4753
4748
|
'multipart/form-data': {
|
|
4754
4749
|
/** @default */
|
|
4755
|
-
repository?: string
|
|
4750
|
+
repository?: string
|
|
4756
4751
|
/** @default */
|
|
4757
|
-
branch?: string
|
|
4752
|
+
branch?: string
|
|
4758
4753
|
[key: string]: undefined
|
|
4759
4754
|
}
|
|
4760
4755
|
}
|
|
@@ -4786,23 +4781,27 @@ export interface operations {
|
|
|
4786
4781
|
parameters: {
|
|
4787
4782
|
query?: {
|
|
4788
4783
|
/** @description Specify Sort order. */
|
|
4789
|
-
sort?: 'name' | 'created_at'
|
|
4784
|
+
sort?: 'name' | 'created_at'
|
|
4790
4785
|
/** @description Specify sort direction. */
|
|
4791
|
-
direction?: 'asc' | 'desc'
|
|
4786
|
+
direction?: 'asc' | 'desc'
|
|
4792
4787
|
/** @description Specify the maximum number of results to return per page. */
|
|
4793
|
-
per_page?: number
|
|
4794
|
-
/** @description The
|
|
4795
|
-
page?: number
|
|
4788
|
+
per_page?: number
|
|
4789
|
+
/** @description The page number to return when using offset-style pagination. Ignored when cursor pagination is used. */
|
|
4790
|
+
page?: number
|
|
4791
|
+
/** @description Cursor token for pagination. Pass the returned nextPageCursor from previous responses to fetch the next set of results. */
|
|
4792
|
+
startAfterCursor?: string
|
|
4793
|
+
/** @description Set to true on the first request to opt into cursor-based pagination. */
|
|
4794
|
+
use_cursor?: boolean
|
|
4796
4795
|
/** @description A Unix timestamp in seconds that filters full-scans prior to the date. */
|
|
4797
|
-
from?: string
|
|
4796
|
+
from?: string
|
|
4798
4797
|
/** @description A repository slug to filter full-scans by. */
|
|
4799
|
-
repo?: string
|
|
4798
|
+
repo?: string
|
|
4800
4799
|
/** @description A branch name to filter full-scans by. */
|
|
4801
|
-
branch?: string
|
|
4800
|
+
branch?: string
|
|
4802
4801
|
/** @description A PR number to filter full-scans by. */
|
|
4803
|
-
pull_request?: string
|
|
4802
|
+
pull_request?: string
|
|
4804
4803
|
/** @description A commit hash to filter full-scans by. */
|
|
4805
|
-
commit_hash?: string
|
|
4804
|
+
commit_hash?: string
|
|
4806
4805
|
}
|
|
4807
4806
|
path: {
|
|
4808
4807
|
/** @description The slug of the organization */
|
|
@@ -4816,59 +4815,55 @@ export interface operations {
|
|
|
4816
4815
|
'application/json': {
|
|
4817
4816
|
results: Array<{
|
|
4818
4817
|
/** @default */
|
|
4819
|
-
id?: string
|
|
4818
|
+
id?: string
|
|
4820
4819
|
/** @default */
|
|
4821
|
-
created_at?: string
|
|
4820
|
+
created_at?: string
|
|
4822
4821
|
/** @default */
|
|
4823
|
-
updated_at?: string
|
|
4822
|
+
updated_at?: string
|
|
4824
4823
|
/** @default */
|
|
4825
|
-
organization_id?: string
|
|
4824
|
+
organization_id?: string
|
|
4826
4825
|
/** @default */
|
|
4827
|
-
organization_slug?: string
|
|
4826
|
+
organization_slug?: string
|
|
4828
4827
|
/** @default */
|
|
4829
|
-
repository_id?: string
|
|
4828
|
+
repository_id?: string
|
|
4830
4829
|
/** @default */
|
|
4831
|
-
repository_slug?: string
|
|
4830
|
+
repository_slug?: string
|
|
4832
4831
|
/** @default */
|
|
4833
|
-
branch?: string | null
|
|
4832
|
+
branch?: string | null
|
|
4834
4833
|
/** @default */
|
|
4835
|
-
commit_message?: string | null
|
|
4834
|
+
commit_message?: string | null
|
|
4836
4835
|
/** @default */
|
|
4837
|
-
commit_hash?: string | null
|
|
4836
|
+
commit_hash?: string | null
|
|
4838
4837
|
/** @default 0 */
|
|
4839
|
-
pull_request?: number | null
|
|
4840
|
-
committers?: string[]
|
|
4838
|
+
pull_request?: number | null
|
|
4839
|
+
committers?: string[]
|
|
4841
4840
|
/** @default */
|
|
4842
|
-
html_url?: string | null
|
|
4841
|
+
html_url?: string | null
|
|
4843
4842
|
/** @default */
|
|
4844
|
-
api_url?: string | null
|
|
4843
|
+
api_url?: string | null
|
|
4845
4844
|
/** @default */
|
|
4846
|
-
repo?: string
|
|
4845
|
+
repo?: string
|
|
4847
4846
|
/** @default */
|
|
4848
|
-
html_report_url?: string
|
|
4847
|
+
html_report_url?: string
|
|
4849
4848
|
/** @default */
|
|
4850
|
-
integration_type?: string | null
|
|
4849
|
+
integration_type?: string | null
|
|
4851
4850
|
/** @default */
|
|
4852
|
-
integration_repo_url?: string
|
|
4851
|
+
integration_repo_url?: string
|
|
4853
4852
|
/** @default */
|
|
4854
|
-
integration_branch_url?: string | null
|
|
4853
|
+
integration_branch_url?: string | null
|
|
4855
4854
|
/** @default */
|
|
4856
|
-
integration_commit_url?: string | null
|
|
4855
|
+
integration_commit_url?: string | null
|
|
4857
4856
|
/** @default */
|
|
4858
|
-
integration_pull_request_url?: string | null
|
|
4857
|
+
integration_pull_request_url?: string | null
|
|
4859
4858
|
/**
|
|
4860
4859
|
* @description The current processing status of the SBOM
|
|
4861
4860
|
* @default pending
|
|
4862
4861
|
* @enum {string|null}
|
|
4863
4862
|
*/
|
|
4864
|
-
scan_state?:
|
|
4865
|
-
| 'pending'
|
|
4866
|
-
| 'precrawl'
|
|
4867
|
-
| 'resolve'
|
|
4868
|
-
| 'scan'
|
|
4869
|
-
| null
|
|
4870
|
-
| undefined
|
|
4863
|
+
scan_state?: 'pending' | 'precrawl' | 'resolve' | 'scan' | null
|
|
4871
4864
|
}>
|
|
4865
|
+
/** @default */
|
|
4866
|
+
nextPageCursor: string | null
|
|
4872
4867
|
/** @default 0 */
|
|
4873
4868
|
nextPage: number | null
|
|
4874
4869
|
}
|
|
@@ -4889,6 +4884,9 @@ export interface operations {
|
|
|
4889
4884
|
*
|
|
4890
4885
|
* The maximum number of files you can upload at a time is 5000 and each file can be no bigger than 67 MB.
|
|
4891
4886
|
*
|
|
4887
|
+
* **Query Parameters:**
|
|
4888
|
+
* - `scan_type` (optional): The type of scan to perform. Defaults to 'socket'. Must be 32 characters or less. Used for categorizing multiple SBOM heads per repository branch.
|
|
4889
|
+
*
|
|
4892
4890
|
* This endpoint consumes 1 unit of your quota.
|
|
4893
4891
|
*
|
|
4894
4892
|
* This endpoint requires the following org token scopes:
|
|
@@ -4900,31 +4898,27 @@ export interface operations {
|
|
|
4900
4898
|
/** @description The slug of the repository to associate the full-scan with. */
|
|
4901
4899
|
repo: string
|
|
4902
4900
|
/** @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 ~^:?*[. */
|
|
4903
|
-
branch?: string
|
|
4901
|
+
branch?: string
|
|
4904
4902
|
/** @description The commit message to associate the full-scan with. */
|
|
4905
|
-
commit_message?: string
|
|
4903
|
+
commit_message?: string
|
|
4906
4904
|
/** @description The commit hash to associate the full-scan with. */
|
|
4907
|
-
commit_hash?: string
|
|
4905
|
+
commit_hash?: string
|
|
4908
4906
|
/** @description The pull request number to associate the full-scan with. */
|
|
4909
|
-
pull_request?: number
|
|
4907
|
+
pull_request?: number
|
|
4910
4908
|
/** @description The committers to associate the full-scan with. Set query more than once to set multiple. */
|
|
4911
|
-
committers?: string
|
|
4909
|
+
committers?: string
|
|
4912
4910
|
/** @description The integration type to associate the full-scan with. Defaults to "Api" if omitted. */
|
|
4913
|
-
integration_type?:
|
|
4914
|
-
| 'api'
|
|
4915
|
-
| 'github'
|
|
4916
|
-
| 'gitlab'
|
|
4917
|
-
| 'bitbucket'
|
|
4918
|
-
| 'azure'
|
|
4919
|
-
| undefined
|
|
4911
|
+
integration_type?: 'api' | 'github' | 'gitlab' | 'bitbucket' | 'azure'
|
|
4920
4912
|
/** @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. */
|
|
4921
|
-
integration_org_slug?: string
|
|
4913
|
+
integration_org_slug?: string
|
|
4922
4914
|
/** @description Set the default branch of the repository to the branch of this full-scan. A branch name is required with this option. */
|
|
4923
|
-
make_default_branch?: boolean
|
|
4915
|
+
make_default_branch?: boolean
|
|
4924
4916
|
/** @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. */
|
|
4925
|
-
set_as_pending_head?: boolean
|
|
4917
|
+
set_as_pending_head?: boolean
|
|
4926
4918
|
/** @description Create a temporary full-scan that is not listed in the reports dashboard. Cannot be used when set_as_pending_head=true. */
|
|
4927
|
-
tmp?: boolean
|
|
4919
|
+
tmp?: boolean
|
|
4920
|
+
/** @description The type of scan to perform. Defaults to 'socket'. Must be 32 characters or less. Used for categorizing multiple SBOM heads per repository branch. */
|
|
4921
|
+
scan_type?: string
|
|
4928
4922
|
}
|
|
4929
4923
|
path: {
|
|
4930
4924
|
/** @description The slug of the organization */
|
|
@@ -4944,59 +4938,53 @@ export interface operations {
|
|
|
4944
4938
|
content: {
|
|
4945
4939
|
'application/json': {
|
|
4946
4940
|
/** @default */
|
|
4947
|
-
id?: string
|
|
4941
|
+
id?: string
|
|
4948
4942
|
/** @default */
|
|
4949
|
-
created_at?: string
|
|
4943
|
+
created_at?: string
|
|
4950
4944
|
/** @default */
|
|
4951
|
-
updated_at?: string
|
|
4945
|
+
updated_at?: string
|
|
4952
4946
|
/** @default */
|
|
4953
|
-
organization_id?: string
|
|
4947
|
+
organization_id?: string
|
|
4954
4948
|
/** @default */
|
|
4955
|
-
organization_slug?: string
|
|
4949
|
+
organization_slug?: string
|
|
4956
4950
|
/** @default */
|
|
4957
|
-
repository_id?: string
|
|
4951
|
+
repository_id?: string
|
|
4958
4952
|
/** @default */
|
|
4959
|
-
repository_slug?: string
|
|
4953
|
+
repository_slug?: string
|
|
4960
4954
|
/** @default */
|
|
4961
|
-
branch?: string | null
|
|
4955
|
+
branch?: string | null
|
|
4962
4956
|
/** @default */
|
|
4963
|
-
commit_message?: string | null
|
|
4957
|
+
commit_message?: string | null
|
|
4964
4958
|
/** @default */
|
|
4965
|
-
commit_hash?: string | null
|
|
4959
|
+
commit_hash?: string | null
|
|
4966
4960
|
/** @default 0 */
|
|
4967
|
-
pull_request?: number | null
|
|
4968
|
-
committers?: string[]
|
|
4961
|
+
pull_request?: number | null
|
|
4962
|
+
committers?: string[]
|
|
4969
4963
|
/** @default */
|
|
4970
|
-
html_url?: string | null
|
|
4964
|
+
html_url?: string | null
|
|
4971
4965
|
/** @default */
|
|
4972
|
-
api_url?: string | null
|
|
4966
|
+
api_url?: string | null
|
|
4973
4967
|
/** @default */
|
|
4974
|
-
repo?: string
|
|
4968
|
+
repo?: string
|
|
4975
4969
|
/** @default */
|
|
4976
|
-
html_report_url?: string
|
|
4970
|
+
html_report_url?: string
|
|
4977
4971
|
/** @default */
|
|
4978
|
-
integration_type?: string | null
|
|
4972
|
+
integration_type?: string | null
|
|
4979
4973
|
/** @default */
|
|
4980
|
-
integration_repo_url?: string
|
|
4974
|
+
integration_repo_url?: string
|
|
4981
4975
|
/** @default */
|
|
4982
|
-
integration_branch_url?: string | null
|
|
4976
|
+
integration_branch_url?: string | null
|
|
4983
4977
|
/** @default */
|
|
4984
|
-
integration_commit_url?: string | null
|
|
4978
|
+
integration_commit_url?: string | null
|
|
4985
4979
|
/** @default */
|
|
4986
|
-
integration_pull_request_url?: string | null
|
|
4980
|
+
integration_pull_request_url?: string | null
|
|
4987
4981
|
/**
|
|
4988
4982
|
* @description The current processing status of the SBOM
|
|
4989
4983
|
* @default pending
|
|
4990
4984
|
* @enum {string|null}
|
|
4991
4985
|
*/
|
|
4992
|
-
scan_state?:
|
|
4993
|
-
|
|
4994
|
-
| 'precrawl'
|
|
4995
|
-
| 'resolve'
|
|
4996
|
-
| 'scan'
|
|
4997
|
-
| null
|
|
4998
|
-
| undefined
|
|
4999
|
-
unmatchedFiles?: string[] | undefined
|
|
4986
|
+
scan_state?: 'pending' | 'precrawl' | 'resolve' | 'scan' | null
|
|
4987
|
+
unmatchedFiles?: string[]
|
|
5000
4988
|
}
|
|
5001
4989
|
}
|
|
5002
4990
|
}
|
|
@@ -5109,58 +5097,52 @@ export interface operations {
|
|
|
5109
5097
|
content: {
|
|
5110
5098
|
'application/json': {
|
|
5111
5099
|
/** @default */
|
|
5112
|
-
id?: string
|
|
5100
|
+
id?: string
|
|
5113
5101
|
/** @default */
|
|
5114
|
-
created_at?: string
|
|
5102
|
+
created_at?: string
|
|
5115
5103
|
/** @default */
|
|
5116
|
-
updated_at?: string
|
|
5104
|
+
updated_at?: string
|
|
5117
5105
|
/** @default */
|
|
5118
|
-
organization_id?: string
|
|
5106
|
+
organization_id?: string
|
|
5119
5107
|
/** @default */
|
|
5120
|
-
organization_slug?: string
|
|
5108
|
+
organization_slug?: string
|
|
5121
5109
|
/** @default */
|
|
5122
|
-
repository_id?: string
|
|
5110
|
+
repository_id?: string
|
|
5123
5111
|
/** @default */
|
|
5124
|
-
repository_slug?: string
|
|
5112
|
+
repository_slug?: string
|
|
5125
5113
|
/** @default */
|
|
5126
|
-
branch?: string | null
|
|
5114
|
+
branch?: string | null
|
|
5127
5115
|
/** @default */
|
|
5128
|
-
commit_message?: string | null
|
|
5116
|
+
commit_message?: string | null
|
|
5129
5117
|
/** @default */
|
|
5130
|
-
commit_hash?: string | null
|
|
5118
|
+
commit_hash?: string | null
|
|
5131
5119
|
/** @default 0 */
|
|
5132
|
-
pull_request?: number | null
|
|
5133
|
-
committers?: string[]
|
|
5120
|
+
pull_request?: number | null
|
|
5121
|
+
committers?: string[]
|
|
5134
5122
|
/** @default */
|
|
5135
|
-
html_url?: string | null
|
|
5123
|
+
html_url?: string | null
|
|
5136
5124
|
/** @default */
|
|
5137
|
-
api_url?: string | null
|
|
5125
|
+
api_url?: string | null
|
|
5138
5126
|
/** @default */
|
|
5139
|
-
repo?: string
|
|
5127
|
+
repo?: string
|
|
5140
5128
|
/** @default */
|
|
5141
|
-
html_report_url?: string
|
|
5129
|
+
html_report_url?: string
|
|
5142
5130
|
/** @default */
|
|
5143
|
-
integration_type?: string | null
|
|
5131
|
+
integration_type?: string | null
|
|
5144
5132
|
/** @default */
|
|
5145
|
-
integration_repo_url?: string
|
|
5133
|
+
integration_repo_url?: string
|
|
5146
5134
|
/** @default */
|
|
5147
|
-
integration_branch_url?: string | null
|
|
5135
|
+
integration_branch_url?: string | null
|
|
5148
5136
|
/** @default */
|
|
5149
|
-
integration_commit_url?: string | null
|
|
5137
|
+
integration_commit_url?: string | null
|
|
5150
5138
|
/** @default */
|
|
5151
|
-
integration_pull_request_url?: string | null
|
|
5139
|
+
integration_pull_request_url?: string | null
|
|
5152
5140
|
/**
|
|
5153
5141
|
* @description The current processing status of the SBOM
|
|
5154
5142
|
* @default pending
|
|
5155
5143
|
* @enum {string|null}
|
|
5156
5144
|
*/
|
|
5157
|
-
scan_state?:
|
|
5158
|
-
| 'pending'
|
|
5159
|
-
| 'precrawl'
|
|
5160
|
-
| 'resolve'
|
|
5161
|
-
| 'scan'
|
|
5162
|
-
| null
|
|
5163
|
-
| undefined
|
|
5145
|
+
scan_state?: 'pending' | 'precrawl' | 'resolve' | 'scan' | null
|
|
5164
5146
|
}
|
|
5165
5147
|
}
|
|
5166
5148
|
}
|
|
@@ -5191,9 +5173,9 @@ export interface operations {
|
|
|
5191
5173
|
/** @description The full scan ID of the head/changed side of the diff (newer) */
|
|
5192
5174
|
before: string
|
|
5193
5175
|
/** @description Include license details in the response. This can increase the response size significantly. */
|
|
5194
|
-
include_license_details?: boolean
|
|
5176
|
+
include_license_details?: boolean
|
|
5195
5177
|
/** @description Omit unchanged artifacts from the response. When set to true, the unchanged field will be set to null. */
|
|
5196
|
-
omit_unchanged?: boolean
|
|
5178
|
+
omit_unchanged?: boolean
|
|
5197
5179
|
}
|
|
5198
5180
|
path: {
|
|
5199
5181
|
/** @description The slug of the organization */
|
|
@@ -5424,17 +5406,17 @@ export interface operations {
|
|
|
5424
5406
|
* @description The person(s) who created the BOM.
|
|
5425
5407
|
* Set this value if you're intending the modify the BOM and claim authorship.
|
|
5426
5408
|
*/
|
|
5427
|
-
author?: string
|
|
5409
|
+
author?: string
|
|
5428
5410
|
/** @description Dependency track project group */
|
|
5429
|
-
project_group?: string
|
|
5411
|
+
project_group?: string
|
|
5430
5412
|
/** @description Dependency track project name. Default use the directory name */
|
|
5431
|
-
project_name?: string
|
|
5413
|
+
project_name?: string
|
|
5432
5414
|
/** @description Dependency track project version */
|
|
5433
|
-
project_version?: string
|
|
5415
|
+
project_version?: string
|
|
5434
5416
|
/** @description Dependency track project id. Either provide the id or the project name and version together */
|
|
5435
|
-
project_id?: string
|
|
5417
|
+
project_id?: string
|
|
5436
5418
|
/** @description Include vulnerability information in the SBOM. Also includes reachability/VEX if available */
|
|
5437
|
-
include_vulnerabilities?: string
|
|
5419
|
+
include_vulnerabilities?: string
|
|
5438
5420
|
}
|
|
5439
5421
|
path: {
|
|
5440
5422
|
/** @description The slug of the organization */
|
|
@@ -5486,17 +5468,17 @@ export interface operations {
|
|
|
5486
5468
|
* @description The person(s) who created the BOM.
|
|
5487
5469
|
* Set this value if you're intending the modify the BOM and claim authorship.
|
|
5488
5470
|
*/
|
|
5489
|
-
author?: string
|
|
5471
|
+
author?: string
|
|
5490
5472
|
/** @description Dependency track project group */
|
|
5491
|
-
project_group?: string
|
|
5473
|
+
project_group?: string
|
|
5492
5474
|
/** @description Dependency track project name. Default use the directory name */
|
|
5493
|
-
project_name?: string
|
|
5475
|
+
project_name?: string
|
|
5494
5476
|
/** @description Dependency track project version */
|
|
5495
|
-
project_version?: string
|
|
5477
|
+
project_version?: string
|
|
5496
5478
|
/** @description Dependency track project id. Either provide the id or the project name and version together */
|
|
5497
|
-
project_id?: string
|
|
5479
|
+
project_id?: string
|
|
5498
5480
|
/** @description Include vulnerability information in the SBOM. Also includes reachability/VEX if available */
|
|
5499
|
-
include_vulnerabilities?: string
|
|
5481
|
+
include_vulnerabilities?: string
|
|
5500
5482
|
}
|
|
5501
5483
|
path: {
|
|
5502
5484
|
/** @description The slug of the organization */
|
|
@@ -5531,19 +5513,19 @@ export interface operations {
|
|
|
5531
5513
|
parameters: {
|
|
5532
5514
|
query?: {
|
|
5533
5515
|
/** @description Specify sort field. */
|
|
5534
|
-
sort?: 'created_at' | 'updated_at'
|
|
5516
|
+
sort?: 'created_at' | 'updated_at'
|
|
5535
5517
|
/** @description Specify sort direction. */
|
|
5536
|
-
direction?: 'asc' | 'desc'
|
|
5518
|
+
direction?: 'asc' | 'desc'
|
|
5537
5519
|
/** @description Specify the maximum number of results to return per page. */
|
|
5538
|
-
per_page?: number
|
|
5520
|
+
per_page?: number
|
|
5539
5521
|
/** @description Cursor for pagination. Use the next_cursor or prev_cursor from previous responses. */
|
|
5540
|
-
cursor?: string
|
|
5522
|
+
cursor?: string
|
|
5541
5523
|
/** @description Filter by repository ID. */
|
|
5542
|
-
repository_id?: string
|
|
5524
|
+
repository_id?: string
|
|
5543
5525
|
/** @description Filter by before full scan ID. */
|
|
5544
|
-
before_full_scan_id?: string
|
|
5526
|
+
before_full_scan_id?: string
|
|
5545
5527
|
/** @description Filter by after full scan ID. */
|
|
5546
|
-
after_full_scan_id?: string
|
|
5528
|
+
after_full_scan_id?: string
|
|
5547
5529
|
}
|
|
5548
5530
|
path: {
|
|
5549
5531
|
/** @description The slug of the organization */
|
|
@@ -5608,9 +5590,9 @@ export interface operations {
|
|
|
5608
5590
|
parameters: {
|
|
5609
5591
|
query?: {
|
|
5610
5592
|
/** @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. */
|
|
5611
|
-
omit_license_details?: boolean
|
|
5593
|
+
omit_license_details?: boolean
|
|
5612
5594
|
/** @description Omit unchanged artifacts from the response. When set to true, the unchanged field will be set to null. */
|
|
5613
|
-
omit_unchanged?: boolean
|
|
5595
|
+
omit_unchanged?: boolean
|
|
5614
5596
|
}
|
|
5615
5597
|
path: {
|
|
5616
5598
|
/** @description The slug of the organization */
|
|
@@ -5896,31 +5878,25 @@ export interface operations {
|
|
|
5896
5878
|
parameters: {
|
|
5897
5879
|
query?: {
|
|
5898
5880
|
/** @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. */
|
|
5899
|
-
description?: string
|
|
5881
|
+
description?: string
|
|
5900
5882
|
/** @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. */
|
|
5901
|
-
external_href?: string
|
|
5883
|
+
external_href?: string
|
|
5902
5884
|
/** @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 ~^:?*[. */
|
|
5903
|
-
branch?: string
|
|
5885
|
+
branch?: string
|
|
5904
5886
|
/** @description The commit message to associate the new full-scan with. */
|
|
5905
|
-
commit_message?: string
|
|
5887
|
+
commit_message?: string
|
|
5906
5888
|
/** @description The commit hash to associate the full-scan with. */
|
|
5907
|
-
commit_hash?: string
|
|
5889
|
+
commit_hash?: string
|
|
5908
5890
|
/** @description The pull request number to associate the new full-scan with. */
|
|
5909
|
-
pull_request?: number
|
|
5891
|
+
pull_request?: number
|
|
5910
5892
|
/** @description The committers to associate the new full-scan with. Set query more than once to set multiple committers. */
|
|
5911
|
-
committers?: string
|
|
5893
|
+
committers?: string
|
|
5912
5894
|
/** @description The integration type to associate the new full-scan with. Defaults to "api" if omitted. */
|
|
5913
|
-
integration_type?:
|
|
5914
|
-
| 'api'
|
|
5915
|
-
| 'github'
|
|
5916
|
-
| 'gitlab'
|
|
5917
|
-
| 'bitbucket'
|
|
5918
|
-
| 'azure'
|
|
5919
|
-
| undefined
|
|
5895
|
+
integration_type?: 'api' | 'github' | 'gitlab' | 'bitbucket' | 'azure'
|
|
5920
5896
|
/** @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. */
|
|
5921
|
-
integration_org_slug?: string
|
|
5897
|
+
integration_org_slug?: string
|
|
5922
5898
|
/** @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. */
|
|
5923
|
-
merge?: boolean
|
|
5899
|
+
merge?: boolean
|
|
5924
5900
|
}
|
|
5925
5901
|
path: {
|
|
5926
5902
|
/** @description The slug of the organization */
|
|
@@ -6052,11 +6028,11 @@ export interface operations {
|
|
|
6052
6028
|
/** @description The ID of the after/head full scan (newer) */
|
|
6053
6029
|
after: string
|
|
6054
6030
|
/** @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. */
|
|
6055
|
-
description?: string
|
|
6031
|
+
description?: string
|
|
6056
6032
|
/** @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. */
|
|
6057
|
-
external_href?: string
|
|
6033
|
+
external_href?: string
|
|
6058
6034
|
/** @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. */
|
|
6059
|
-
merge?: boolean
|
|
6035
|
+
merge?: boolean
|
|
6060
6036
|
}
|
|
6061
6037
|
path: {
|
|
6062
6038
|
/** @description The slug of the organization */
|
|
@@ -6170,10 +6146,10 @@ export interface operations {
|
|
|
6170
6146
|
getOrgTriage: {
|
|
6171
6147
|
parameters: {
|
|
6172
6148
|
query?: {
|
|
6173
|
-
sort?: string
|
|
6174
|
-
direction?: string
|
|
6175
|
-
per_page?: number
|
|
6176
|
-
page?: number
|
|
6149
|
+
sort?: string
|
|
6150
|
+
direction?: string
|
|
6151
|
+
per_page?: number
|
|
6152
|
+
page?: number
|
|
6177
6153
|
}
|
|
6178
6154
|
path: {
|
|
6179
6155
|
/** @description The slug of the organization */
|
|
@@ -6190,39 +6166,33 @@ export interface operations {
|
|
|
6190
6166
|
* @description The alert_key associated with the triage state
|
|
6191
6167
|
* @default
|
|
6192
6168
|
*/
|
|
6193
|
-
alert_key?: string
|
|
6169
|
+
alert_key?: string
|
|
6194
6170
|
/**
|
|
6195
6171
|
* @description The creation date of the triage action
|
|
6196
6172
|
* @default
|
|
6197
6173
|
*/
|
|
6198
|
-
created_at?: string
|
|
6174
|
+
created_at?: string
|
|
6199
6175
|
/**
|
|
6200
6176
|
* @description The last update date of the triage action
|
|
6201
6177
|
* @default
|
|
6202
6178
|
*/
|
|
6203
|
-
updated_at?: string
|
|
6179
|
+
updated_at?: string
|
|
6204
6180
|
/**
|
|
6205
6181
|
* @description The note associated with the triage action
|
|
6206
6182
|
* @default
|
|
6207
6183
|
*/
|
|
6208
|
-
note?: string
|
|
6184
|
+
note?: string
|
|
6209
6185
|
/**
|
|
6210
6186
|
* @description The organization id associated with the triage action
|
|
6211
6187
|
* @default
|
|
6212
6188
|
*/
|
|
6213
|
-
organization_id?: string
|
|
6189
|
+
organization_id?: string
|
|
6214
6190
|
/**
|
|
6215
6191
|
* @description The triage state of the alert
|
|
6216
6192
|
* @default inherit
|
|
6217
6193
|
* @enum {string}
|
|
6218
6194
|
*/
|
|
6219
|
-
state?:
|
|
6220
|
-
| 'block'
|
|
6221
|
-
| 'ignore'
|
|
6222
|
-
| 'inherit'
|
|
6223
|
-
| 'monitor'
|
|
6224
|
-
| 'warn'
|
|
6225
|
-
| undefined
|
|
6195
|
+
state?: 'block' | 'ignore' | 'inherit' | 'monitor' | 'warn'
|
|
6226
6196
|
}>
|
|
6227
6197
|
/** @default 0 */
|
|
6228
6198
|
nextPage: number | null
|
|
@@ -6257,20 +6227,14 @@ export interface operations {
|
|
|
6257
6227
|
'application/json': {
|
|
6258
6228
|
alertTriage: Array<{
|
|
6259
6229
|
/** @default */
|
|
6260
|
-
alertKey?: string
|
|
6230
|
+
alertKey?: string
|
|
6261
6231
|
/** @default */
|
|
6262
|
-
note?: string
|
|
6232
|
+
note?: string
|
|
6263
6233
|
/**
|
|
6264
6234
|
* @description The triage state of the alert
|
|
6265
6235
|
* @enum {string}
|
|
6266
6236
|
*/
|
|
6267
|
-
state?:
|
|
6268
|
-
| 'block'
|
|
6269
|
-
| 'ignore'
|
|
6270
|
-
| 'inherit'
|
|
6271
|
-
| 'monitor'
|
|
6272
|
-
| 'warn'
|
|
6273
|
-
| undefined
|
|
6237
|
+
state?: 'block' | 'ignore' | 'inherit' | 'monitor' | 'warn'
|
|
6274
6238
|
}>
|
|
6275
6239
|
}
|
|
6276
6240
|
}
|
|
@@ -6304,12 +6268,12 @@ export interface operations {
|
|
|
6304
6268
|
getOrgRepoList: {
|
|
6305
6269
|
parameters: {
|
|
6306
6270
|
query?: {
|
|
6307
|
-
sort?: string
|
|
6308
|
-
direction?: string
|
|
6309
|
-
per_page?: number
|
|
6310
|
-
page?: number
|
|
6271
|
+
sort?: string
|
|
6272
|
+
direction?: string
|
|
6273
|
+
per_page?: number
|
|
6274
|
+
page?: number
|
|
6311
6275
|
/** @description Include archived repositories in the results */
|
|
6312
|
-
include_archived?: boolean
|
|
6276
|
+
include_archived?: boolean
|
|
6313
6277
|
}
|
|
6314
6278
|
path: {
|
|
6315
6279
|
/** @description The slug of the organization */
|
|
@@ -6326,30 +6290,30 @@ export interface operations {
|
|
|
6326
6290
|
* @description The ID of the repository
|
|
6327
6291
|
* @default
|
|
6328
6292
|
*/
|
|
6329
|
-
id?: string
|
|
6293
|
+
id?: string
|
|
6330
6294
|
/**
|
|
6331
6295
|
* @description The creation date of the repository
|
|
6332
6296
|
* @default
|
|
6333
6297
|
*/
|
|
6334
|
-
created_at?: string
|
|
6298
|
+
created_at?: string
|
|
6335
6299
|
/**
|
|
6336
6300
|
* @description The last update date of the repository
|
|
6337
6301
|
* @default
|
|
6338
6302
|
*/
|
|
6339
|
-
updated_at?: string
|
|
6303
|
+
updated_at?: string
|
|
6340
6304
|
/**
|
|
6341
6305
|
* @description The slug of the repository
|
|
6342
6306
|
* @default
|
|
6343
6307
|
*/
|
|
6344
|
-
slug?: string
|
|
6308
|
+
slug?: string
|
|
6345
6309
|
/**
|
|
6346
6310
|
* @description The ID of the head full scan of the repository
|
|
6347
6311
|
* @default
|
|
6348
6312
|
*/
|
|
6349
|
-
head_full_scan_id?: string | null
|
|
6313
|
+
head_full_scan_id?: string | null
|
|
6350
6314
|
integration_meta?: {
|
|
6351
6315
|
/** @enum {string} */
|
|
6352
|
-
type?: 'github'
|
|
6316
|
+
type?: 'github'
|
|
6353
6317
|
value?: {
|
|
6354
6318
|
/**
|
|
6355
6319
|
* @description The GitHub installation_id of the active associated Socket GitHub App
|
|
@@ -6377,33 +6341,33 @@ export interface operations {
|
|
|
6377
6341
|
* @description The name of the repository
|
|
6378
6342
|
* @default
|
|
6379
6343
|
*/
|
|
6380
|
-
name?: string
|
|
6344
|
+
name?: string
|
|
6381
6345
|
/**
|
|
6382
6346
|
* @description The description of the repository
|
|
6383
6347
|
* @default
|
|
6384
6348
|
*/
|
|
6385
|
-
description?: string | null
|
|
6349
|
+
description?: string | null
|
|
6386
6350
|
/**
|
|
6387
6351
|
* @description The homepage URL of the repository
|
|
6388
6352
|
* @default
|
|
6389
6353
|
*/
|
|
6390
|
-
homepage?: string | null
|
|
6354
|
+
homepage?: string | null
|
|
6391
6355
|
/**
|
|
6392
6356
|
* @description The visibility of the repository
|
|
6393
6357
|
* @default private
|
|
6394
6358
|
* @enum {string}
|
|
6395
6359
|
*/
|
|
6396
|
-
visibility?: 'public' | 'private'
|
|
6360
|
+
visibility?: 'public' | 'private'
|
|
6397
6361
|
/**
|
|
6398
6362
|
* @description Whether the repository is archived or not
|
|
6399
6363
|
* @default false
|
|
6400
6364
|
*/
|
|
6401
|
-
archived?: boolean
|
|
6365
|
+
archived?: boolean
|
|
6402
6366
|
/**
|
|
6403
6367
|
* @description The default branch of the repository
|
|
6404
6368
|
* @default main
|
|
6405
6369
|
*/
|
|
6406
|
-
default_branch?: string | null
|
|
6370
|
+
default_branch?: string | null
|
|
6407
6371
|
}>
|
|
6408
6372
|
/** @default 0 */
|
|
6409
6373
|
nextPage: number | null
|
|
@@ -6442,33 +6406,33 @@ export interface operations {
|
|
|
6442
6406
|
* @description The name of the repository
|
|
6443
6407
|
* @default
|
|
6444
6408
|
*/
|
|
6445
|
-
name?: string
|
|
6409
|
+
name?: string
|
|
6446
6410
|
/**
|
|
6447
6411
|
* @description The description of the repository
|
|
6448
6412
|
* @default
|
|
6449
6413
|
*/
|
|
6450
|
-
description?: string | null
|
|
6414
|
+
description?: string | null
|
|
6451
6415
|
/**
|
|
6452
6416
|
* @description The homepage URL of the repository
|
|
6453
6417
|
* @default
|
|
6454
6418
|
*/
|
|
6455
|
-
homepage?: string | null
|
|
6419
|
+
homepage?: string | null
|
|
6456
6420
|
/**
|
|
6457
6421
|
* @description The visibility of the repository
|
|
6458
6422
|
* @default private
|
|
6459
6423
|
* @enum {string}
|
|
6460
6424
|
*/
|
|
6461
|
-
visibility?: 'public' | 'private'
|
|
6425
|
+
visibility?: 'public' | 'private'
|
|
6462
6426
|
/**
|
|
6463
6427
|
* @description Whether the repository is archived or not
|
|
6464
6428
|
* @default false
|
|
6465
6429
|
*/
|
|
6466
|
-
archived?: boolean
|
|
6430
|
+
archived?: boolean
|
|
6467
6431
|
/**
|
|
6468
6432
|
* @description The default branch of the repository
|
|
6469
6433
|
* @default main
|
|
6470
6434
|
*/
|
|
6471
|
-
default_branch?: string | null
|
|
6435
|
+
default_branch?: string | null
|
|
6472
6436
|
}
|
|
6473
6437
|
}
|
|
6474
6438
|
}
|
|
@@ -6481,30 +6445,30 @@ export interface operations {
|
|
|
6481
6445
|
* @description The ID of the repository
|
|
6482
6446
|
* @default
|
|
6483
6447
|
*/
|
|
6484
|
-
id?: string
|
|
6448
|
+
id?: string
|
|
6485
6449
|
/**
|
|
6486
6450
|
* @description The creation date of the repository
|
|
6487
6451
|
* @default
|
|
6488
6452
|
*/
|
|
6489
|
-
created_at?: string
|
|
6453
|
+
created_at?: string
|
|
6490
6454
|
/**
|
|
6491
6455
|
* @description The last update date of the repository
|
|
6492
6456
|
* @default
|
|
6493
6457
|
*/
|
|
6494
|
-
updated_at?: string
|
|
6458
|
+
updated_at?: string
|
|
6495
6459
|
/**
|
|
6496
6460
|
* @description The slug of the repository
|
|
6497
6461
|
* @default
|
|
6498
6462
|
*/
|
|
6499
|
-
slug?: string
|
|
6463
|
+
slug?: string
|
|
6500
6464
|
/**
|
|
6501
6465
|
* @description The ID of the head full scan of the repository
|
|
6502
6466
|
* @default
|
|
6503
6467
|
*/
|
|
6504
|
-
head_full_scan_id?: string | null
|
|
6468
|
+
head_full_scan_id?: string | null
|
|
6505
6469
|
integration_meta?: {
|
|
6506
6470
|
/** @enum {string} */
|
|
6507
|
-
type?: 'github'
|
|
6471
|
+
type?: 'github'
|
|
6508
6472
|
value?: {
|
|
6509
6473
|
/**
|
|
6510
6474
|
* @description The GitHub installation_id of the active associated Socket GitHub App
|
|
@@ -6532,33 +6496,33 @@ export interface operations {
|
|
|
6532
6496
|
* @description The name of the repository
|
|
6533
6497
|
* @default
|
|
6534
6498
|
*/
|
|
6535
|
-
name?: string
|
|
6499
|
+
name?: string
|
|
6536
6500
|
/**
|
|
6537
6501
|
* @description The description of the repository
|
|
6538
6502
|
* @default
|
|
6539
6503
|
*/
|
|
6540
|
-
description?: string | null
|
|
6504
|
+
description?: string | null
|
|
6541
6505
|
/**
|
|
6542
6506
|
* @description The homepage URL of the repository
|
|
6543
6507
|
* @default
|
|
6544
6508
|
*/
|
|
6545
|
-
homepage?: string | null
|
|
6509
|
+
homepage?: string | null
|
|
6546
6510
|
/**
|
|
6547
6511
|
* @description The visibility of the repository
|
|
6548
6512
|
* @default private
|
|
6549
6513
|
* @enum {string}
|
|
6550
6514
|
*/
|
|
6551
|
-
visibility?: 'public' | 'private'
|
|
6515
|
+
visibility?: 'public' | 'private'
|
|
6552
6516
|
/**
|
|
6553
6517
|
* @description Whether the repository is archived or not
|
|
6554
6518
|
* @default false
|
|
6555
6519
|
*/
|
|
6556
|
-
archived?: boolean
|
|
6520
|
+
archived?: boolean
|
|
6557
6521
|
/**
|
|
6558
6522
|
* @description The default branch of the repository
|
|
6559
6523
|
* @default main
|
|
6560
6524
|
*/
|
|
6561
|
-
default_branch?: string | null
|
|
6525
|
+
default_branch?: string | null
|
|
6562
6526
|
}
|
|
6563
6527
|
}
|
|
6564
6528
|
}
|
|
@@ -6619,7 +6583,7 @@ export interface operations {
|
|
|
6619
6583
|
head_full_scan_id: string | null
|
|
6620
6584
|
integration_meta: {
|
|
6621
6585
|
/** @enum {string} */
|
|
6622
|
-
type?: 'github'
|
|
6586
|
+
type?: 'github'
|
|
6623
6587
|
value?: {
|
|
6624
6588
|
/**
|
|
6625
6589
|
* @description The GitHub installation_id of the active associated Socket GitHub App
|
|
@@ -6714,33 +6678,33 @@ export interface operations {
|
|
|
6714
6678
|
* @description The name of the repository
|
|
6715
6679
|
* @default
|
|
6716
6680
|
*/
|
|
6717
|
-
name?: string
|
|
6681
|
+
name?: string
|
|
6718
6682
|
/**
|
|
6719
6683
|
* @description The description of the repository
|
|
6720
6684
|
* @default
|
|
6721
6685
|
*/
|
|
6722
|
-
description?: string | null
|
|
6686
|
+
description?: string | null
|
|
6723
6687
|
/**
|
|
6724
6688
|
* @description The homepage URL of the repository
|
|
6725
6689
|
* @default
|
|
6726
6690
|
*/
|
|
6727
|
-
homepage?: string | null
|
|
6691
|
+
homepage?: string | null
|
|
6728
6692
|
/**
|
|
6729
6693
|
* @description The visibility of the repository
|
|
6730
6694
|
* @default private
|
|
6731
6695
|
* @enum {string}
|
|
6732
6696
|
*/
|
|
6733
|
-
visibility?: 'public' | 'private'
|
|
6697
|
+
visibility?: 'public' | 'private'
|
|
6734
6698
|
/**
|
|
6735
6699
|
* @description Whether the repository is archived or not
|
|
6736
6700
|
* @default false
|
|
6737
6701
|
*/
|
|
6738
|
-
archived?: boolean
|
|
6702
|
+
archived?: boolean
|
|
6739
6703
|
/**
|
|
6740
6704
|
* @description The default branch of the repository
|
|
6741
6705
|
* @default main
|
|
6742
6706
|
*/
|
|
6743
|
-
default_branch?: string | null
|
|
6707
|
+
default_branch?: string | null
|
|
6744
6708
|
}
|
|
6745
6709
|
}
|
|
6746
6710
|
}
|
|
@@ -6753,30 +6717,30 @@ export interface operations {
|
|
|
6753
6717
|
* @description The ID of the repository
|
|
6754
6718
|
* @default
|
|
6755
6719
|
*/
|
|
6756
|
-
id?: string
|
|
6720
|
+
id?: string
|
|
6757
6721
|
/**
|
|
6758
6722
|
* @description The creation date of the repository
|
|
6759
6723
|
* @default
|
|
6760
6724
|
*/
|
|
6761
|
-
created_at?: string
|
|
6725
|
+
created_at?: string
|
|
6762
6726
|
/**
|
|
6763
6727
|
* @description The last update date of the repository
|
|
6764
6728
|
* @default
|
|
6765
6729
|
*/
|
|
6766
|
-
updated_at?: string
|
|
6730
|
+
updated_at?: string
|
|
6767
6731
|
/**
|
|
6768
6732
|
* @description The slug of the repository
|
|
6769
6733
|
* @default
|
|
6770
6734
|
*/
|
|
6771
|
-
slug?: string
|
|
6735
|
+
slug?: string
|
|
6772
6736
|
/**
|
|
6773
6737
|
* @description The ID of the head full scan of the repository
|
|
6774
6738
|
* @default
|
|
6775
6739
|
*/
|
|
6776
|
-
head_full_scan_id?: string | null
|
|
6740
|
+
head_full_scan_id?: string | null
|
|
6777
6741
|
integration_meta?: {
|
|
6778
6742
|
/** @enum {string} */
|
|
6779
|
-
type?: 'github'
|
|
6743
|
+
type?: 'github'
|
|
6780
6744
|
value?: {
|
|
6781
6745
|
/**
|
|
6782
6746
|
* @description The GitHub installation_id of the active associated Socket GitHub App
|
|
@@ -6804,33 +6768,33 @@ export interface operations {
|
|
|
6804
6768
|
* @description The name of the repository
|
|
6805
6769
|
* @default
|
|
6806
6770
|
*/
|
|
6807
|
-
name?: string
|
|
6771
|
+
name?: string
|
|
6808
6772
|
/**
|
|
6809
6773
|
* @description The description of the repository
|
|
6810
6774
|
* @default
|
|
6811
6775
|
*/
|
|
6812
|
-
description?: string | null
|
|
6776
|
+
description?: string | null
|
|
6813
6777
|
/**
|
|
6814
6778
|
* @description The homepage URL of the repository
|
|
6815
6779
|
* @default
|
|
6816
6780
|
*/
|
|
6817
|
-
homepage?: string | null
|
|
6781
|
+
homepage?: string | null
|
|
6818
6782
|
/**
|
|
6819
6783
|
* @description The visibility of the repository
|
|
6820
6784
|
* @default private
|
|
6821
6785
|
* @enum {string}
|
|
6822
6786
|
*/
|
|
6823
|
-
visibility?: 'public' | 'private'
|
|
6787
|
+
visibility?: 'public' | 'private'
|
|
6824
6788
|
/**
|
|
6825
6789
|
* @description Whether the repository is archived or not
|
|
6826
6790
|
* @default false
|
|
6827
6791
|
*/
|
|
6828
|
-
archived?: boolean
|
|
6792
|
+
archived?: boolean
|
|
6829
6793
|
/**
|
|
6830
6794
|
* @description The default branch of the repository
|
|
6831
6795
|
* @default main
|
|
6832
6796
|
*/
|
|
6833
|
-
default_branch?: string | null
|
|
6797
|
+
default_branch?: string | null
|
|
6834
6798
|
}
|
|
6835
6799
|
}
|
|
6836
6800
|
}
|
|
@@ -6903,7 +6867,7 @@ export interface operations {
|
|
|
6903
6867
|
* @description The ID of the repository to associate with the label
|
|
6904
6868
|
* @default
|
|
6905
6869
|
*/
|
|
6906
|
-
repository_id?: string
|
|
6870
|
+
repository_id?: string
|
|
6907
6871
|
}
|
|
6908
6872
|
}
|
|
6909
6873
|
}
|
|
@@ -6916,7 +6880,7 @@ export interface operations {
|
|
|
6916
6880
|
* @description Status of the operation
|
|
6917
6881
|
* @default
|
|
6918
6882
|
*/
|
|
6919
|
-
status?: string
|
|
6883
|
+
status?: string
|
|
6920
6884
|
}
|
|
6921
6885
|
}
|
|
6922
6886
|
}
|
|
@@ -6939,8 +6903,8 @@ export interface operations {
|
|
|
6939
6903
|
getOrgRepoLabelList: {
|
|
6940
6904
|
parameters: {
|
|
6941
6905
|
query?: {
|
|
6942
|
-
per_page?: number
|
|
6943
|
-
page?: number
|
|
6906
|
+
per_page?: number
|
|
6907
|
+
page?: number
|
|
6944
6908
|
}
|
|
6945
6909
|
path: {
|
|
6946
6910
|
/** @description The slug of the organization */
|
|
@@ -6957,24 +6921,24 @@ export interface operations {
|
|
|
6957
6921
|
* @description The ID of the label
|
|
6958
6922
|
* @default
|
|
6959
6923
|
*/
|
|
6960
|
-
id?: string
|
|
6924
|
+
id?: string
|
|
6961
6925
|
/**
|
|
6962
6926
|
* @description The name of the label
|
|
6963
6927
|
* @default
|
|
6964
6928
|
*/
|
|
6965
|
-
name?: string
|
|
6929
|
+
name?: string
|
|
6966
6930
|
/** @description The IDs of repositories this label is associated with */
|
|
6967
|
-
repository_ids?: string[]
|
|
6931
|
+
repository_ids?: string[]
|
|
6968
6932
|
/**
|
|
6969
6933
|
* @description Whether the label has a security policy
|
|
6970
6934
|
* @default false
|
|
6971
6935
|
*/
|
|
6972
|
-
has_security_policy?: boolean
|
|
6936
|
+
has_security_policy?: boolean
|
|
6973
6937
|
/**
|
|
6974
6938
|
* @description Whether the label has a license policy
|
|
6975
6939
|
* @default false
|
|
6976
6940
|
*/
|
|
6977
|
-
has_license_policy?: boolean
|
|
6941
|
+
has_license_policy?: boolean
|
|
6978
6942
|
}>
|
|
6979
6943
|
/** @default 0 */
|
|
6980
6944
|
nextPage: number | null
|
|
@@ -7026,24 +6990,24 @@ export interface operations {
|
|
|
7026
6990
|
* @description The ID of the label
|
|
7027
6991
|
* @default
|
|
7028
6992
|
*/
|
|
7029
|
-
id?: string
|
|
6993
|
+
id?: string
|
|
7030
6994
|
/**
|
|
7031
6995
|
* @description The name of the label
|
|
7032
6996
|
* @default
|
|
7033
6997
|
*/
|
|
7034
|
-
name?: string
|
|
6998
|
+
name?: string
|
|
7035
6999
|
/** @description The IDs of repositories this label is associated with */
|
|
7036
|
-
repository_ids?: string[]
|
|
7000
|
+
repository_ids?: string[]
|
|
7037
7001
|
/**
|
|
7038
7002
|
* @description Whether the label has a security policy
|
|
7039
7003
|
* @default false
|
|
7040
7004
|
*/
|
|
7041
|
-
has_security_policy?: boolean
|
|
7005
|
+
has_security_policy?: boolean
|
|
7042
7006
|
/**
|
|
7043
7007
|
* @description Whether the label has a license policy
|
|
7044
7008
|
* @default false
|
|
7045
7009
|
*/
|
|
7046
|
-
has_license_policy?: boolean
|
|
7010
|
+
has_license_policy?: boolean
|
|
7047
7011
|
}
|
|
7048
7012
|
}
|
|
7049
7013
|
}
|
|
@@ -7094,24 +7058,24 @@ export interface operations {
|
|
|
7094
7058
|
* @description The ID of the label
|
|
7095
7059
|
* @default
|
|
7096
7060
|
*/
|
|
7097
|
-
id?: string
|
|
7061
|
+
id?: string
|
|
7098
7062
|
/**
|
|
7099
7063
|
* @description The name of the label
|
|
7100
7064
|
* @default
|
|
7101
7065
|
*/
|
|
7102
|
-
name?: string
|
|
7066
|
+
name?: string
|
|
7103
7067
|
/** @description The IDs of repositories this label is associated with */
|
|
7104
|
-
repository_ids?: string[]
|
|
7068
|
+
repository_ids?: string[]
|
|
7105
7069
|
/**
|
|
7106
7070
|
* @description Whether the label has a security policy
|
|
7107
7071
|
* @default false
|
|
7108
7072
|
*/
|
|
7109
|
-
has_security_policy?: boolean
|
|
7073
|
+
has_security_policy?: boolean
|
|
7110
7074
|
/**
|
|
7111
7075
|
* @description Whether the label has a license policy
|
|
7112
7076
|
* @default false
|
|
7113
7077
|
*/
|
|
7114
|
-
has_license_policy?: boolean
|
|
7078
|
+
has_license_policy?: boolean
|
|
7115
7079
|
}
|
|
7116
7080
|
}
|
|
7117
7081
|
}
|
|
@@ -7162,24 +7126,24 @@ export interface operations {
|
|
|
7162
7126
|
* @description The ID of the label
|
|
7163
7127
|
* @default
|
|
7164
7128
|
*/
|
|
7165
|
-
id?: string
|
|
7129
|
+
id?: string
|
|
7166
7130
|
/**
|
|
7167
7131
|
* @description The name of the label
|
|
7168
7132
|
* @default
|
|
7169
7133
|
*/
|
|
7170
|
-
name?: string
|
|
7134
|
+
name?: string
|
|
7171
7135
|
/** @description The IDs of repositories this label is associated with */
|
|
7172
|
-
repository_ids?: string[]
|
|
7136
|
+
repository_ids?: string[]
|
|
7173
7137
|
/**
|
|
7174
7138
|
* @description Whether the label has a security policy
|
|
7175
7139
|
* @default false
|
|
7176
7140
|
*/
|
|
7177
|
-
has_security_policy?: boolean
|
|
7141
|
+
has_security_policy?: boolean
|
|
7178
7142
|
/**
|
|
7179
7143
|
* @description Whether the label has a license policy
|
|
7180
7144
|
* @default false
|
|
7181
7145
|
*/
|
|
7182
|
-
has_license_policy?: boolean
|
|
7146
|
+
has_license_policy?: boolean
|
|
7183
7147
|
}
|
|
7184
7148
|
}
|
|
7185
7149
|
}
|
|
@@ -8063,7 +8027,7 @@ export interface operations {
|
|
|
8063
8027
|
| 'high'
|
|
8064
8028
|
| null
|
|
8065
8029
|
/** @default null */
|
|
8066
|
-
licensePolicy?: Record<string, unknown> | null
|
|
8030
|
+
licensePolicy?: Record<string, unknown> | null
|
|
8067
8031
|
}
|
|
8068
8032
|
}
|
|
8069
8033
|
}
|
|
@@ -8886,15 +8850,8 @@ export interface operations {
|
|
|
8886
8850
|
* @default medium
|
|
8887
8851
|
* @enum {string}
|
|
8888
8852
|
*/
|
|
8889
|
-
issueRulesPolicyDefault?:
|
|
8890
|
-
|
|
8891
|
-
| 'low'
|
|
8892
|
-
| 'medium'
|
|
8893
|
-
| 'high'
|
|
8894
|
-
| undefined
|
|
8895
|
-
licensePolicy?:
|
|
8896
|
-
| components['schemas']['LicenseAllowListRequest']
|
|
8897
|
-
| undefined
|
|
8853
|
+
issueRulesPolicyDefault?: 'default' | 'low' | 'medium' | 'high'
|
|
8854
|
+
licensePolicy?: components['schemas']['LicenseAllowListRequest']
|
|
8898
8855
|
}
|
|
8899
8856
|
}
|
|
8900
8857
|
}
|
|
@@ -8988,7 +8945,7 @@ export interface operations {
|
|
|
8988
8945
|
* @description The ID of the repository to disassociate from the label
|
|
8989
8946
|
* @default
|
|
8990
8947
|
*/
|
|
8991
|
-
repository_id?: string
|
|
8948
|
+
repository_id?: string
|
|
8992
8949
|
}
|
|
8993
8950
|
}
|
|
8994
8951
|
}
|
|
@@ -9001,7 +8958,7 @@ export interface operations {
|
|
|
9001
8958
|
* @description Status of the operation
|
|
9002
8959
|
* @default
|
|
9003
8960
|
*/
|
|
9004
|
-
status?: string
|
|
8961
|
+
status?: string
|
|
9005
8962
|
}
|
|
9006
8963
|
}
|
|
9007
8964
|
}
|
|
@@ -9046,14 +9003,14 @@ export interface operations {
|
|
|
9046
9003
|
error: string
|
|
9047
9004
|
/** @default */
|
|
9048
9005
|
sent_at: string
|
|
9049
|
-
retry_info:
|
|
9006
|
+
retry_info: {
|
|
9050
9007
|
/** @default 0 */
|
|
9051
9008
|
status_code: number
|
|
9052
9009
|
/** @default */
|
|
9053
9010
|
error: string
|
|
9054
9011
|
/** @default */
|
|
9055
9012
|
sent_at: string
|
|
9056
|
-
}
|
|
9013
|
+
}[]
|
|
9057
9014
|
/** @default */
|
|
9058
9015
|
created_at: string
|
|
9059
9016
|
/** @default */
|
|
@@ -9081,7 +9038,7 @@ export interface operations {
|
|
|
9081
9038
|
parameters: {
|
|
9082
9039
|
query?: {
|
|
9083
9040
|
/** @description Return only customized security policy rules. */
|
|
9084
|
-
custom_rules_only?: boolean
|
|
9041
|
+
custom_rules_only?: boolean
|
|
9085
9042
|
}
|
|
9086
9043
|
path: {
|
|
9087
9044
|
/** @description The slug of the organization */
|
|
@@ -9877,12 +9834,7 @@ export interface operations {
|
|
|
9877
9834
|
* @default default
|
|
9878
9835
|
* @enum {string}
|
|
9879
9836
|
*/
|
|
9880
|
-
securityPolicyDefault?:
|
|
9881
|
-
| 'default'
|
|
9882
|
-
| 'low'
|
|
9883
|
-
| 'medium'
|
|
9884
|
-
| 'high'
|
|
9885
|
-
| undefined
|
|
9837
|
+
securityPolicyDefault?: 'default' | 'low' | 'medium' | 'high'
|
|
9886
9838
|
}
|
|
9887
9839
|
}
|
|
9888
9840
|
}
|
|
@@ -9906,7 +9858,7 @@ export interface operations {
|
|
|
9906
9858
|
parameters: {
|
|
9907
9859
|
query?: {
|
|
9908
9860
|
/** @description Return only customized security policy rules in the response. */
|
|
9909
|
-
custom_rules_only?: boolean
|
|
9861
|
+
custom_rules_only?: boolean
|
|
9910
9862
|
}
|
|
9911
9863
|
path: {
|
|
9912
9864
|
/** @description The slug of the organization */
|
|
@@ -9920,7 +9872,7 @@ export interface operations {
|
|
|
9920
9872
|
* @description The default security policy for the organization
|
|
9921
9873
|
* @enum {string}
|
|
9922
9874
|
*/
|
|
9923
|
-
policyDefault?: 'default' | 'low' | 'medium' | 'high'
|
|
9875
|
+
policyDefault?: 'default' | 'low' | 'medium' | 'high'
|
|
9924
9876
|
policyRules?: {
|
|
9925
9877
|
gptSecurity?: {
|
|
9926
9878
|
/**
|
|
@@ -10704,7 +10656,7 @@ export interface operations {
|
|
|
10704
10656
|
* @description Reset the policy rules to the default. When set to true, do not include any policyRules updates.
|
|
10705
10657
|
* @default false
|
|
10706
10658
|
*/
|
|
10707
|
-
resetPolicyRules?: boolean
|
|
10659
|
+
resetPolicyRules?: boolean
|
|
10708
10660
|
}
|
|
10709
10661
|
}
|
|
10710
10662
|
}
|
|
@@ -11497,12 +11449,7 @@ export interface operations {
|
|
|
11497
11449
|
* @default default
|
|
11498
11450
|
* @enum {string}
|
|
11499
11451
|
*/
|
|
11500
|
-
securityPolicyDefault?:
|
|
11501
|
-
| 'default'
|
|
11502
|
-
| 'low'
|
|
11503
|
-
| 'medium'
|
|
11504
|
-
| 'high'
|
|
11505
|
-
| undefined
|
|
11452
|
+
securityPolicyDefault?: 'default' | 'low' | 'medium' | 'high'
|
|
11506
11453
|
}
|
|
11507
11454
|
}
|
|
11508
11455
|
}
|
|
@@ -11700,47 +11647,47 @@ export interface operations {
|
|
|
11700
11647
|
* @description Run a SAST Scan on your source code as part of the Socket Basics scan
|
|
11701
11648
|
* @default false
|
|
11702
11649
|
*/
|
|
11703
|
-
pythonSastEnabled?: boolean
|
|
11650
|
+
pythonSastEnabled?: boolean
|
|
11704
11651
|
/**
|
|
11705
11652
|
* @description Run a SAST Scan on your source code as part of the Socket Basics scan
|
|
11706
11653
|
* @default false
|
|
11707
11654
|
*/
|
|
11708
|
-
golangSastEnabled?: boolean
|
|
11655
|
+
golangSastEnabled?: boolean
|
|
11709
11656
|
/**
|
|
11710
11657
|
* @description Run a SAST Scan on your source code as part of the Socket Basics scan
|
|
11711
11658
|
* @default false
|
|
11712
11659
|
*/
|
|
11713
|
-
javascriptSastEnabled?: boolean
|
|
11660
|
+
javascriptSastEnabled?: boolean
|
|
11714
11661
|
/**
|
|
11715
11662
|
* @description Scan for hardcoded secrets and credentials in your code as part of the Socket Basics scan
|
|
11716
11663
|
* @default false
|
|
11717
11664
|
*/
|
|
11718
|
-
secretScanningEnabled?: boolean
|
|
11665
|
+
secretScanningEnabled?: boolean
|
|
11719
11666
|
/**
|
|
11720
11667
|
* @description Run a vulnerability scan on your Docker images as part of the Socket Basics scan
|
|
11721
11668
|
* @default false
|
|
11722
11669
|
*/
|
|
11723
|
-
trivyImageEnabled?: boolean
|
|
11670
|
+
trivyImageEnabled?: boolean
|
|
11724
11671
|
/**
|
|
11725
11672
|
* @description Run a vulnerability scan on your Dockerfiles as part of the Socket Basics scan
|
|
11726
11673
|
* @default false
|
|
11727
11674
|
*/
|
|
11728
|
-
trivyDockerfileEnabled?: boolean
|
|
11675
|
+
trivyDockerfileEnabled?: boolean
|
|
11729
11676
|
/**
|
|
11730
11677
|
* @description Scan dependencies for security vulnerabilities and issues as part of the Socket Basics scan
|
|
11731
11678
|
* @default false
|
|
11732
11679
|
*/
|
|
11733
|
-
socketScanningEnabled?: boolean
|
|
11680
|
+
socketScanningEnabled?: boolean
|
|
11734
11681
|
/**
|
|
11735
11682
|
* @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.
|
|
11736
11683
|
* @default false
|
|
11737
11684
|
*/
|
|
11738
|
-
socketScaEnabled?: boolean
|
|
11685
|
+
socketScaEnabled?: boolean
|
|
11739
11686
|
/**
|
|
11740
11687
|
* Format: Additional configuration for Socket Basics, includes support for experimental and custom tooling.
|
|
11741
11688
|
* @default
|
|
11742
11689
|
*/
|
|
11743
|
-
additionalParameters?: string
|
|
11690
|
+
additionalParameters?: string
|
|
11744
11691
|
}
|
|
11745
11692
|
}
|
|
11746
11693
|
}
|
|
@@ -11761,13 +11708,13 @@ export interface operations {
|
|
|
11761
11708
|
parameters: {
|
|
11762
11709
|
query?: {
|
|
11763
11710
|
/** @description The UTC date in YYYY-MM-DD format for which to fetch alerts */
|
|
11764
|
-
date?: string
|
|
11711
|
+
date?: string
|
|
11765
11712
|
/** @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 */
|
|
11766
|
-
range?: string
|
|
11713
|
+
range?: string
|
|
11767
11714
|
/** @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) */
|
|
11768
|
-
per_page?: number
|
|
11715
|
+
per_page?: number
|
|
11769
11716
|
/** @description The pagination cursor that was returned as the "endCursor" property in previous request */
|
|
11770
|
-
startAfterCursor?: string
|
|
11717
|
+
startAfterCursor?: string
|
|
11771
11718
|
/** @description Comma-separated list of alert severities ("low", "medium", "high", or "critical") that should be included */
|
|
11772
11719
|
'filters.alertSeverity'?: string
|
|
11773
11720
|
/** @description Comma-separated list of alert severities ("low", "medium", "high", or "critical") that should be excluded */
|
|
@@ -11886,18 +11833,18 @@ export interface operations {
|
|
|
11886
11833
|
/** @default */
|
|
11887
11834
|
version: string
|
|
11888
11835
|
/** @default */
|
|
11889
|
-
artifact_id?: string
|
|
11836
|
+
artifact_id?: string
|
|
11890
11837
|
/** @default */
|
|
11891
|
-
artifactId?: string
|
|
11838
|
+
artifactId?: string
|
|
11892
11839
|
/** @default */
|
|
11893
|
-
author?: string
|
|
11894
|
-
capabilities?: components['schemas']['Capabilities']
|
|
11895
|
-
qualifiers?: components['schemas']['Qualifiers']
|
|
11896
|
-
scores?: components['schemas']['SocketScore']
|
|
11840
|
+
author?: string
|
|
11841
|
+
capabilities?: components['schemas']['Capabilities']
|
|
11842
|
+
qualifiers?: components['schemas']['Qualifiers']
|
|
11843
|
+
scores?: components['schemas']['SocketScore']
|
|
11897
11844
|
/** @default 0 */
|
|
11898
|
-
size?: number
|
|
11845
|
+
size?: number
|
|
11899
11846
|
/** @default */
|
|
11900
|
-
subpath?: string
|
|
11847
|
+
subpath?: string
|
|
11901
11848
|
}
|
|
11902
11849
|
alert: {
|
|
11903
11850
|
/** @default */
|
|
@@ -11913,13 +11860,13 @@ export interface operations {
|
|
|
11913
11860
|
/** @default */
|
|
11914
11861
|
category: string
|
|
11915
11862
|
/** @default */
|
|
11916
|
-
file?: string | null
|
|
11863
|
+
file?: string | null
|
|
11917
11864
|
/** @default null */
|
|
11918
|
-
props?: Record<string, unknown> | null
|
|
11865
|
+
props?: Record<string, unknown> | null
|
|
11919
11866
|
/** @default 0 */
|
|
11920
|
-
start?: number | null
|
|
11867
|
+
start?: number | null
|
|
11921
11868
|
/** @default 0 */
|
|
11922
|
-
end?: number | null
|
|
11869
|
+
end?: number | null
|
|
11923
11870
|
fix?: {
|
|
11924
11871
|
/** @default */
|
|
11925
11872
|
type: string
|
|
@@ -11934,15 +11881,9 @@ export interface operations {
|
|
|
11934
11881
|
dev: boolean
|
|
11935
11882
|
/** @default false */
|
|
11936
11883
|
dead: boolean
|
|
11937
|
-
manifestFiles?:
|
|
11938
|
-
|
|
11939
|
-
|
|
11940
|
-
topLevelAncestors?:
|
|
11941
|
-
| Array<components['schemas']['SocketId']>
|
|
11942
|
-
| undefined
|
|
11943
|
-
dependencies?:
|
|
11944
|
-
| Array<components['schemas']['SocketId']>
|
|
11945
|
-
| undefined
|
|
11884
|
+
manifestFiles?: components['schemas']['SocketManifestReference'][]
|
|
11885
|
+
topLevelAncestors?: components['schemas']['SocketId'][]
|
|
11886
|
+
dependencies?: components['schemas']['SocketId'][]
|
|
11946
11887
|
}
|
|
11947
11888
|
}>
|
|
11948
11889
|
meta: {
|
|
@@ -11958,43 +11899,43 @@ export interface operations {
|
|
|
11958
11899
|
includeLatestAlertsOnly: boolean
|
|
11959
11900
|
filters: {
|
|
11960
11901
|
/** @description Comma-separated list of alert severities ("low", "medium", "high", or "critical") that should be excluded */
|
|
11961
|
-
alertSeverity?: string[]
|
|
11902
|
+
alertSeverity?: string[]
|
|
11962
11903
|
/** @description Comma-separated list of repo slugs that should be excluded */
|
|
11963
|
-
repoSlug?: string[]
|
|
11904
|
+
repoSlug?: string[]
|
|
11964
11905
|
/** @description Comma-separated list of repo labels that should be excluded. Use "" to filter for repositories with no labels. */
|
|
11965
|
-
repoLabels?: string[]
|
|
11906
|
+
repoLabels?: string[]
|
|
11966
11907
|
/** @description Comma-separated list of alert types (e.g. "usesEval", "unmaintained", etc.) that should be excluded */
|
|
11967
|
-
alertType?: string[]
|
|
11908
|
+
alertType?: string[]
|
|
11968
11909
|
/** @description Name of artifact */
|
|
11969
|
-
artifactName?: string[]
|
|
11910
|
+
artifactName?: string[]
|
|
11970
11911
|
/** @description Comma-separated list of artifact types (e.g. "npm", "pypi", "gem", "maven", "golang", etc.) that should be excluded */
|
|
11971
|
-
artifactType?: string[]
|
|
11912
|
+
artifactType?: string[]
|
|
11972
11913
|
/** @description Comma-separated list of alert actions ("error", "warn", "monitor", or "ignore) that should be excluded */
|
|
11973
|
-
alertAction?: string[]
|
|
11914
|
+
alertAction?: string[]
|
|
11974
11915
|
/** @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 */
|
|
11975
|
-
alertActionSourceType?: string[]
|
|
11916
|
+
alertActionSourceType?: string[]
|
|
11976
11917
|
/** @description Comma-separated list of alert fix types ("upgrade", "cve", or "remove") that should be excluded */
|
|
11977
|
-
alertFixType?: string[]
|
|
11918
|
+
alertFixType?: string[]
|
|
11978
11919
|
/** @description Comma-separated list of alert categories ("supplyChainRisk", "maintenance", "quality", "license", or "vulnerability") that should be excluded */
|
|
11979
|
-
alertCategory?: string[]
|
|
11920
|
+
alertCategory?: string[]
|
|
11980
11921
|
/** @description CVE ID */
|
|
11981
|
-
alertCveId?: string[]
|
|
11922
|
+
alertCveId?: string[]
|
|
11982
11923
|
/** @description CVE title */
|
|
11983
|
-
alertCveTitle?: string[]
|
|
11924
|
+
alertCveTitle?: string[]
|
|
11984
11925
|
/** @description CWE ID */
|
|
11985
|
-
alertCweId?: string[]
|
|
11926
|
+
alertCweId?: string[]
|
|
11986
11927
|
/** @description CWE name */
|
|
11987
|
-
alertCweName?: string[]
|
|
11928
|
+
alertCweName?: string[]
|
|
11988
11929
|
/** @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 */
|
|
11989
|
-
alertReachabilityType?: string[]
|
|
11930
|
+
alertReachabilityType?: string[]
|
|
11990
11931
|
/** @description Alert priority ("low", "medium", or "high") */
|
|
11991
|
-
alertPriority?: string[]
|
|
11932
|
+
alertPriority?: string[]
|
|
11992
11933
|
/** @description Direct/transitive dependency filter flag */
|
|
11993
|
-
dependencyDirect?: boolean[]
|
|
11934
|
+
dependencyDirect?: boolean[]
|
|
11994
11935
|
/** @description Development/production dependency filter flag */
|
|
11995
|
-
dependencyDev?: boolean[]
|
|
11936
|
+
dependencyDev?: boolean[]
|
|
11996
11937
|
/** @description Dead/reachable dependency filter flag */
|
|
11997
|
-
dependencyDead?: boolean[]
|
|
11938
|
+
dependencyDead?: boolean[]
|
|
11998
11939
|
}
|
|
11999
11940
|
}
|
|
12000
11941
|
}
|
|
@@ -12019,9 +11960,9 @@ export interface operations {
|
|
|
12019
11960
|
parameters: {
|
|
12020
11961
|
query?: {
|
|
12021
11962
|
/** @description The UTC date in YYYY-MM-DD format for which to fetch alerts */
|
|
12022
|
-
date?: string
|
|
11963
|
+
date?: string
|
|
12023
11964
|
/** @description The number of days of data to fetch as an offset from input date */
|
|
12024
|
-
range?: string
|
|
11965
|
+
range?: string
|
|
12025
11966
|
/** @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) */
|
|
12026
11967
|
'aggregation.fields'?: string
|
|
12027
11968
|
/** @description Comma-separated list of alert severities ("low", "medium", "high", or "critical") that should be included */
|
|
@@ -12126,43 +12067,43 @@ export interface operations {
|
|
|
12126
12067
|
}
|
|
12127
12068
|
filters: {
|
|
12128
12069
|
/** @description Comma-separated list of alert severities ("low", "medium", "high", or "critical") that should be excluded */
|
|
12129
|
-
alertSeverity?: string[]
|
|
12070
|
+
alertSeverity?: string[]
|
|
12130
12071
|
/** @description Comma-separated list of repo slugs that should be excluded */
|
|
12131
|
-
repoSlug?: string[]
|
|
12072
|
+
repoSlug?: string[]
|
|
12132
12073
|
/** @description Comma-separated list of repo labels that should be excluded. Use "" to filter for repositories with no labels. */
|
|
12133
|
-
repoLabels?: string[]
|
|
12074
|
+
repoLabels?: string[]
|
|
12134
12075
|
/** @description Comma-separated list of alert types (e.g. "usesEval", "unmaintained", etc.) that should be excluded */
|
|
12135
|
-
alertType?: string[]
|
|
12076
|
+
alertType?: string[]
|
|
12136
12077
|
/** @description Name of artifact */
|
|
12137
|
-
artifactName?: string[]
|
|
12078
|
+
artifactName?: string[]
|
|
12138
12079
|
/** @description Comma-separated list of artifact types (e.g. "npm", "pypi", "gem", "maven", "golang", etc.) that should be excluded */
|
|
12139
|
-
artifactType?: string[]
|
|
12080
|
+
artifactType?: string[]
|
|
12140
12081
|
/** @description Comma-separated list of alert actions ("error", "warn", "monitor", or "ignore) that should be excluded */
|
|
12141
|
-
alertAction?: string[]
|
|
12082
|
+
alertAction?: string[]
|
|
12142
12083
|
/** @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 */
|
|
12143
|
-
alertActionSourceType?: string[]
|
|
12084
|
+
alertActionSourceType?: string[]
|
|
12144
12085
|
/** @description Comma-separated list of alert fix types ("upgrade", "cve", or "remove") that should be excluded */
|
|
12145
|
-
alertFixType?: string[]
|
|
12086
|
+
alertFixType?: string[]
|
|
12146
12087
|
/** @description Comma-separated list of alert categories ("supplyChainRisk", "maintenance", "quality", "license", or "vulnerability") that should be excluded */
|
|
12147
|
-
alertCategory?: string[]
|
|
12088
|
+
alertCategory?: string[]
|
|
12148
12089
|
/** @description CVE ID */
|
|
12149
|
-
alertCveId?: string[]
|
|
12090
|
+
alertCveId?: string[]
|
|
12150
12091
|
/** @description CVE title */
|
|
12151
|
-
alertCveTitle?: string[]
|
|
12092
|
+
alertCveTitle?: string[]
|
|
12152
12093
|
/** @description CWE ID */
|
|
12153
|
-
alertCweId?: string[]
|
|
12094
|
+
alertCweId?: string[]
|
|
12154
12095
|
/** @description CWE name */
|
|
12155
|
-
alertCweName?: string[]
|
|
12096
|
+
alertCweName?: string[]
|
|
12156
12097
|
/** @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 */
|
|
12157
|
-
alertReachabilityType?: string[]
|
|
12098
|
+
alertReachabilityType?: string[]
|
|
12158
12099
|
/** @description Alert priority ("low", "medium", or "high") */
|
|
12159
|
-
alertPriority?: string[]
|
|
12100
|
+
alertPriority?: string[]
|
|
12160
12101
|
/** @description Direct/transitive dependency filter flag */
|
|
12161
|
-
dependencyDirect?: boolean[]
|
|
12102
|
+
dependencyDirect?: boolean[]
|
|
12162
12103
|
/** @description Development/production dependency filter flag */
|
|
12163
|
-
dependencyDev?: boolean[]
|
|
12104
|
+
dependencyDev?: boolean[]
|
|
12164
12105
|
/** @description Dead/reachable dependency filter flag */
|
|
12165
|
-
dependencyDead?: boolean[]
|
|
12106
|
+
dependencyDead?: boolean[]
|
|
12166
12107
|
}
|
|
12167
12108
|
}
|
|
12168
12109
|
items: Array<{
|
|
@@ -12170,13 +12111,13 @@ export interface operations {
|
|
|
12170
12111
|
date: string
|
|
12171
12112
|
/** @default 0 */
|
|
12172
12113
|
startOfDayTimestamp: number
|
|
12173
|
-
dataPoints:
|
|
12114
|
+
dataPoints: {
|
|
12174
12115
|
aggregationGroup: string[]
|
|
12175
12116
|
/** @default 0 */
|
|
12176
12117
|
count: number
|
|
12177
12118
|
/** @default 0 */
|
|
12178
12119
|
countDelta: number
|
|
12179
|
-
}
|
|
12120
|
+
}[]
|
|
12180
12121
|
}>
|
|
12181
12122
|
}
|
|
12182
12123
|
}
|
|
@@ -12200,21 +12141,21 @@ export interface operations {
|
|
|
12200
12141
|
parameters: {
|
|
12201
12142
|
query?: {
|
|
12202
12143
|
/** @description The UTC date in YYYY-MM-DD format for which to fetch dependencies */
|
|
12203
|
-
date?: string
|
|
12144
|
+
date?: string
|
|
12204
12145
|
/** @description The number of days of data to fetch as an offset from input date */
|
|
12205
|
-
range?: string
|
|
12146
|
+
range?: string
|
|
12206
12147
|
/** @description Comma-separated list of repo slugs that should be included */
|
|
12207
|
-
repoSlug?: string
|
|
12148
|
+
repoSlug?: string
|
|
12208
12149
|
/** @description Comma-separated list of repo labels that should be included */
|
|
12209
|
-
repoLabels?: string
|
|
12150
|
+
repoLabels?: string
|
|
12210
12151
|
/** @description Comma-separated list of artifact types (e.g. "npm", "pypi", "gem", "maven", "golang", etc.) that should be included */
|
|
12211
|
-
artifactType?: string
|
|
12152
|
+
artifactType?: string
|
|
12212
12153
|
/** @description Direct/transitive dependency filter flag */
|
|
12213
|
-
dependencyDirect?: boolean
|
|
12154
|
+
dependencyDirect?: boolean
|
|
12214
12155
|
/** @description Development/production dependency filter flag */
|
|
12215
|
-
dependencyDev?: boolean
|
|
12156
|
+
dependencyDev?: boolean
|
|
12216
12157
|
/** @description Dead/reachable dependency filter flag */
|
|
12217
|
-
dependencyDead?: boolean
|
|
12158
|
+
dependencyDead?: boolean
|
|
12218
12159
|
}
|
|
12219
12160
|
path: {
|
|
12220
12161
|
/** @description The slug of the organization */
|
|
@@ -12241,17 +12182,17 @@ export interface operations {
|
|
|
12241
12182
|
}
|
|
12242
12183
|
filters: {
|
|
12243
12184
|
/** @description Comma-separated list of repo slugs that should be included */
|
|
12244
|
-
repoSlug?: string[]
|
|
12185
|
+
repoSlug?: string[]
|
|
12245
12186
|
/** @description Comma-separated list of repo labels that should be included */
|
|
12246
|
-
repoLabels?: string[]
|
|
12187
|
+
repoLabels?: string[]
|
|
12247
12188
|
/** @description Comma-separated list of artifact types (e.g. "npm", "pypi", "gem", "maven", "golang", etc.) that should be included */
|
|
12248
|
-
artifactType?: string[]
|
|
12189
|
+
artifactType?: string[]
|
|
12249
12190
|
/** @description Direct/transitive dependency filter flag */
|
|
12250
|
-
dependencyDirect?: boolean[]
|
|
12191
|
+
dependencyDirect?: boolean[]
|
|
12251
12192
|
/** @description Development/production dependency filter flag */
|
|
12252
|
-
dependencyDev?: boolean[]
|
|
12193
|
+
dependencyDev?: boolean[]
|
|
12253
12194
|
/** @description Dead/reachable dependency filter flag */
|
|
12254
|
-
dependencyDead?: boolean[]
|
|
12195
|
+
dependencyDead?: boolean[]
|
|
12255
12196
|
}
|
|
12256
12197
|
}
|
|
12257
12198
|
items: Array<{
|
|
@@ -12259,7 +12200,7 @@ export interface operations {
|
|
|
12259
12200
|
date: string
|
|
12260
12201
|
/** @default 0 */
|
|
12261
12202
|
startOfDayTimestamp: number
|
|
12262
|
-
dataPoints:
|
|
12203
|
+
dataPoints: {
|
|
12263
12204
|
aggregationGroup: string[]
|
|
12264
12205
|
/** @default 0 */
|
|
12265
12206
|
count: number
|
|
@@ -12331,7 +12272,7 @@ export interface operations {
|
|
|
12331
12272
|
countIndirectDelta: number
|
|
12332
12273
|
}
|
|
12333
12274
|
}
|
|
12334
|
-
}
|
|
12275
|
+
}[]
|
|
12335
12276
|
}>
|
|
12336
12277
|
}
|
|
12337
12278
|
}
|
|
@@ -12368,13 +12309,13 @@ export interface operations {
|
|
|
12368
12309
|
parameters: {
|
|
12369
12310
|
query?: {
|
|
12370
12311
|
/** @description The UTC date in YYYY-MM-DD format for which to fetch snapshots */
|
|
12371
|
-
date?: string
|
|
12312
|
+
date?: string
|
|
12372
12313
|
/** @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 */
|
|
12373
|
-
range?: string
|
|
12314
|
+
range?: string
|
|
12374
12315
|
/** @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) */
|
|
12375
|
-
per_page?: number
|
|
12316
|
+
per_page?: number
|
|
12376
12317
|
/** @description The pagination cursor that was returned as the "endCursor" property in previous request */
|
|
12377
|
-
startAfterCursor?: string
|
|
12318
|
+
startAfterCursor?: string
|
|
12378
12319
|
/** @description Comma-separated list of historical snapshot statuses that should be included (allowed: "in-progress", "success", "failure", "timeout", "skipped") */
|
|
12379
12320
|
'filters.status'?: string
|
|
12380
12321
|
/** @description Comma-separated list of requestId values that were used to start the historical snapshot job */
|
|
@@ -12400,8 +12341,8 @@ export interface operations {
|
|
|
12400
12341
|
/** @default */
|
|
12401
12342
|
endDateInclusive: string
|
|
12402
12343
|
filters: {
|
|
12403
|
-
status?: string[]
|
|
12404
|
-
requestId?: string[]
|
|
12344
|
+
status?: string[]
|
|
12345
|
+
requestId?: string[]
|
|
12405
12346
|
}
|
|
12406
12347
|
}
|
|
12407
12348
|
items: Array<{
|
|
@@ -12551,15 +12492,16 @@ export interface operations {
|
|
|
12551
12492
|
| 'UpdateAutopatchCurated'
|
|
12552
12493
|
| 'UpdateLabel'
|
|
12553
12494
|
| 'UpdateLabelSetting'
|
|
12495
|
+
| 'UpdateLicenseOverlay'
|
|
12554
12496
|
| 'UpdateOrganizationSetting'
|
|
12555
12497
|
| 'UpdateWebhook'
|
|
12556
12498
|
| 'UpgradeOrganizationPlan'
|
|
12557
12499
|
/** @description Number of events per page */
|
|
12558
|
-
per_page?: number
|
|
12500
|
+
per_page?: number
|
|
12559
12501
|
/** @description Page token */
|
|
12560
|
-
page?: string
|
|
12502
|
+
page?: string
|
|
12561
12503
|
/** @description A Unix timestamp in seconds to filter results prior to this date. */
|
|
12562
|
-
from?: string
|
|
12504
|
+
from?: string
|
|
12563
12505
|
}
|
|
12564
12506
|
path: {
|
|
12565
12507
|
/** @description The slug of the organization */
|
|
@@ -12573,33 +12515,33 @@ export interface operations {
|
|
|
12573
12515
|
'application/json': {
|
|
12574
12516
|
results: Array<{
|
|
12575
12517
|
/** @default */
|
|
12576
|
-
event_id?: string
|
|
12518
|
+
event_id?: string
|
|
12577
12519
|
/** @default */
|
|
12578
|
-
created_at?: string
|
|
12520
|
+
created_at?: string
|
|
12579
12521
|
/** @default */
|
|
12580
|
-
updated_at?: string
|
|
12522
|
+
updated_at?: string
|
|
12581
12523
|
/** @default */
|
|
12582
|
-
country_code?: string | null
|
|
12524
|
+
country_code?: string | null
|
|
12583
12525
|
/** @default */
|
|
12584
|
-
organization_id?: string | null
|
|
12526
|
+
organization_id?: string | null
|
|
12585
12527
|
/** @default */
|
|
12586
|
-
ip_address?: string | null
|
|
12528
|
+
ip_address?: string | null
|
|
12587
12529
|
/** @default null */
|
|
12588
|
-
payload?: Record<string, unknown> | null
|
|
12530
|
+
payload?: Record<string, unknown> | null
|
|
12589
12531
|
/** @default 0 */
|
|
12590
|
-
status_code?: number | null
|
|
12532
|
+
status_code?: number | null
|
|
12591
12533
|
/** @default */
|
|
12592
|
-
type?: string
|
|
12534
|
+
type?: string
|
|
12593
12535
|
/** @default */
|
|
12594
|
-
user_agent?: string | null
|
|
12536
|
+
user_agent?: string | null
|
|
12595
12537
|
/** @default */
|
|
12596
|
-
user_id?: string | null
|
|
12538
|
+
user_id?: string | null
|
|
12597
12539
|
/** @default */
|
|
12598
|
-
user_email?: string
|
|
12540
|
+
user_email?: string
|
|
12599
12541
|
/** @default */
|
|
12600
|
-
user_image?: string
|
|
12542
|
+
user_image?: string
|
|
12601
12543
|
/** @default */
|
|
12602
|
-
organization_name?: string
|
|
12544
|
+
organization_name?: string
|
|
12603
12545
|
}>
|
|
12604
12546
|
/** @default */
|
|
12605
12547
|
nextPage: string | null
|
|
@@ -12626,13 +12568,13 @@ export interface operations {
|
|
|
12626
12568
|
parameters: {
|
|
12627
12569
|
query?: {
|
|
12628
12570
|
/** @description Specify Sort order. */
|
|
12629
|
-
sort?: 'created_at'
|
|
12571
|
+
sort?: 'created_at'
|
|
12630
12572
|
/** @description Specify sort direction. */
|
|
12631
|
-
direction?: 'asc' | 'desc'
|
|
12573
|
+
direction?: 'asc' | 'desc'
|
|
12632
12574
|
/** @description Specify the maximum number of results to return per page. */
|
|
12633
|
-
per_page?: number
|
|
12575
|
+
per_page?: number
|
|
12634
12576
|
/** @description The token specifying which page to return. */
|
|
12635
|
-
page?: number
|
|
12577
|
+
page?: number
|
|
12636
12578
|
}
|
|
12637
12579
|
path: {
|
|
12638
12580
|
/** @description The slug of the organization */
|
|
@@ -12645,25 +12587,19 @@ export interface operations {
|
|
|
12645
12587
|
content: {
|
|
12646
12588
|
'application/json': {
|
|
12647
12589
|
tokens: Array<{
|
|
12648
|
-
committers:
|
|
12590
|
+
committers: {
|
|
12649
12591
|
/** @default */
|
|
12650
|
-
email?: string
|
|
12592
|
+
email?: string
|
|
12651
12593
|
/**
|
|
12652
12594
|
* @default api
|
|
12653
12595
|
* @enum {string}
|
|
12654
12596
|
*/
|
|
12655
|
-
provider?:
|
|
12656
|
-
| 'api'
|
|
12657
|
-
| 'azure'
|
|
12658
|
-
| 'bitbucket'
|
|
12659
|
-
| 'github'
|
|
12660
|
-
| 'gitlab'
|
|
12661
|
-
| undefined
|
|
12597
|
+
provider?: 'api' | 'azure' | 'bitbucket' | 'github' | 'gitlab'
|
|
12662
12598
|
/** @default */
|
|
12663
|
-
providerLoginName?: string
|
|
12599
|
+
providerLoginName?: string
|
|
12664
12600
|
/** @default */
|
|
12665
|
-
providerUserId?: string
|
|
12666
|
-
}
|
|
12601
|
+
providerUserId?: string
|
|
12602
|
+
}[]
|
|
12667
12603
|
/**
|
|
12668
12604
|
* Format: date
|
|
12669
12605
|
* @default
|
|
@@ -12686,7 +12622,7 @@ export interface operations {
|
|
|
12686
12622
|
* @default api token
|
|
12687
12623
|
*/
|
|
12688
12624
|
name: string | null
|
|
12689
|
-
scopes:
|
|
12625
|
+
scopes: (
|
|
12690
12626
|
| 'alerts'
|
|
12691
12627
|
| 'alerts:list'
|
|
12692
12628
|
| 'alerts:trend'
|
|
@@ -12752,7 +12688,7 @@ export interface operations {
|
|
|
12752
12688
|
| 'triage'
|
|
12753
12689
|
| 'triage:alerts-list'
|
|
12754
12690
|
| 'triage:alerts-update'
|
|
12755
|
-
|
|
12691
|
+
)[]
|
|
12756
12692
|
/**
|
|
12757
12693
|
* @description The obfuscated token of the API Token
|
|
12758
12694
|
* @default
|
|
@@ -12872,28 +12808,22 @@ export interface operations {
|
|
|
12872
12808
|
visibility: 'admin' | 'organization'
|
|
12873
12809
|
committer: {
|
|
12874
12810
|
/** @default */
|
|
12875
|
-
email?: string
|
|
12811
|
+
email?: string
|
|
12876
12812
|
/**
|
|
12877
12813
|
* @default api
|
|
12878
12814
|
* @enum {string}
|
|
12879
12815
|
*/
|
|
12880
|
-
provider?:
|
|
12881
|
-
| 'api'
|
|
12882
|
-
| 'azure'
|
|
12883
|
-
| 'bitbucket'
|
|
12884
|
-
| 'github'
|
|
12885
|
-
| 'gitlab'
|
|
12886
|
-
| undefined
|
|
12816
|
+
provider?: 'api' | 'azure' | 'bitbucket' | 'github' | 'gitlab'
|
|
12887
12817
|
/** @default */
|
|
12888
|
-
providerLoginName?: string
|
|
12818
|
+
providerLoginName?: string
|
|
12889
12819
|
/** @default */
|
|
12890
|
-
providerUserId?: string
|
|
12820
|
+
providerUserId?: string
|
|
12891
12821
|
}
|
|
12892
12822
|
/**
|
|
12893
12823
|
* @description Name for the API Token
|
|
12894
12824
|
* @default api token
|
|
12895
12825
|
*/
|
|
12896
|
-
name?: string
|
|
12826
|
+
name?: string
|
|
12897
12827
|
}
|
|
12898
12828
|
}
|
|
12899
12829
|
}
|
|
@@ -13011,28 +12941,22 @@ export interface operations {
|
|
|
13011
12941
|
visibility: 'admin' | 'organization'
|
|
13012
12942
|
committer: {
|
|
13013
12943
|
/** @default */
|
|
13014
|
-
email?: string
|
|
12944
|
+
email?: string
|
|
13015
12945
|
/**
|
|
13016
12946
|
* @default api
|
|
13017
12947
|
* @enum {string}
|
|
13018
12948
|
*/
|
|
13019
|
-
provider?:
|
|
13020
|
-
| 'api'
|
|
13021
|
-
| 'azure'
|
|
13022
|
-
| 'bitbucket'
|
|
13023
|
-
| 'github'
|
|
13024
|
-
| 'gitlab'
|
|
13025
|
-
| undefined
|
|
12949
|
+
provider?: 'api' | 'azure' | 'bitbucket' | 'github' | 'gitlab'
|
|
13026
12950
|
/** @default */
|
|
13027
|
-
providerLoginName?: string
|
|
12951
|
+
providerLoginName?: string
|
|
13028
12952
|
/** @default */
|
|
13029
|
-
providerUserId?: string
|
|
12953
|
+
providerUserId?: string
|
|
13030
12954
|
}
|
|
13031
12955
|
/**
|
|
13032
12956
|
* @description Name for the API Token
|
|
13033
12957
|
* @default api token
|
|
13034
12958
|
*/
|
|
13035
|
-
name?: string
|
|
12959
|
+
name?: string
|
|
13036
12960
|
}
|
|
13037
12961
|
}
|
|
13038
12962
|
}
|
|
@@ -13190,23 +13114,15 @@ export interface operations {
|
|
|
13190
13114
|
parameters: {
|
|
13191
13115
|
query?: {
|
|
13192
13116
|
/** @description Number of threats per page */
|
|
13193
|
-
per_page?: number
|
|
13117
|
+
per_page?: number
|
|
13194
13118
|
/** @description Page token */
|
|
13195
|
-
page?: string
|
|
13119
|
+
page?: string
|
|
13196
13120
|
/** @description Sort sort the threat feed by ID or createdAt attribute. */
|
|
13197
|
-
sort?: 'id' | 'created_at'
|
|
13121
|
+
sort?: 'id' | 'created_at'
|
|
13198
13122
|
/** @description Filter results by discovery period */
|
|
13199
|
-
discovery_period?:
|
|
13200
|
-
| '1h'
|
|
13201
|
-
| '6h'
|
|
13202
|
-
| '1d'
|
|
13203
|
-
| '7d'
|
|
13204
|
-
| '30d'
|
|
13205
|
-
| '90d'
|
|
13206
|
-
| '365d'
|
|
13207
|
-
| undefined
|
|
13123
|
+
discovery_period?: '1h' | '6h' | '1d' | '7d' | '30d' | '90d' | '365d'
|
|
13208
13124
|
/** @description Ordering direction of the sort attribute */
|
|
13209
|
-
direction?: 'desc' | 'asc'
|
|
13125
|
+
direction?: 'desc' | 'asc'
|
|
13210
13126
|
/** @description Filter what type of threats to return */
|
|
13211
13127
|
filter?:
|
|
13212
13128
|
| 'u'
|
|
@@ -13223,11 +13139,11 @@ export interface operations {
|
|
|
13223
13139
|
| 'obf'
|
|
13224
13140
|
| 'dual'
|
|
13225
13141
|
/** @description Filter threats by package name */
|
|
13226
|
-
name?: string
|
|
13142
|
+
name?: string
|
|
13227
13143
|
/** @description Filter threats by package version */
|
|
13228
|
-
version?: string
|
|
13144
|
+
version?: string
|
|
13229
13145
|
/** @description Only return threats which have been human-reviewed */
|
|
13230
|
-
is_human_reviewed?: boolean
|
|
13146
|
+
is_human_reviewed?: boolean
|
|
13231
13147
|
/** @description Filter threats by package ecosystem type */
|
|
13232
13148
|
ecosystem?:
|
|
13233
13149
|
| 'github'
|
|
@@ -13238,6 +13154,7 @@ export interface operations {
|
|
|
13238
13154
|
| 'maven'
|
|
13239
13155
|
| 'npm'
|
|
13240
13156
|
| 'nuget'
|
|
13157
|
+
| 'vscode'
|
|
13241
13158
|
| 'pypi'
|
|
13242
13159
|
| 'gem'
|
|
13243
13160
|
}
|
|
@@ -13249,28 +13166,28 @@ export interface operations {
|
|
|
13249
13166
|
'application/json': {
|
|
13250
13167
|
results: Array<{
|
|
13251
13168
|
/** @default */
|
|
13252
|
-
createdAt?: string
|
|
13169
|
+
createdAt?: string
|
|
13253
13170
|
/** @default */
|
|
13254
|
-
updatedAt?: string
|
|
13171
|
+
updatedAt?: string
|
|
13255
13172
|
/** @default */
|
|
13256
|
-
description?: string
|
|
13173
|
+
description?: string
|
|
13257
13174
|
/** @default 0 */
|
|
13258
|
-
id?: number
|
|
13175
|
+
id?: number
|
|
13259
13176
|
/** @default */
|
|
13260
|
-
locationHtmlUrl?: string
|
|
13177
|
+
locationHtmlUrl?: string
|
|
13261
13178
|
/** @default */
|
|
13262
|
-
packageHtmlUrl?: string
|
|
13179
|
+
packageHtmlUrl?: string
|
|
13263
13180
|
/** @default */
|
|
13264
|
-
purl?: string
|
|
13181
|
+
purl?: string
|
|
13265
13182
|
/** @default */
|
|
13266
|
-
removedAt?: string | null
|
|
13183
|
+
removedAt?: string | null
|
|
13267
13184
|
/** @default */
|
|
13268
|
-
threatType?: string
|
|
13185
|
+
threatType?: string
|
|
13269
13186
|
/**
|
|
13270
13187
|
* @description Whether the threat still is in need of human review by the threat research team
|
|
13271
13188
|
* @default false
|
|
13272
13189
|
*/
|
|
13273
|
-
needsHumanReview?: boolean
|
|
13190
|
+
needsHumanReview?: boolean
|
|
13274
13191
|
}>
|
|
13275
13192
|
/** @default */
|
|
13276
13193
|
nextPage: string | null
|
|
@@ -13299,17 +13216,17 @@ export interface operations {
|
|
|
13299
13216
|
parameters: {
|
|
13300
13217
|
query?: {
|
|
13301
13218
|
/** @description Number of threats per page */
|
|
13302
|
-
per_page?: number
|
|
13219
|
+
per_page?: number
|
|
13303
13220
|
/** @description Page cursor token. Pass the returned nextPageCursor to this query string to fetch the next page of the threat feed. */
|
|
13304
|
-
page_cursor?: string
|
|
13221
|
+
page_cursor?: string
|
|
13305
13222
|
/** @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. */
|
|
13306
|
-
sort?: 'id' | 'created_at' | 'updated_at'
|
|
13223
|
+
sort?: 'id' | 'created_at' | 'updated_at'
|
|
13307
13224
|
/** @description A Unix timestamp in seconds that filters results to items only updated after the timestamp. */
|
|
13308
|
-
updated_after?: string
|
|
13225
|
+
updated_after?: string
|
|
13309
13226
|
/** @description A Unix timestamp in seconds that filters results to items only created after the date. */
|
|
13310
|
-
created_after?: string
|
|
13227
|
+
created_after?: string
|
|
13311
13228
|
/** @description Order direction of the provided sort field. */
|
|
13312
|
-
direction?: 'desc' | 'asc'
|
|
13229
|
+
direction?: 'desc' | 'asc'
|
|
13313
13230
|
/** @description Filter what type of threats to return */
|
|
13314
13231
|
filter?:
|
|
13315
13232
|
| 'u'
|
|
@@ -13326,11 +13243,11 @@ export interface operations {
|
|
|
13326
13243
|
| 'obf'
|
|
13327
13244
|
| 'dual'
|
|
13328
13245
|
/** @description Filter threats by package name */
|
|
13329
|
-
name?: string
|
|
13246
|
+
name?: string
|
|
13330
13247
|
/** @description Filter threats by package version. */
|
|
13331
|
-
version?: string
|
|
13248
|
+
version?: string
|
|
13332
13249
|
/** @description Only return threats which have been human-reviewed */
|
|
13333
|
-
is_human_reviewed?: boolean
|
|
13250
|
+
is_human_reviewed?: boolean
|
|
13334
13251
|
/** @description Filter threats by package ecosystem type */
|
|
13335
13252
|
ecosystem?:
|
|
13336
13253
|
| 'github'
|
|
@@ -13341,6 +13258,7 @@ export interface operations {
|
|
|
13341
13258
|
| 'maven'
|
|
13342
13259
|
| 'npm'
|
|
13343
13260
|
| 'nuget'
|
|
13261
|
+
| 'vscode'
|
|
13344
13262
|
| 'pypi'
|
|
13345
13263
|
| 'gem'
|
|
13346
13264
|
}
|
|
@@ -13356,28 +13274,28 @@ export interface operations {
|
|
|
13356
13274
|
'application/json': {
|
|
13357
13275
|
results: Array<{
|
|
13358
13276
|
/** @default */
|
|
13359
|
-
createdAt?: string
|
|
13277
|
+
createdAt?: string
|
|
13360
13278
|
/** @default */
|
|
13361
|
-
updatedAt?: string
|
|
13279
|
+
updatedAt?: string
|
|
13362
13280
|
/** @default */
|
|
13363
|
-
description?: string
|
|
13281
|
+
description?: string
|
|
13364
13282
|
/** @default 0 */
|
|
13365
|
-
id?: number
|
|
13283
|
+
id?: number
|
|
13366
13284
|
/** @default */
|
|
13367
|
-
locationHtmlUrl?: string
|
|
13285
|
+
locationHtmlUrl?: string
|
|
13368
13286
|
/** @default */
|
|
13369
|
-
packageHtmlUrl?: string
|
|
13287
|
+
packageHtmlUrl?: string
|
|
13370
13288
|
/** @default */
|
|
13371
|
-
purl?: string
|
|
13289
|
+
purl?: string
|
|
13372
13290
|
/** @default */
|
|
13373
|
-
removedAt?: string | null
|
|
13291
|
+
removedAt?: string | null
|
|
13374
13292
|
/** @default */
|
|
13375
|
-
threatType?: string
|
|
13293
|
+
threatType?: string
|
|
13376
13294
|
/**
|
|
13377
13295
|
* @description Whether the threat still is in need of human review by the threat research team
|
|
13378
13296
|
* @default false
|
|
13379
13297
|
*/
|
|
13380
|
-
needsHumanReview?: boolean
|
|
13298
|
+
needsHumanReview?: boolean
|
|
13381
13299
|
}>
|
|
13382
13300
|
/** @default */
|
|
13383
13301
|
nextPageCursor: string | null
|
|
@@ -13766,7 +13684,7 @@ export interface operations {
|
|
|
13766
13684
|
parameters: {
|
|
13767
13685
|
query?: {
|
|
13768
13686
|
/** @description If `true`, the response will include the full text of the requested licenses */
|
|
13769
|
-
includetext?: boolean
|
|
13687
|
+
includetext?: boolean
|
|
13770
13688
|
}
|
|
13771
13689
|
}
|
|
13772
13690
|
requestBody?: {
|
|
@@ -13796,14 +13714,7 @@ export interface operations {
|
|
|
13796
13714
|
parameters: {
|
|
13797
13715
|
query?: {
|
|
13798
13716
|
/** @description Language for alert metadata */
|
|
13799
|
-
language?:
|
|
13800
|
-
| 'ach-UG'
|
|
13801
|
-
| 'de-DE'
|
|
13802
|
-
| 'en-US'
|
|
13803
|
-
| 'es-ES'
|
|
13804
|
-
| 'fr-FR'
|
|
13805
|
-
| 'it-IT'
|
|
13806
|
-
| undefined
|
|
13717
|
+
language?: 'ach-UG' | 'de-DE' | 'en-US' | 'es-ES' | 'fr-FR' | 'it-IT'
|
|
13807
13718
|
}
|
|
13808
13719
|
}
|
|
13809
13720
|
requestBody?: {
|
|
@@ -13953,7 +13864,7 @@ export interface operations {
|
|
|
13953
13864
|
content: {
|
|
13954
13865
|
'application/json': Array<{
|
|
13955
13866
|
/** @default */
|
|
13956
|
-
organization?: string
|
|
13867
|
+
organization?: string
|
|
13957
13868
|
}>
|
|
13958
13869
|
}
|
|
13959
13870
|
}
|
|
@@ -13966,7 +13877,7 @@ export interface operations {
|
|
|
13966
13877
|
issueRules: {
|
|
13967
13878
|
[key: string]: {
|
|
13968
13879
|
/** @enum {string} */
|
|
13969
|
-
action?: 'error' | 'ignore' | 'warn'
|
|
13880
|
+
action?: 'error' | 'ignore' | 'warn'
|
|
13970
13881
|
}
|
|
13971
13882
|
}
|
|
13972
13883
|
}
|
|
@@ -14080,9 +13991,9 @@ export interface operations {
|
|
|
14080
13991
|
parameters: {
|
|
14081
13992
|
query?: {
|
|
14082
13993
|
/** @description A Unix timestamp in seconds to filter results prior to this date. */
|
|
14083
|
-
from?: string
|
|
13994
|
+
from?: string
|
|
14084
13995
|
/** @description When defined, returns only reports for the associated repository slug. */
|
|
14085
|
-
repo?: string
|
|
13996
|
+
repo?: string
|
|
14086
13997
|
}
|
|
14087
13998
|
}
|
|
14088
13999
|
responses: {
|
|
@@ -14212,7 +14123,7 @@ export interface operations {
|
|
|
14212
14123
|
getRepoList: {
|
|
14213
14124
|
parameters: {
|
|
14214
14125
|
query?: {
|
|
14215
|
-
pageToken?: string
|
|
14126
|
+
pageToken?: string
|
|
14216
14127
|
}
|
|
14217
14128
|
}
|
|
14218
14129
|
responses: {
|