Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
ali-cloudmonitor
Advanced tools
Aliyun cloudmonitor sdk for node.js
$ npm i ali-cloudmonitor --save
const AliCloudmonitor = require('ali-cloudmonitor')
const aliCloudmonitor = new AliCloudmonitor({
accessKeyId: 'xxx',
accessKeySecret: 'xxx',
// internal: false, // 默认false,如果是true,走阿里云内网服务地址。参考:https://help.aliyun.com/document_detail/60196.html
// region: 'cn-hangzhou', // 如果internal是true,需要设置此项。region列表参考:https://help.aliyun.com/document_detail/60196.html
})
// https://help.aliyun.com/document_detail/63275.html
aliCloudmonitor.sendMetric([{
groupId: 1,
metricName: 'metricName',
dimensions: {
dimensionA: 'xxx',
dimensionB: 'xxx'
},
time: Date.now(),
type: 0,
period: 60,
values: {
value: Math.random()
}
}]).then(console.log).catch(console.error)
// https://help.aliyun.com/document_detail/60196.html
aliCloudmonitor.sendEvent([{
name: 'eventName',
groupId: 2,
time: Date.now(),
content: 'This is a event'
}]).then(console.log).catch(console.error)
$ npm test
FAQs
Aliyun cloudmonitor sdk for node.js
The npm package ali-cloudmonitor receives a total of 0 weekly downloads. As such, ali-cloudmonitor popularity was classified as not popular.
We found that ali-cloudmonitor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.