
Security News
Critical Security Vulnerability in React Server Components
React disclosed a CVSS 10.0 RCE in React Server Components and is advising users to upgrade affected packages and frameworks to patched versions now.
@articulate/kongfig
Advanced tools
A tool for Kong to allow declarative configuration.
Simply define your list of api's and consumers in json and then run kongfig to ensure that your Kong is configured correctly.
We recommend installing Kongfig globally
npm install -g kongfig
Use our Puppet-Kongfig module to install and configure Kongfig
puppet module install mybuilder-kongfig
You can follow the quick start to get going in 5 minutes.
You can have your config in json, yaml, or js if you need to support multiple environments.
kongfig apply --path config.yml --host localhost:8001
You can dump the existing configuration to a file or view it on a screen
kongfig dump --host localhost:8001 > config.yml
You can omit the
--hostoption if kong is onlocalhost:8001as this is the default value
You can specify the desired format by giving --format option with possible options of json, yaml, or screen that prints the config with colours.
kongfig dump --format screen
Api schema:
apis:
- name: mockbin # unique api name
attributes:
request_host:
request_path:
strip_request_path:
preserve_host:
upstream_url: # (required)
Api plugin schema:
apis:
- name: mockbin # unique api name
attributes: # ...
plugins:
- name: rate-limiting # kong plugin name
- attributes: # the plugin attributes
consumer_id:
config:
All of the kong plugins should be supported if you find one that doesn't work please add an issue.
Consumer schema:
consumers:
- username: iphone-app
Consumer credential schema:
consumers:
- username: iphone-app
credentials:
- name: key-auth
attributes: # credential config attributes
Consumer ACL schema:
consumers:
- username: iphone-app
acls:
- group: acl-group-name
apis:
- name: mockbin # unique api name
attributes: # ...
plugins:
- name: key-auth
- attributes:
config:
key_names:
hide_credentials:
consumers:
- username: iphone-app
credentials:
- name: key-auth
attributes:
key: # required
apis:
- name: mockbin
attributes: # ...
plugins:
- name: key-auth
- attributes:
config:
hide_credentials:
consumers:
- username: iphone-app
credentials:
- name: basic-auth
attributes:
username: # required
password:
apis:
- name: mockbin
attributes: # ...
plugins:
- name: oauth2
- attributes:
config:
scopes:
mandatory_scope:
token_expiration:
enable_authorization_code:
enable_client_credentials:
enable_implicit_grant:
enable_password_grant:
hide_credentials:
consumers:
- username: iphone-app
credentials:
- name: oauth2
attributes:
name:
client_id: # required
client_secret:
redirect_uri: # required by kong
apis:
- name: mockbin
attributes: # ...
plugins:
- name: hmac-auth
- attributes:
config:
hide_credentials:
clock_skew:
consumers:
- username: iphone-app
credentials:
- name: hmac-auth
attributes:
username: # required
secret:
apis:
- name: mockbin
attributes: # ...
plugins:
- name: jwt
- attributes:
config:
uri_param_names:
claims_to_verify:
consumers:
- username: iphone-app
credentials:
- name: jwt
attributes:
key: # required
secret:
apis:
- name: mockbin
attributes: # ...
plugins:
- name: "acl"
ensure: "present"
attributes:
config.whitelist: "foo-group"
consumers:
- username: "some-username"
ensure: "present"
acls:
- group: "foo-group"
ensure: "present"
- group: "bar-group"
ensure: "present"
Created by MyBuilder - Check out our blog for more information and our other open-source projects.
We are very grateful for any contributions you can make to the project.
Visit the Contributing documentation for submission guidelines.
FAQs
A tool for Kong to allow declarative configuration.
We found that @articulate/kongfig 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
React disclosed a CVSS 10.0 RCE in React Server Components and is advising users to upgrade affected packages and frameworks to patched versions now.

Research
/Security News
We spotted a wave of auto-generated “elf-*” npm packages published every two minutes from new accounts, with simple malware variants and early takedowns underway.

Security News
TypeScript 6.0 will be the last JavaScript-based major release, as the project shifts to the TypeScript 7 native toolchain with major build speedups.