{"id":21374816,"url":"https://github.com/banool/owasp-headers-rs","last_synced_at":"2025-03-16T09:20:50.563Z","repository":{"id":228379436,"uuid":"773816038","full_name":"banool/owasp-headers-rs","owner":"banool","description":"Best-practice OWASP HTTP response headers (https://owasp.org/www-project-secure-headers/) for Rust","archived":false,"fork":false,"pushed_at":"2024-03-18T13:06:20.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-14T23:43:25.171Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/banool.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-03-18T13:00:10.000Z","updated_at":"2024-03-18T13:06:46.000Z","dependencies_parsed_at":"2024-03-18T14:31:28.314Z","dependency_job_id":"e7c4fdd4-95e4-4e9f-9fc9-8398e6a970d4","html_url":"https://github.com/banool/owasp-headers-rs","commit_stats":null,"previous_names":["banool/owasp-headers-rs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/banool%2Fowasp-headers-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/banool%2Fowasp-headers-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/banool%2Fowasp-headers-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/banool%2Fowasp-headers-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/banool","download_url":"https://codeload.github.com/banool/owasp-headers-rs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243848007,"owners_count":20357482,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-22T08:45:31.621Z","updated_at":"2025-03-16T09:20:50.515Z","avatar_url":"https://github.com/banool.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# owasp-headers-rs\n\nBest-practice OWASP HTTP response headers (https://owasp.org/www-project-secure-headers/) for Rust\n\nForked from: https://gitlab.com/jokeyrhyme/owasp-headers-rs. Updated to be compatible with Axum 0.7 and friends. If you're reading this in the future, see [this issue](https://gitlab.com/jokeyrhyme/owasp-headers-rs/-/issues/1) to see if the original repo has been updated.\n\n## [Headers](https://gitlab.com/jokeyrhyme/owasp-headers-rs/-/blob/main/fixtures/headers.toml)\n\n```\nHTTP-Strict-Transport-Security = \"max-age=31536000 ; includeSubDomains\"\nX-Frame-Options = \"deny\"\nX-Content-Type-Options = \"nosniff\"\nContent-Security-Policy = \"default-src 'self'; object-src 'none'; child-src 'self'; frame-ancestors 'none'; upgrade-insecure-requests; block-all-mixed-content\"\nX-Permitted-Cross-Domain-Policies = \"none\"\nReferrer-Policy = \"no-referrer\"\nClear-Site-Data = \"\\\"cache\\\",\\\"cookies\\\",\\\"storage\\\"\"\nCross-Origin-Embedder-Policy = \"require-corp\"\nCross-Origin-Opener-Policy = \"same-origin\"\nCross-Origin-Resource-Policy = \"same-origin\"\nPermissions-Policy = \"accelerometer=(),autoplay=(),camera=(),display-capture=(),document-domain=(),encrypted-media=(),fullscreen=(),geolocation=(),gyroscope=(),magnetometer=(),microphone=(),midi=(),payment=(),picture-in-picture=(),publickey-credentials-get=(),screen-wake-lock=(),sync-xhr=(self),usb=(),web-share=(),xr-spatial-tracking=()\"\nCache-Control = \"no-store, max-age=0\"\nPragma = \"no-cache\"\n```\n\n## See also\n\n- https://owasp.org/www-project-secure-headers/\n\n- tower-default-headers: https://github.com/banool/tower-default-headers-rs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbanool%2Fowasp-headers-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbanool%2Fowasp-headers-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbanool%2Fowasp-headers-rs/lists"}