Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Configuration management and implicit dependency setup for Docker containers in SaltStack.
Project: https://github.com/merll/salt-container-map
Docs: Basic usage is provided in the state module <http://salt-container-map.readthedocs.io/en/latest/api/saltcontainermap.states.html>
.
Details about container configurations are available in the docs for Docker-Map <https://docker-map.readthedocs.io/en/latest/guide/containers/maps.html#container-landscapes-with-containermap>
.
This package contains SaltStack modules for configuring Docker
containers. They do not replace, but complement Salt’s built-in
dockerio
module in the following aspects:
require
or
require_in
. Instead, these are implicitly defined through their
shared volumes and links.tianon/true
obtained
from the public Docker registry). These are considered during the
dependency check and become adjusted with necessary file system
permissions during startup.watch
or
onchanges
.An example is documented in the state module.
Besides the usual package installation, a few simple post-installation
steps are required. They are described in the
docs <http://salt-container-map.readthedocs.io/en/latest/installation.html>
__.
Container configurations can be set in both pillars and states. Pillars
have the advantage that they are loaded automatically before any state
(e.g. container_map.updated
) or execution module uses it. Usually
the disadvantage is that pillars cannot refer to other pillars. This
package however provides a custom renderer lazy_yaml
along with
custom tags !pillar
and !grain
, which are resolved to their
values on the minion just before the container maps and their
configurations are instantiated.
By default, container maps are loaded from a pillar container_maps
.
This can be changed in the configuration by setting the configuration
value container_map.pillar_name
.
The modules distributed to the minions provide the functionality as
outlined in the overview. A usage example is included in the state module documentation <http://salt-container-map.readthedocs.io/en/latest/api/saltcontainermap.states.html>
__.
FAQs
Configuration management and implicit dependency setup for Docker containers in SaltStack.
We found that salt-container-map demonstrated a healthy version release cadence and project activity because the last version was released less than 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.