-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env-EXAMPLE
More file actions
43 lines (37 loc) · 1.62 KB
/
.env-EXAMPLE
File metadata and controls
43 lines (37 loc) · 1.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
################################################
### cve-core ###################################
################################################
# ----- ----- runtime ----- ----- ----- -----
CVES_BASE_DIRECTORY=cves
CVES_RECENT_ACTIVITIES_FILENAME=recent_activities.json
CVES_DEFAULT_UPDATE_LOOKBACK_IN_MINS=180
CVES_DEFAULT_DELTA_LOG_HISTORY_IN_DAYS=30
CVES_MAX_ALLOWABLE_CVE_YEAR=2026
GIT_MAX_FILESIZE_MB=100
# ----- ----- for testing only ----- ----- -----
CVES_TEST_BASE_DIRECTORY=test/pretend_github_repository
################################################
### CVE Search specific ########################
#################################################
### LOCAL: OpenSearch variables ----- ----- -----
# The following values are setup for a local OpenSearch instance
# used for development and testing
# These OpenSearch-specific variables must be modified in
# each OpenSearch operating environment.
# Please ask the infrastructure team for new values if needed
# so they can update the infrastructure-as-code for consistency.
OpenSearchCveIndex=cve-index-local
# OpenSearchAllowUnknownSslCerts=true
OpenSearchDomainEndpoint=https://admin:admin@localhost:9200
################################################
### cve services api ###########################
################################################
# ----- production environment ----- ----- -----
# CVE Services API-specific ----- -----
CVE_SERVICES_URL=https://cveawg.mitre.org
CVE_SERVICES_RECORDS_PER_PAGE=500
CVE_ORG_URL=https://www.cve.org
# SECRET: user/role specific: DO NOT COMMIT ----- -----
CVE_API_ORG=<yourOrg>
CVE_API_USER=<yourUser>
CVE_API_KEY=<serverToken>