Skip to content

[Cloud Posture] [Tech Debt] refactor dataView into a context #174119

@opauloh

Description

@opauloh

Motivation

Follow up from this comment, this ticket aims to refactor how the dataView object is being passed on the configurations and vulnerabilities page into a context hook, so we can avoid passing down the dataView properties multiples times.

Definition of done

  • Create a hook for dataViewContext
  • Misconfigurations Page using the hook for dataView
  • Vulnerabilities Page using the hook for dataView
  • Unit tests

Related tasks/epics

Metadata

Metadata

Assignees

Labels

Team:Cloud SecurityCloud Security team relatedtechnical debtImprovement of the software architecture and operational architecture

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions