Giter Club home page Giter Club logo

Comments (5)

hvital avatar hvital commented on August 15, 2024

Hi,

We need to change this error message to just a info log. If the file does not exist, the solution should create a new one. Have you got a new file created?

from aws-waf-security-automations.

gxof avatar gxof commented on August 15, 2024

Hello,

Just like @dpmallinger, I had the same error and no file was created. I had to create manually an empty file in s3.
The error was then gone and the file contained a valid json. But no IPs are blocked.

from aws-waf-security-automations.

dpmallinger avatar dpmallinger commented on August 15, 2024

Hello,

I had the same experience as @gxof. I had to create the file manually with
{
"block": {}
}
to get the code to run.

from aws-waf-security-automations.

hvital avatar hvital commented on August 15, 2024

Got it. It's not the expected behavior.
Will change this error message to log but also check why the file was not created accordingly.

from aws-waf-security-automations.

hvital avatar hvital commented on August 15, 2024

We've just pushed a new version that fixes this. Added the following error handler for this case:

https://github.com/awslabs/aws-waf-security-automations/blob/c7b25b4f9005469f1606e8da19c9704268f0697a/source/log-parser/log-parser.py#L155

Many thanks

from aws-waf-security-automations.

Related Issues (20)

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.