8000 Additional scanning by withinfocus · Pull Request #681 · bitwarden/ios · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Additional scanning #681

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

Merged
merged 2 commits into from
Jun 20, 2024
Merged

Additional scanning #681

merged 2 commits into from
Jun 20, 2024

Conversation

withinfocus
Copy link
Contributor
@withinfocus withinfocus commented Jun 20, 2024

🎟️ Tracking

Internal change.

📔 Objective

Sets up SARIF output for Checkmarx scans so we can see results in GitHub and adds SonarCloud.

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Protected functional changes with optionality (feature flags)
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team

🦮 Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or ℹ️ (:information_source:) for notes or general info
  • ❓ (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • ❌ (:x:) or ⚠️ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

@withinfocus withinfocus marked this pull request as ready for review June 20, 2024 18:30
Comment on lines 77 to 78
-Dsonar.sources=Bitwarden/,BitwardenActionExtension/,BitwardenAutoFillExtension/,BitwardenShared/,BitwardenShareExtension/,BitwardenWatchApp/,BitwardenWatchShared/,Configs/,Networking/Sources/,Scripts/
-Dsonar.tests=GlobalTestHelpers/,Networking/Tests/
Copy link
Contributor Author

Choose a reason for hiding this comment

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

ℹ️ Double-check these paths for me.

Copy link
Contributor

Choose a reason for hiding this comment

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

If I'm reading that correctly, it's going to include tests in the sonar.sources, since test files are alongside the non-test files. Is that what we want?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, it's not. I see the different design now vs. the authenticator app. Lemme fix.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Pushed an update.

Copy link
Contributor

Choose a reason for hiding this comment

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

I brought it up with the Authenticator app, too, but it might've gotten lost. Changes we make here on that should be brought over to the Authenticator app, too, since they both have the test files alongside the source files

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This will need to merge to test it, but I can take a look here and complete testing, then apply over at that other repo.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor
github-actions bot commented Jun 20, 2024

Logo
Checkmarx One – Scan Summary & Details272cdf3f-b90d-4637-95f1-63dd13bd3f22

No New Or Fixed Issues Found

Copy link
Contributor
github-actions bot commented Jun 20, 2024
1 Warning
⚠️ Ignoring duplicate libraries: '-lbitwarden_uniffi'
6 Messages
📖 BitwardenActionExtensionTests: Executed 0 tests, with 0 failures (0 expected) in 0 (0.002) seconds
📖 BitwardenAutoFillExtensionTests: Executed 0 tests, with 0 failures (0 expected) in 0 (0.001) seconds
📖 BitwardenShareExtensionTests: Executed 0 tests, with 0 failures (0 expected) in 0 (0.001) seconds
📖 BitwardenSharedTests: Executed 3222 tests, with 12 failures (0 expected) in 100.731 (103.06) seconds
📖 BitwardenTests: Executed 4 tests, with 0 failures (0 expected) in 8.957 (8.984) seconds
📖 NetworkingTests: Executed 26 tests, with 0 failures (0 expected) in 0.081 (0.096) seconds

Bitwarden code coverage

Total coverage: 86.24%

Powered by Slather

Generated by 🚫 Danger

@withinfocus withinfocus merged commit e437e23 into main Jun 20, 2024
5 checks passed
@withinfocus withinfocus deleted the scanner branch June 20, 2024 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0