@pactosigna/mcp-server 0.1.17 → 0.1.19
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/dist/index.js +42 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -22595,7 +22595,15 @@ var RiskGapCodeSchema = external_exports.enum([
|
|
|
22595
22595
|
"unacceptable_no_benefit",
|
|
22596
22596
|
"preliminary_not_analyzed",
|
|
22597
22597
|
"missing_body_rationale",
|
|
22598
|
-
"orphaned_body_section"
|
|
22598
|
+
"orphaned_body_section",
|
|
22599
|
+
"architecture_no_risk_analysis",
|
|
22600
|
+
"security_hazard_no_asset_ref",
|
|
22601
|
+
"high_cia_no_security_hazard",
|
|
22602
|
+
"hazard_no_software_item",
|
|
22603
|
+
"detailed_design_missing_for_unit",
|
|
22604
|
+
"unit_no_verification",
|
|
22605
|
+
"risk_control_no_verification",
|
|
22606
|
+
"architecture_no_asset_types"
|
|
22599
22607
|
]);
|
|
22600
22608
|
var RiskGapSeveritySchema = external_exports.enum(["error", "warning"]);
|
|
22601
22609
|
var MitigationSchema = external_exports.object({
|
|
@@ -22665,7 +22673,9 @@ var HazardSoftwareFrontmatterSchema = external_exports.object({
|
|
|
22665
22673
|
leads_to: external_exports.array(external_exports.string()).optional(),
|
|
22666
22674
|
hazard_category: external_exports.string().optional(),
|
|
22667
22675
|
detection_score: external_exports.number().int().min(1).max(5).optional(),
|
|
22668
|
-
detection_method: external_exports.string().optional()
|
|
22676
|
+
detection_method: external_exports.string().optional(),
|
|
22677
|
+
/** Reference to the HLD/SDD software item this hazard applies to (IEC 62304 §7.1) */
|
|
22678
|
+
software_item: external_exports.string().min(1).optional()
|
|
22669
22679
|
});
|
|
22670
22680
|
var HazardSecurityFrontmatterSchema = external_exports.object({
|
|
22671
22681
|
type: external_exports.literal("haz_soe_security"),
|
|
@@ -22677,7 +22687,9 @@ var HazardSecurityFrontmatterSchema = external_exports.object({
|
|
|
22677
22687
|
approvers: external_exports.array(external_exports.string()).optional(),
|
|
22678
22688
|
preliminary: external_exports.boolean().default(false),
|
|
22679
22689
|
leads_to: external_exports.array(external_exports.string()).optional(),
|
|
22680
|
-
hazard_category: external_exports.string().optional()
|
|
22690
|
+
hazard_category: external_exports.string().optional(),
|
|
22691
|
+
/** Reference to the HLD/SDD software item this security hazard applies to (IEC 62304 §7.1, IEC 81001-5-1) */
|
|
22692
|
+
software_item: external_exports.string().min(1).optional()
|
|
22681
22693
|
});
|
|
22682
22694
|
var HazardFrontmatterSchema = external_exports.discriminatedUnion("type", [
|
|
22683
22695
|
HazardSoftwareFrontmatterSchema,
|
|
@@ -22819,6 +22831,22 @@ var SoftwareTestPlanFrontmatterSchema = external_exports.object({
|
|
|
22819
22831
|
approvers: external_exports.array(external_exports.string()).optional()
|
|
22820
22832
|
});
|
|
22821
22833
|
var SoftwareItemTypeSchema = external_exports.enum(["system", "subsystem", "component", "unit"]);
|
|
22834
|
+
var AssetTypeSchema = external_exports.enum([
|
|
22835
|
+
"data_store",
|
|
22836
|
+
"api_endpoint",
|
|
22837
|
+
"background_worker",
|
|
22838
|
+
"auth_provider",
|
|
22839
|
+
"external_service",
|
|
22840
|
+
"user_interface",
|
|
22841
|
+
"message_queue",
|
|
22842
|
+
"network_boundary"
|
|
22843
|
+
]);
|
|
22844
|
+
var CiaImpactLevelSchema = external_exports.enum(["low", "medium", "high"]);
|
|
22845
|
+
var CiaImpactSchema = external_exports.object({
|
|
22846
|
+
confidentiality: CiaImpactLevelSchema.optional(),
|
|
22847
|
+
integrity: CiaImpactLevelSchema.optional(),
|
|
22848
|
+
availability: CiaImpactLevelSchema.optional()
|
|
22849
|
+
});
|
|
22822
22850
|
var SegregationSchema = external_exports.object({
|
|
22823
22851
|
mechanism: external_exports.string().min(1),
|
|
22824
22852
|
rationale: external_exports.string().min(1)
|
|
@@ -22841,7 +22869,11 @@ var ArchitectureFrontmatterSchema = external_exports.object({
|
|
|
22841
22869
|
/** Approver list — required for all regulated document types */
|
|
22842
22870
|
approvers: external_exports.array(external_exports.string()).min(1),
|
|
22843
22871
|
/** SRS requirement IDs this architecture item implements (IEC 62304 §5.3.1) */
|
|
22844
|
-
implements: external_exports.array(external_exports.string().min(1)).optional()
|
|
22872
|
+
implements: external_exports.array(external_exports.string().min(1)).optional(),
|
|
22873
|
+
/** IEC 81001-5-1 asset classification for this software item (optional, enables security gap detection) */
|
|
22874
|
+
asset_types: external_exports.array(AssetTypeSchema).optional(),
|
|
22875
|
+
/** CIA impact assessment — enables automated detection of high-value assets missing security analysis */
|
|
22876
|
+
cia_impact: CiaImpactSchema.optional()
|
|
22845
22877
|
});
|
|
22846
22878
|
var DetailedDesignFrontmatterSchema = external_exports.object({
|
|
22847
22879
|
id: external_exports.string().min(1),
|
|
@@ -22861,7 +22893,11 @@ var DetailedDesignFrontmatterSchema = external_exports.object({
|
|
|
22861
22893
|
/** Approver list — required for all regulated document types */
|
|
22862
22894
|
approvers: external_exports.array(external_exports.string()).min(1),
|
|
22863
22895
|
/** SRS requirement IDs this design item implements (IEC 62304 §5.4.2) */
|
|
22864
|
-
implements: external_exports.array(external_exports.string().min(1)).optional()
|
|
22896
|
+
implements: external_exports.array(external_exports.string().min(1)).optional(),
|
|
22897
|
+
/** IEC 81001-5-1 asset classification for this software item (optional, enables security gap detection) */
|
|
22898
|
+
asset_types: external_exports.array(AssetTypeSchema).optional(),
|
|
22899
|
+
/** CIA impact assessment — enables automated detection of high-value assets missing security analysis */
|
|
22900
|
+
cia_impact: CiaImpactSchema.optional()
|
|
22865
22901
|
});
|
|
22866
22902
|
var AnomalyCategorySchema = external_exports.enum([
|
|
22867
22903
|
"bug",
|
|
@@ -25902,7 +25938,7 @@ var client = new PactoSignaApiClient({
|
|
|
25902
25938
|
apiKey: PACTOSIGNA_API_KEY
|
|
25903
25939
|
});
|
|
25904
25940
|
var server = new Server(
|
|
25905
|
-
{ name: "pactosigna", version: "0.1.
|
|
25941
|
+
{ name: "pactosigna", version: "0.1.19" },
|
|
25906
25942
|
{ capabilities: { tools: {} } }
|
|
25907
25943
|
);
|
|
25908
25944
|
server.setRequestHandler(ListToolsRequestSchema, async () => ({
|
package/package.json
CHANGED