• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mendersoftware / mender-server / 10369
0%
main: 74%

Build:
Build:
LAST BUILD BRANCH: MEN-8196
DEFAULT BRANCH: main
Ran 07 Nov 2025 07:47AM UTC
Jobs 0
Files 0
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Nov 2025 07:34AM UTC coverage: 0.0%. First build
10369

push

gitlab-ci

alfrunes
feat(deviceauth): Add rate limiting configuration for authenticated requests

Added the following configuration parameters:
```yaml
rate_limits:
  # auth configures rate limits for authenticated requests.
  auth:
    # enable rate limiting also requires redis_connection_string to be effective.
    enable: false
    # reject_unmatched rejects requests that does not resolve to a
    # rate limit group. That is, if either there's no api_pattern matching
    # the request or if the group_expression does not match a group.
    # Defaults to false - disable rate limiting for unmatched requests.
    reject_unmatched: false
    # groups specify rate limiting groups that overrides the parameters in the
    # default group.
    groups:
        # name defines the name of the group. The name is used in
        # match.group_expression to match an api_pattern with a group.
      - name: default
        # interval is the time interval when the rate limiter resets.
        interval: 1m
        # quota is the number of requests allowed in an interval.
        quota: 20
        # event_expression is a go template for grouping requests.
        # The following attributes are available in the context:
        # Identity - contains a subset of the JWT claims:
        # .Subject  (jwt:"sub")          string
        # .Tenant   (jwt:"mender.tenant") string
        # .Plan     (jwt:"mender.plan")   string
        # .Addons   (jwt:"mender.addons") []struct{Enabled bool; Name string}
        # .IsUser   (jwt:"mender.user")   bool
        # .IsDevice (jwt:"mender.device") bool
        # .Trial    (jwt:"mender.trial")  bool
        event_expression: "{{with .Identity}}{{.Subject}}{{end}}"
    match:
        # api_pattern specifies an API path pattern as defined by http.ServeMux
        # https://pkg.go.dev/net/http#hdr-Patterns-ServeMux
      - api_pattern: /
        # group_expression defines  the group for this matching expression.
        # A group can be selected dynamicall... (continued)

0 of 0 relevant lines covered (NaN%)

0.0 hits per line

Source Files on build 10369
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • GitLab CI Build #10369
  • 781ca87d on github
  • Next Build on pr_1086 (#10377)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc