Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/commercetools/gcp-ssl-policy-asserter

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/commercetools/gcp-ssl-policy-asserter

  • v0.0.0-20230414144024-9920aa2a14b8
  • Source
  • Go
  • Socket score

Version published
Created
Source
This project is no longer used.

⚠️ Deprecation and Archive Notice

This project is deprecated and it is not longer used, please consider using GCP FrontenConfig to enforce SSL policies on your GCP loadbalancers.

The information on the deprection can be found in this issue

This program asserts SSLPolicies for all HTTPSProxies in a Google load balancer project.

Configuration

Environment VariableFunction
SSL_POLICY_NAMEGiven a name will assert a Policy with that name exists
GOOGLE_PROJECTGoogle Project ID to manage HTTPSProxies for
GOOGLE_APPLICATION_CREDENTIALSPath to Google Auth file. More info here
MIN_TLS_VERSIONMinimum TLS version (default TLS_1_2). Only supports the higher than TLS 1.1 version
SSL_PROFILESSL Profile type (default MODERN). Only supports the COMPATIBLE/MODERN/RESTRICTED
YAML PropertyFunction
ignoreProxies[]If an HTTPSProxy uses a URLMap within this list the SSLPolicy will not be asserted

Build and Deploy

Refer to the Makefile. It has all the commands detailed and variables set.

To publish a new version you should only have to do:

make publish

Deployed via k8s-manifest. Chart is located here.

IAM Permissions

# sslPolicy permissions
compute.sslPolicies.create
compute.sslPolicies.get
compute.sslPolicies.list
compute.sslPolicies.listAvailableFeatures
compute.sslPolicies.use

#  httpsProxies
compute.targetHttpsProxies.list
compute.targetHttpsProxies.setSslPolicy

# operations (to view long running operation status)
# SSLPolicy creation is one of these, but it creates quickly.
# Could be useful for errors though.
compute.globalOperations.get
compute.globalOperations.list

# project permissions
resourcemanager.projects.get

FAQs

Package last updated on 14 Apr 2023

Did you know?

Socket

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.

Install

Related posts

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