Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
netlify-deployment-hours-plugin
Advanced tools
Block deployment if outside of deployment hours.
A Netlify build plugin that blocks deployment if it is outside of deployment hours.
To install, add the following lines to your netlify.toml
file:
[[plugins]]
package = "netlify-deployment-hours-plugin"
Note: The [[plugins]]
line is required for each plugin, even if you have other
plugins in your netlify.toml
file already.
There are two inputs
required to configure this plugin:
[[plugins]]
package = "netlify-deployment-hours-plugin"
[plugins.inputs]
# Optional: a comma-separated list of deploy contexts this plugin should monitor (default: "production")
contexts = "production" # default value
# A cron-like expression that expresses when a deployment can occur
expression = "* * * * *"
# tz database value that expresses the timezone of the expression
timezone = "America/Toronto"
Both are passed into
cron-allowed-range to
determine if a deployment should proceed. See the cron-allowed-range
documentation for more
details on how to form the cron-like expression.
The required inputs
can be overridden with environment variables for scenarios
where emergency deploys were required outside of regular deployment hours:
* `DEPLOYMENT_HOURS_EXPRESSION`
* `DEPLOYMENT_HOURS_TIMEZONE`
FAQs
Block deployment if outside of deployment hours.
We found that netlify-deployment-hours-plugin 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.