Skip to content

Commit

Permalink
component updates and include security.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
ar2rsawseen committed Dec 12, 2024
1 parent 34f9bce commit b7d9fc7
Show file tree
Hide file tree
Showing 8 changed files with 1,018 additions and 1,165 deletions.
4 changes: 2 additions & 2 deletions api/api.js
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ plugins.connectToAllDatabases().then(function() {
password_rotation: 3,
password_autocomplete: true,
robotstxt: "User-agent: *\nDisallow: /",
dashboard_additional_headers: "X-Frame-Options:deny\nX-XSS-Protection:1; mode=block\nStrict-Transport-Security:max-age=31536000 ; includeSubDomains\nX-Content-Type-Options: nosniff",
api_additional_headers: "X-Frame-Options:deny\nX-XSS-Protection:1; mode=block\nAccess-Control-Allow-Origin:*",
dashboard_additional_headers: "X-Frame-Options:deny\nX-XSS-Protection:1; mode=block\nStrict-Transport-Security:max-age=31536000; includeSubDomains; preload\nX-Content-Type-Options: nosniff",
api_additional_headers: "X-Frame-Options:deny\nX-XSS-Protection:1; mode=block\nStrict-Transport-Security:max-age=31536000; includeSubDomains; preload\nAccess-Control-Allow-Origin:*",
dashboard_rate_limit_window: 60,
dashboard_rate_limit_requests: 500,
proxy_hostname: "",
Expand Down
4 changes: 2 additions & 2 deletions frontend/express/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ plugins.setConfigs("security", {
password_rotation: 3,
password_autocomplete: true,
robotstxt: "User-agent: *\nDisallow: /",
dashboard_additional_headers: "X-Frame-Options:deny\nX-XSS-Protection:1; mode=block\nStrict-Transport-Security:max-age=31536000 ; includeSubDomains\nX-Content-Type-Options: nosniff",
api_additional_headers: "X-Frame-Options:deny\nX-XSS-Protection:1; mode=block\nAccess-Control-Allow-Origin:*",
dashboard_additional_headers: "X-Frame-Options:deny\nX-XSS-Protection:1; mode=block\nStrict-Transport-Security:max-age=31536000; includeSubDomains; preload\nX-Content-Type-Options: nosniff",
api_additional_headers: "X-Frame-Options:deny\nX-XSS-Protection:1; mode=block\nStrict-Transport-Security:max-age=31536000; includeSubDomains; preload\nAccess-Control-Allow-Origin:*",
dashboard_rate_limit_window: 60,
dashboard_rate_limit_requests: 500
});
Expand Down
7 changes: 7 additions & 0 deletions frontend/express/public/.well-known/security.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# If you would like to report a security issue with Countly Server, Countly SDKs
# please get in touch via the below method
Contact: mailto:[email protected]
Expires: 2025-03-14T00:00:00.000Z
Preferred-Languages: en
Canonical: https://securitytxt.org/.well-known/security.txt
Policy: https://countly.com/legal/privacy-policy
Loading

0 comments on commit b7d9fc7

Please sign in to comment.