Git Product home page Git Product logo

ss2lf's Introduction

SS2LF • SiteShield to LinodeFirewall

Akamai Site Shiledの更新をGithub Actionsを利用して、Linode Firewallへ自動的に適用するワークフローです。

手動の手順は以下を参照。

https://community.akamai.com/customers/s/article/JapanUserGroupSiteShield20190627090957?language=en_US

Setup

利用する際には、Actions secretsを設定します。

  • AKAMAI_CREDENTIALS
  • MAP_ID
  • LINODE_CLI_TOKEN
  • FIREWALL_ID
# AKAMAI_CREDENTIALS

[default]
client_secret = 
host = akab-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.luna.akamaiapis.net
access_token = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
client_token = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

# 取得方法

https://qiita.com/kabe-akam/items/499507d19220b44b4901
# MAP_ID

1111111

# Akamai CLIでの確認

akamai site-shield --section default list-maps
# LINODE_CLI_TOKEN

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

# 取得方法

https://www.linode.com/docs/guides/getting-started-with-the-linode-api/
# FIREWALL_ID

11111

# Linode CLIでの確認

linode-cli firewalls list

License

The source code is licensed MIT. The website content is licensed CC BY 4.0,see LICENSE.

ss2lf's People

Contributors

isss802 avatar

Watchers

 avatar

Forkers

110hideki

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.