Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@enterprise-cmcs/macpro-security-hub-sync

Package Overview
Dependencies
Maintainers
0
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@enterprise-cmcs/macpro-security-hub-sync - npm Package Compare versions

Comparing version 1.9.0 to 1.10.0

16

dist/libs/security-hub-lib.js

@@ -38,3 +38,2 @@ "use strict";

],
ProductName: [{ Comparison: "EQUALS", Value: "Security Hub" }],
SeverityLabel: this.severityLabels,

@@ -48,2 +47,17 @@ CreatedAt: [

};
if (process.env.INCLUDE_ALL_PRODUCTS !== "true") {
filters.ProductName = [{ Comparison: "EQUALS", Value: "Security Hub" }];
}
if (process.env.SKIP_PRODUCTS) {
const skipList = process.env.SKIP_PRODUCTS.split(",");
skipList.forEach((product) => {
if (!filters.ProductName) {
filters.ProductName = [];
}
filters.ProductName?.push({
Comparison: "NOT_EQUALS",
Value: product,
});
});
}
// use an object to store unique findings by title

@@ -50,0 +64,0 @@ const uniqueFindings = {};

2

dist/macpro-security-hub-sync.js

@@ -108,3 +108,3 @@ "use strict";

resources.forEach(({ Id, Partition, Region, Type }) => {
Table += `${Id.padEnd(maxLength + 2)}| ${Partition.padEnd(11)} | ${Region.padEnd(9)} | ${Type} \n`;
Table += `${Id.padEnd(maxLength + 2)}| ${(Partition ?? "").padEnd(11)} | ${(Region ?? "").padEnd(9)} | ${Type ?? ""} \n`;
});

@@ -111,0 +111,0 @@ Table += `------------------------------------------------------------------------------------------------`;

@@ -7,3 +7,3 @@ {

},
"version": "1.9.0",
"version": "1.10.0",
"description": "NPM module to create Jira issues for all findings in Security Hub for the current AWS account..",

@@ -10,0 +10,0 @@ "main": "./dist/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc