Skip to content

Conversation

@glye
Copy link
Contributor

@glye glye commented Dec 2, 2024

Question Answer
JIRA Ticket N/A
Versions All
Edition All

Reorganised the checklist to make it more intuitive, and added more advice:

  • Moved Ibexa DXP to the top, above Symfony and PHP.
  • Added Web server and Database sections.
  • Moved some items from the Ibexa DXP section to the new sections.
  • Added Domain section.
  • Added advice on TLS, HSTS, DNSSEC, CAA, and domain update protection.

Preview: https://ez-systems-developer-documentation--2565.com.readthedocs.build/en/2565/infrastructure_and_maintenance/security/security_checklist/

Checklist

  • Text renders correctly
  • Text has been checked with vale
  • Description metadata is up to date
  • Redirects cover removed/moved pages
  • Code samples are working (no changes to code samples)
  • PHP code samples have been fixed with PHP CS fixer (no changes to code samples)
  • Added link to this PR in relevant JIRA ticket or code PR

Reorganised the checklist to make it more intuitive.
Copy link
Contributor Author

@glye glye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Self-review.

@reithor
Copy link
Contributor

reithor commented Dec 2, 2024

regarding 'powered by' we should probably give explicit instructions, like:

ibexa_system_info:
  system_info:
    powered_by:
      # major => v4 || minor => v4.6 || none
      release: major
      # true || false
      enabled: true
      

@glye glye requested a review from a team December 3, 2024 09:45
Copy link
Contributor

@reithor reithor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me (as far my technical knowledge goes here).
One thing regarding "Security headers":
Probably we should review our cloud vcl for varnish and fastly, if we are following our own guidelines?

@glye
Copy link
Contributor Author

glye commented Dec 3, 2024

@reithor I and others have held back on the security headers due to the need to adapt them to the site in question. Generally there isn't a "safe setting" that can be applied for everyone. But I have been reconsidering. We could change vcl and vhost templates, they won't affect existing sites. We could set at least Strict-Transport-Security, and X-Content-Type-Options to nosniff. For the admin ui we could set all of them.

Copy link
Contributor

@mnocon mnocon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some smaller nitpicks - the HSTS header with Varnish being the most important one

glye and others added 5 commits December 3, 2024 13:46
Co-authored-by: Tomasz Dąbrowski <[email protected]>
Co-authored-by: Tomasz Dąbrowski <[email protected]>
Co-authored-by: Tomasz Dąbrowski <[email protected]>
@glye glye requested a review from dabrt December 3, 2024 15:50
@glye
Copy link
Contributor Author

glye commented Dec 3, 2024

Thanks for all the reviews, very useful. I believe I have answered all comments and applied all suggestions now, and it's looking good. Please have another look, if you had concerns earlier.

Copy link
Contributor

@reithor reithor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me now!

@adriendupuis adriendupuis merged commit 270e2e3 into master Dec 5, 2024
6 checks passed
@adriendupuis adriendupuis deleted the improve_security_checklist branch December 5, 2024 13:49
adriendupuis added a commit that referenced this pull request Dec 5, 2024
---------

Co-authored-by: Tomasz Dąbrowski <[email protected]>
Co-authored-by: Adrien Dupuis <[email protected]>
Co-authored-by: Marek Nocoń <[email protected]>
(cherry picked from commit 270e2e3)
adriendupuis pushed a commit that referenced this pull request Dec 5, 2024
---------

Co-authored-by: Tomasz Dąbrowski <[email protected]>
Co-authored-by: Adrien Dupuis <[email protected]>
Co-authored-by: Marek Nocoń <[email protected]>

(cherry picked from commit 270e2e3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants