Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐞💿 Suppression gives 400 Bad Request #473

Open
1 task done
timguyuk opened this issue Jun 26, 2024 · 6 comments
Open
1 task done

🐞💿 Suppression gives 400 Bad Request #473

timguyuk opened this issue Jun 26, 2024 · 6 comments

Comments

@timguyuk
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Installing Selks 10 I have the system up and running. I have a internal server that is hit by authorised traffic but ET SCAN Potential SSH Scan picks it up. no problem I add the authorised src ips to suppression accept I cant in selks 10. If I try and add from the hunting Dashboard I get a 400 Bad Request. Within https://x.x.x.x/rules/rule I can no longer click on the comments to see the suppression. I can goto history there are entry's but no information other than ip 172.18.0.2? If I goto https://x.x.x.x/rules/ruleset/1/ I can see suppressions but if I click on the id number i get "Server Error (500)"

Expected Behavior

No response

Steps To Reproduce

  1. Goto hunting dashboard
  2. Filter by Source IP
  3. Policy Actions / Supress
  4. Default Rule Set / Comments
  5. Submit
  6. 400 Bad Reques

Anything else?

No response

@timguyuk
Copy link
Author

I have managed to add hunting suppressions but when i goto hunting / policies I get "failed to fetch policies statistics"

also https://x.x.x.x/rules/rule/pk/2001219/ doesnt match hunting policies so still have issue

Ive tried a few different browsers.

Permissions?

@timguyuk
Copy link
Author

Reinstalled today to make sure it wasnt something weird. Still problems. Everything appears to work I just can confidently say that suppression is working. Certainly all the errors from my first post stand.

@timguyuk timguyuk reopened this Jun 27, 2024
@pevma
Copy link
Member

pevma commented Jun 29, 2024

Hi,

Are there any errors in docker/containers-data/scirius/logs/django-error.log, if you could share those please?

Thanks

@pevma
Copy link
Member

pevma commented Jun 30, 2024

Another way to do the suppression manually is to use the docker/containers-data/suricata/etc/threshold.config and edit it directly, afterwhich you just need to restart the suricata container.

@timguyuk
Copy link
Author

timguyuk commented Jul 5, 2024

Hi,

Are there any errors in docker/containers-data/scirius/logs/django-error.log, if you could share those please?

Thanks

Very basic reinstall and trying to add a supression on the first event and the django-error.log gives

2024-07-04 10:22:28,834 WARNING Not Found: /favicon.ico
2024-07-05 09:51:38,453 WARNING Bad Request: /rest/rules/processing-filter/

@pevma
Copy link
Member

pevma commented Jul 5, 2024

Does the workaround work ? (in my previous comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants