Skip to content
This repository was archived by the owner on Aug 27, 2022. It is now read-only.
This repository was archived by the owner on Aug 27, 2022. It is now read-only.

Exclude from api but include in the sensor #74

Open

Description

@Salvora

Is your feature request related to a problem? Please describe.
I want to see who logged in from my local network but I want to exclude these from the api calls.

Describe the solution you'd like
Add a seperate exclude option to api part like this

  api:
    provider: 'ipapi'
    exclude:
      - "local ip"
      - "other ip"

I am not sure how this works but it will be helpful to reduce unnecessary api calls.

Activity

  1. mikael-andersson commented on Apr 21, 2022

    @mikael-andersson

    Without knowing much about this integration it seems like a good idea. I first thought that exclude actually was meant to deny authentication but maybe it only has to do with the logging as you seem to think.

  2. mikael-andersson commented on Apr 21, 2022

    @mikael-andersson

    Maybe it would be clearer to have two attributes such as:

    Name suggestions to exclude from logging

    log_exclude, exclude_log, filter_ip

    Name suggestions to deny/block authentication

    deny_ip, block_ip, deny_auth, block_auth

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions