Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Configure an ECS Service security group to allow connections from a network load balancer
This CDK Custom Resource Provider patches up a gap in the CDK's use of Network Load Balancers to provide access to ECS Services.
You can see some discussion of the issue here:
https://github.com/aws/aws-cdk/issues/1490
In summary, adding an ECS Service as a target to an ALB Listener automatically alters the destination security group to allow access from the ALB security group.
NLBs do not have security groups, due to the different architecture of the underlying solution, and no similar behaviour takes place.
You must then authorise access yourself, which is in practical terms insane:
https://aws.amazon.com/premiumsupport/knowledge-center/elb-find-load-balancer-IP/
I mean, what.
Add this resource after you have added the target:
new AllowConnectionsToECSServiceFromNetworkLoadBalancer(stack, 'AllowServiceFromNLB', {
service,
PortMaps: [
{ nlbPort: 80, svcPort: 8000 },
{ nlbPort: 443, svcPort: 8443 },
],
loadBalancer: nlb,
});
For example:
const listener = nlb.addListener('Listener', {
port: 443,
certificates: [ListenerCertificate.fromCertificateManager(certificate)],
});
listener.addTargets(serviceName, {
port: 80,
targets: [service],
});
new AllowConnectionsToECSServiceFromNetworkLoadBalancer(stack, 'AllowServiceFromNLB', {
service,
PortMaps: [
{ nlbPort: 80, svcPort: 8000 },
],
loadBalancer: nlb,
});
FAQs
Configure an ECS Service security group to allow connections from a network load balancer
The npm package actesfnlbc receives a total of 0 weekly downloads. As such, actesfnlbc popularity was classified as not popular.
We found that actesfnlbc 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
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.