René's URL Explorer Experiment


Title: Java: Promote Spring Boot Actuators query from experimental by jcogs33 · Pull Request #18793 · github/codeql · GitHub

Open Graph Title: Java: Promote Spring Boot Actuators query from experimental by jcogs33 · Pull Request #18793 · github/codeql

X Title: Java: Promote Spring Boot Actuators query from experimental by jcogs33 · Pull Request #18793 · github/codeql

Description: This PR promotes java/spring-boot-exposed-actuators from experimental (original PRs: #2901 and #3506). Changes from the experimental query: Updated the query to handle HttpSecurity.securityMatcher(s), HttpSecurity.authorizeHttpRequests, and AuthorizeHttpRequestsConfigurer, which were added in more recent Spring versions. As a result, the springframework-5.3.8 stubs directory should technically be renamed to springframework-5.8.x. I'll do that in follow-up PR to avoid a large number of renamed stub files and updated options files on this PR. Placed the query under CWE-200 instead of CWE-016. CWE-016 is a category, and my understanding from our metadata style guide is that we should use CWEs that are a base/class weakness, not a category. Let me know if you disagree.

Open Graph Description: This PR promotes java/spring-boot-exposed-actuators from experimental (original PRs: #2901 and #3506). Changes from the experimental query: Updated the query to handle HttpSecurity.securityMatcher...

X Description: This PR promotes java/spring-boot-exposed-actuators from experimental (original PRs: #2901 and #3506). Changes from the experimental query: Updated the query to handle HttpSecurity.securityMatcher...

Opengraph URL: https://github.com/github/codeql/pull/18793

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:113467e5-c4c2-66d1-f5f3-e0a3e7cf21aa
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDF0A:2D2253:144D570:1D13A22:6A4CC469
html-safe-nonced57251386f021423aa19344a76aa2c2d3abfefe3e7b13295c354977d255be31d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjBBOjJEMjI1MzoxNDRENTcwOjFEMTNBMjI6NkE0Q0M0NjkiLCJ2aXNpdG9yX2lkIjoiMjc3OTg5MjMxNjgyNjgxMzU0NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac527e09f5ffb44e9179dad630bb391ee4d06381f9008cc59fb05727546d031e7f
hovercard-subject-tagpull_request:2338329557
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/github/codeql/pull/18793/files
twitter:imagehttps://avatars.githubusercontent.com/u/57204504?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/57204504?s=400&v=4
og:image:altThis PR promotes java/spring-boot-exposed-actuators from experimental (original PRs: #2901 and #3506). Changes from the experimental query: Updated the query to handle HttpSecurity.securityMatcher...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/github/codeql git https://github.com/github/codeql.git
octolytics-dimension-user_id9919
octolytics-dimension-user_logingithub
octolytics-dimension-repository_id143040428
octolytics-dimension-repository_nwogithub/codeql
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id143040428
octolytics-dimension-repository_network_root_nwogithub/codeql
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
released0da0eb92994395299ed4450bf67b0373005be36
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/codeql/pull/18793/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql%2Fpull%2F18793%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql%2Fpull%2F18793%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=github%2Fcodeql
Reloadhttps://github.com/github/codeql/pull/18793/files
Reloadhttps://github.com/github/codeql/pull/18793/files
Reloadhttps://github.com/github/codeql/pull/18793/files
Please reload this pagehttps://github.com/github/codeql/pull/18793/files
github https://github.com/github
codeqlhttps://github.com/github/codeql
Notifications https://github.com/login?return_to=%2Fgithub%2Fcodeql
Fork 2k https://github.com/login?return_to=%2Fgithub%2Fcodeql
Star 9.8k https://github.com/login?return_to=%2Fgithub%2Fcodeql
Code https://github.com/github/codeql
Issues 987 https://github.com/github/codeql/issues
Pull requests 424 https://github.com/github/codeql/pulls
Discussions https://github.com/github/codeql/discussions
Actions https://github.com/github/codeql/actions
Projects https://github.com/github/codeql/projects
Models https://github.com/github/codeql/models
Security and quality 0 https://github.com/github/codeql/security
Insights https://github.com/github/codeql/pulse
Code https://github.com/github/codeql
Issues https://github.com/github/codeql/issues
Pull requests https://github.com/github/codeql/pulls
Discussions https://github.com/github/codeql/discussions
Actions https://github.com/github/codeql/actions
Projects https://github.com/github/codeql/projects
Models https://github.com/github/codeql/models
Security and quality https://github.com/github/codeql/security
Insights https://github.com/github/codeql/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fgithub%2Fcodeql%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fgithub%2Fcodeql%2Fissues%2Fnew%2Fchoose
jcogs33https://github.com/jcogs33
github:mainhttps://github.com/github/codeql/tree/main
jcogs33:jcogs33/java/spring-boot-actuators-promohttps://github.com/jcogs33/codeql/tree/jcogs33/java/spring-boot-actuators-promo
Conversation 14 https://github.com/github/codeql/pull/18793
Findings https://github.com/github/codeql/pull/18793/findings
Commits 17 https://github.com/github/codeql/pull/18793/commits
Checks 0 https://github.com/github/codeql/pull/18793/checks
Files changed https://github.com/github/codeql/pull/18793/files
Please reload this pagehttps://github.com/github/codeql/pull/18793/files
Java: Promote Spring Boot Actuators query from experimental https://github.com/github/codeql/pull/18793/files#top
Show all changes 17 commits https://github.com/github/codeql/pull/18793/files
2ce5920 Java: copy out of experimental Feb 16, 2025 https://github.com/github/codeql/pull/18793/commits/2ce5920c5e9b387410358b23d4f70b0d023f4535
978834b Java: remove deprecations Feb 16, 2025 https://github.com/github/codeql/pull/18793/commits/978834bd9cc0ec542e45988a82613a0c7a14e40e
089a491 Java: fix tests; update for non-experimental directory Feb 16, 2025 https://github.com/github/codeql/pull/18793/commits/089a491d5a332f4aa43e53e518b79088673f38af
5e5bc2a Java: remove experimental files Feb 16, 2025 https://github.com/github/codeql/pull/18793/commits/5e5bc2afe9d4264a226897b49a8903b37bfebaa1
8064e8f Java: convert tests to inline expectations Feb 20, 2025 https://github.com/github/codeql/pull/18793/commits/8064e8f1f9f9771784bb2a12b9cbc5d466fa4a64
8dfb920 Java: refactor QL, move code to libraries Feb 20, 2025 https://github.com/github/codeql/pull/18793/commits/8dfb920e051c3573fe0ca52c429408985bbaa6a3
b2469ff Java: add APIs and tests for more recent Spring versions: authorizeHt… Feb 20, 2025 https://github.com/github/codeql/pull/18793/commits/b2469ff8baa1d249efc5b411443027b847b17ad5
9e51b01 Java: handle example in Spring docs Feb 24, 2025 https://github.com/github/codeql/pull/18793/commits/9e51b014d24a5ce2c5931cb7a46888a966e6eb8c
f65a5b9 Java: add test for qhelp good example Feb 24, 2025 https://github.com/github/codeql/pull/18793/commits/f65a5b9a6625c43c9cc4ce8fd9e1982455627325
6fe7c7a Java: some refactoring Feb 24, 2025 https://github.com/github/codeql/pull/18793/commits/6fe7c7a2334dff8db2df115aa02751cf399f3645
53cb30d Java: update metadata, move from CWE-016 to CWE-200 Feb 24, 2025 https://github.com/github/codeql/pull/18793/commits/53cb30dcd00a7f7a1d32f2694781ecc598b8a9af
26e3967 Java: edit qhelp Feb 24, 2025 https://github.com/github/codeql/pull/18793/commits/26e396732a334d02de6f56b013c62f6c3ae20501
c2e859c Java: add change note Feb 24, 2025 https://github.com/github/codeql/pull/18793/commits/c2e859c756ac3e2370c359cec9051e078d53c6f2
746f022 Java: add 'Spring' prefix to public class names Mar 4, 2025 https://github.com/github/codeql/pull/18793/commits/746f022cfa614fa3bb6330ed0e142b8773003f36
82062e2 Java: update test Mar 4, 2025 https://github.com/github/codeql/pull/18793/commits/82062e2847a0ff3e360117b1e3d066baa1810db6
0eec951 Java: update change note to mention removal from Community Packs Mar 5, 2025 https://github.com/github/codeql/pull/18793/commits/0eec951218346a6cef5be8521acc97f5a3d51d70
ad63dd9 Apply suggestions from docs review jcogs33 Mar 10, 2025 https://github.com/github/codeql/pull/18793/commits/ad63dd946c6b971966fd9111f3bf7706297d1cc9
Clear filters https://github.com/github/codeql/pull/18793/files
Please reload this pagehttps://github.com/github/codeql/pull/18793/files
Please reload this pagehttps://github.com/github/codeql/pull/18793/files
SpringBoot.qll https://github.com/github/codeql/pull/18793/files#diff-acc635a535e0d8fabf6fa901609e4c5fface0d71c544fbd5a36123e4861901cb
SpringSecurity.qll https://github.com/github/codeql/pull/18793/files#diff-fa7132d493235d5a49283747550aaea86fecd828797581f19f3e4fc5437875fe
SpringBootActuatorsQuery.qll https://github.com/github/codeql/pull/18793/files#diff-ac40f04ba2c2b5b10fce4650edf7b3603edf76a9b9c591fdfcb71c748a066367
SpringBootActuators.java https://github.com/github/codeql/pull/18793/files#diff-cbf5274f6e1202f88f8d1ea398b08e8d73cc55ce96cae06acb15214e7dc73313
SpringBootActuators.qhelp https://github.com/github/codeql/pull/18793/files#diff-75b3c185ca146c97ccf63913ba88318f27e0d3f9581e9bd3621328e5f499fa4a
SpringBootActuators.ql https://github.com/github/codeql/pull/18793/files#diff-393842f17d89efc8261ae038b0bd07110a4efa6b5eff33cb00bc4e3858a38927
2025-02-24-spring-boot-actuators-promo.md https://github.com/github/codeql/pull/18793/files#diff-f5c44b9ceddab8005a79b76e85e17d1f305aea03bbf1f2e59b19a1c39499e816
SpringBootActuators.java https://github.com/github/codeql/pull/18793/files#diff-c262fe508e01de3f125ebfe378167dc6e8ee22a010247ecaf166039d1ef29db5
SpringBootActuators.qhelp https://github.com/github/codeql/pull/18793/files#diff-9678caa01d6ff5f84e21b7b8cdb554223ba5f4f2c6fbbf62b87d0be51aaa497a
SpringBootActuators.ql https://github.com/github/codeql/pull/18793/files#diff-610bd75fbfe3212d4ad6379a40fc45b5193b81869b73af2d93fcdd878b724acc
SpringBootActuators.qll https://github.com/github/codeql/pull/18793/files#diff-e39acdadbf9baa58ba5f020ad24c6820bfbf5e04afa2592ba10380b72e1ea646
SpringBootActuators.expected https://github.com/github/codeql/pull/18793/files#diff-9f402f73bdb5bc51a3779ec54a0be432b4010f911ed0001ec715fda83649fdfa
SpringBootActuators.java https://github.com/github/codeql/pull/18793/files#diff-5db47233e3f137f5041b7afb8daba976dae834e8d69087821e6ee06b489a1c86
SpringBootActuators.qlref https://github.com/github/codeql/pull/18793/files#diff-0fa96d5427a3a9a88a02779672e2aadc79c75ee7b21b169a00069df57a7d18c2
SpringBootActuatorsTest.expected https://github.com/github/codeql/pull/18793/files#diff-75701d7e28e3ed7fec71c87aadd1becff66650b1b5e862eec3bec8f9b194bb80
SpringBootActuatorsTest.java https://github.com/github/codeql/pull/18793/files#diff-00ec457a738c5ee8d687da006dfd6f733dd9553b0e203f6047bb52d126dc0a4e
SpringBootActuatorsTest.ql https://github.com/github/codeql/pull/18793/files#diff-e642ee9b5e38efb5e7bf53becfb8e8fe144ade58e6be1026d09bd70059a0edfc
options https://github.com/github/codeql/pull/18793/files#diff-5ba1324281ef0e51188c0dd536ff1d5e263bedd6f13bed9d9c7b0b80980d0c60
HttpSecurity.java https://github.com/github/codeql/pull/18793/files#diff-68f26be63a3f2cc1e2efffd08cd4e9af4bddb47e5cb97c27cedf9622d98950a6
AuthorizeHttpRequestsConfigurer.java https://github.com/github/codeql/pull/18793/files#diff-4166c04d0a79535a79a5162f9800b1e4fa4bc1f646e5c4f36a86f02a452543e7
ExpressionUrlAuthorizationConfigurer.java https://github.com/github/codeql/pull/18793/files#diff-6a46d3b065def289397e9448db290689acd6d6b817870c3d024cd2d359c06b3f
https://github.com/github/codeql/blob/main/CODEOWNERS#L16
java/ql/lib/semmle/code/java/frameworks/spring/SpringBoot.qllhttps://github.com/github/codeql/pull/18793/files#diff-acc635a535e0d8fabf6fa901609e4c5fface0d71c544fbd5a36123e4861901cb
View file https://github.com/jcogs33/codeql/blob/ad63dd946c6b971966fd9111f3bf7706297d1cc9/java/ql/lib/semmle/code/java/frameworks/spring/SpringBoot.qll
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql/pull/18793/{{ revealButtonHref }}
https://github.com/github/codeql/blob/main/CODEOWNERS#L16
java/ql/lib/semmle/code/java/frameworks/spring/SpringSecurity.qllhttps://github.com/github/codeql/pull/18793/files#diff-fa7132d493235d5a49283747550aaea86fecd828797581f19f3e4fc5437875fe
View file https://github.com/jcogs33/codeql/blob/ad63dd946c6b971966fd9111f3bf7706297d1cc9/java/ql/lib/semmle/code/java/frameworks/spring/SpringSecurity.qll
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql/pull/18793/{{ revealButtonHref }}
https://github.com/github/codeql/blob/main/CODEOWNERS#L16
java/ql/lib/semmle/code/java/security/SpringBootActuatorsQuery.qllhttps://github.com/github/codeql/pull/18793/files#diff-ac40f04ba2c2b5b10fce4650edf7b3603edf76a9b9c591fdfcb71c748a066367
View file https://github.com/jcogs33/codeql/blob/ad63dd946c6b971966fd9111f3bf7706297d1cc9/java/ql/lib/semmle/code/java/security/SpringBootActuatorsQuery.qll
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql/pull/18793/{{ revealButtonHref }}
https://github.com/github/codeql/blob/main/CODEOWNERS#L16
java/ql/src/Security/CWE/CWE-200/SpringBootActuators.javahttps://github.com/github/codeql/pull/18793/files#diff-cbf5274f6e1202f88f8d1ea398b08e8d73cc55ce96cae06acb15214e7dc73313
View file https://github.com/jcogs33/codeql/blob/ad63dd946c6b971966fd9111f3bf7706297d1cc9/java/ql/src/Security/CWE/CWE-200/SpringBootActuators.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql/pull/18793/{{ revealButtonHref }}
https://github.com/github/codeql/blob/main/CODEOWNERS#L16
java/ql/src/Security/CWE/CWE-200/SpringBootActuators.qhelphttps://github.com/github/codeql/pull/18793/files#diff-75b3c185ca146c97ccf63913ba88318f27e0d3f9581e9bd3621328e5f499fa4a
View file https://github.com/jcogs33/codeql/blob/ad63dd946c6b971966fd9111f3bf7706297d1cc9/java/ql/src/Security/CWE/CWE-200/SpringBootActuators.qhelp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql/pull/18793/{{ revealButtonHref }}
https://github.com/github/codeql/blob/main/CODEOWNERS#L16
java/ql/src/Security/CWE/CWE-200/SpringBootActuators.qlhttps://github.com/github/codeql/pull/18793/files#diff-393842f17d89efc8261ae038b0bd07110a4efa6b5eff33cb00bc4e3858a38927
View file https://github.com/jcogs33/codeql/blob/ad63dd946c6b971966fd9111f3bf7706297d1cc9/java/ql/src/Security/CWE/CWE-200/SpringBootActuators.ql
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql/pull/18793/{{ revealButtonHref }}
https://github.com/github/codeql/blob/main/CODEOWNERS#L16
java/ql/src/change-notes/2025-02-24-spring-boot-actuators-promo.mdhttps://github.com/github/codeql/pull/18793/files#diff-f5c44b9ceddab8005a79b76e85e17d1f305aea03bbf1f2e59b19a1c39499e816
View file https://github.com/jcogs33/codeql/blob/ad63dd946c6b971966fd9111f3bf7706297d1cc9/java/ql/src/change-notes/2025-02-24-spring-boot-actuators-promo.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql/pull/18793/{{ revealButtonHref }}
https://github.com/github/codeql/blob/main/CODEOWNERS#L16
java/ql/src/experimental/Security/CWE/CWE-016/SpringBootActuators.javahttps://github.com/github/codeql/pull/18793/files#diff-c262fe508e01de3f125ebfe378167dc6e8ee22a010247ecaf166039d1ef29db5
View file https://github.com/github/codeql/blob/0d994c1527e2bf3a598c0d60dca226ca6d223fb0/java/ql/src/experimental/Security/CWE/CWE-016/SpringBootActuators.java
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/github/codeql/pull/18793/files
Please reload this pagehttps://github.com/github/codeql/pull/18793/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.