Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bootstrap attribute "logLevel" should be reported as a warning finding #602

Open
flovogt opened this issue Mar 12, 2025 · 0 comments · May be fixed by #603
Open

Bootstrap attribute "logLevel" should be reported as a warning finding #602

flovogt opened this issue Mar 12, 2025 · 0 comments · May be fixed by #603
Assignees
Labels
detection An issue related to detection capabilities

Comments

@flovogt
Copy link
Member

flovogt commented Mar 12, 2025

Hi team,

for following HTML file we should report a warning finding to use data-sap-ui-log-level instead of data-sap-ui-logLevel. Documented here https://sdk.openui5.org/topic/91f2d03b6f4d1014b6dd926db0e91070.

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>MyApp</title>
    <script
      id="sap-ui-bootstrap"
      src="../resources/sap-ui-core.js"
      data-sap-ui-theme="sap_horizon"
      data-sap-ui-resource-roots='{
         "myapp": "./",
      }'
      data-sap-ui-on-init="module:myapp/index"
      data-sap-ui-language="en"
      data-sap-ui-logLevel="none"
      data-sap-ui-async="true"
      data-sap-ui-compat-version="edge"
    ></script>
  </head>
  <body class="sapUiBody">
    <div
      data-sap-ui-component
      data-name="myapp"
      data-id="container"
      data-settings='{"id" : "app"}'
      id="content"
    ></div>
  </body>
</html>

Currently no finding is reported at all.

@flovogt flovogt added the detection An issue related to detection capabilities label Mar 12, 2025
@flovogt flovogt self-assigned this Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
detection An issue related to detection capabilities
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant