Skip to content

Commit 005159a

Browse files
committed
bump: v1.1.0
1 parent 5ef5c66 commit 005159a

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# OPENCVE DOCKER-COMPOSE ENV
2-
OPENCVE_VERSION=1.0.2
2+
OPENCVE_VERSION=1.1.0
33
OPENCVE_CONFIG_PATH=./conf/opencve.cfg
44
OPENCVE_PORT=8000
55
POSTGRES_USER=opencve

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Additional Use Grant: You may make use of the Licensed Work, provided that you d
1515
Work so that such third parties directly benefit from the
1616
security monitoring and alerting features of the Licensed Work.
1717

18-
Change Date: 2024-01-18
18+
Change Date: 2024-04-11
1919

2020
Change License: Apache License, Version 2.0
2121

conf/opencve.cfg.example

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,18 @@ display_recaptcha = False
3636
recaptcha_site_key =
3737
recaptcha_secret_key =
3838

39+
[api]
40+
; Enable the API ratelimit
41+
ratelimit_enabled = False
42+
43+
; Default value accross all API routes
44+
; see https://flask-limiter.readthedocs.io/en/stable/#rate-limit-string-notation
45+
ratelimit_value = 3600/hour
46+
47+
; Ratelimit storage URI
48+
; see https://limits.readthedocs.io/en/latest/storage.html
49+
ratelimit_storage_url = redis://redis:6379/2
50+
3951
[mail]
4052
; Choices are 'smtp' or 'sendmail'
4153
email_adapter = smtp

0 commit comments

Comments
 (0)