Socket
Socket
Sign inDemoInstall

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

Package Overview
Dependencies
Maintainers
5
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.14.0 to 1.14.1

10

dist/libs/jira-lib.js

@@ -95,7 +95,13 @@ "use strict";

};
let params = {
username: undefined,
accountId: undefined,
};
if (process.env.JIRA_HOST?.includes("jiraent")) {
axiosHeader["Authorization"] = `Bearer ${process.env.JIRA_TOKEN}`;
params["username"] = currentUser.name;
}
else {
axiosHeader["Authorization"] = `Basic ${Buffer.from(`${process.env.JIRA_USERNAME}:${process.env.JIRA_TOKEN}`).toString("base64")}`;
params["accountId"] = currentUser.accountId;
}

@@ -106,5 +112,3 @@ await (0, axios_1.default)({

headers: axiosHeader,
params: {
accountId: currentUser.accountId,
},
params,
});

@@ -111,0 +115,0 @@ }

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

},
"version": "1.14.0",
"version": "1.14.1",
"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