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

Pass Provider ID to the GetEntity calls from the provider service #4343

Merged
merged 2 commits into from
Sep 3, 2024

Conversation

jhrozek
Copy link
Contributor

@jhrozek jhrozek commented Sep 2, 2024

Summary

The entity_instances table has the following index:

UNIQUE(project_id, provider_id, entity_type, name)

let's pass in the provider ID to take the index into account

Change Type

  • Bug fix (resolves an issue without affecting existing features)
  • Feature (adds new functionality without breaking changes)
  • Breaking change (may impact existing functionalities or require documentation updates)
  • Documentation (updates or additions to documentation)
  • Refactoring or test improvements (no bug fixes or new functionality)

Testing

make test

Review Checklist:

  • Reviewed my own code for quality and clarity.
  • Added comments to complex or tricky code sections.
  • Updated any affected documentation.
  • Included tests that validate the fix or feature.
  • Checked that related changes are merged.

The `entity_instances` table has the following index:
```
UNIQUE(project_id, provider_id, entity_type, name)
```
let's pass in the provider ID to take the index into account
Exposes the Provider ID as a parameter to the property service and adds
its value through the service callers.
@JAORMX JAORMX merged commit f6bff2f into mindersec:main Sep 3, 2024
22 checks passed
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