wafsync

command
v0.0.0-...-1d15134 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2026 License: CC0-1.0 Imports: 17 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

The WAF Sync lambda keeps our AWS WAF synced to our IP addresses DB table. It should be running roughly every 15m and fetching/updating each env's WAF IP set. See https://github.com/CMSgov/cdap/tree/main/terraform/services/api-waf-sync for related terraform infrastructure support.

You can run the unit test suite from the base dir (bcda-ssas-app) using the following command:

  • make test-path TEST_PATH="lambda/wafsync/*.go". (You might have to make load-fixtures first). It also has an integration test run via github actions (see .github/workflows/waf-sync-lambda-integration-test.yml).

The lambda is deployed (or promoted in the case of prod) using github actions (see .github/workflows/waf-sync-lambda-{env}-deploy.yml files).

Note: This code is adapted from the DPC project. For reference, see the original implementation here: https://github.com/CMSgov/dpc-app/blob/main/lambda/api-waf-sync

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL