Out of curiosity, found 3 versions of the policy manual edits. As of Jan 19, it prohibited operations based on gender, gender identity, or sexual orientation. Sometime around February it removed those terms, adding "sex." Around March, and current as of 2025-04-06, it readded sexual orientation, presumably after this hitting the news, making the allowance of basing operations on gender identity more pointed.
Sources, page 79: https://web.archive.org/web/20250119072246/https://www.dhs.gov/sites/default/files/2025-01/Office%20of%20Intelligence%20and%20Analysis%20Policy%20Manual.pdf https://web.archive.org/web/20250222000624/https://www.dhs.gov/sites/default/files/2025-02/Office%20of%20Intelligence%20and%20Analysis%20Policy%20Manual-508.pdf https://web.archive.org/web/20250323044321/https://www.dhs.gov/sites/default/files/2025-03/25_0313_ia_office-of-intelligence-and-analysis_policy-manual.pdf