Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

feat: Release the access field in the v1 finding proto, which represents an access event tied to the finding #744

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ public void createFindingTest() throws Exception {
.setVulnerability(Vulnerability.newBuilder().build())
.setMuteUpdateTime(Timestamp.newBuilder().build())
.putAllExternalSystems(new HashMap<String, ExternalSystem>())
.setAccess(Access.newBuilder().build())
.setMuteInitiator("muteInitiator1395645462")
.build();
mockSecurityCenter.addResponse(expectedResponse);
Expand Down Expand Up @@ -359,6 +360,7 @@ public void createFindingTest2() throws Exception {
.setVulnerability(Vulnerability.newBuilder().build())
.setMuteUpdateTime(Timestamp.newBuilder().build())
.putAllExternalSystems(new HashMap<String, ExternalSystem>())
.setAccess(Access.newBuilder().build())
.setMuteInitiator("muteInitiator1395645462")
.build();
mockSecurityCenter.addResponse(expectedResponse);
Expand Down Expand Up @@ -2423,6 +2425,7 @@ public void setFindingStateTest() throws Exception {
.setVulnerability(Vulnerability.newBuilder().build())
.setMuteUpdateTime(Timestamp.newBuilder().build())
.putAllExternalSystems(new HashMap<String, ExternalSystem>())
.setAccess(Access.newBuilder().build())
.setMuteInitiator("muteInitiator1395645462")
.build();
mockSecurityCenter.addResponse(expectedResponse);
Expand Down Expand Up @@ -2486,6 +2489,7 @@ public void setFindingStateTest2() throws Exception {
.setVulnerability(Vulnerability.newBuilder().build())
.setMuteUpdateTime(Timestamp.newBuilder().build())
.putAllExternalSystems(new HashMap<String, ExternalSystem>())
.setAccess(Access.newBuilder().build())
.setMuteInitiator("muteInitiator1395645462")
.build();
mockSecurityCenter.addResponse(expectedResponse);
Expand Down Expand Up @@ -2547,6 +2551,7 @@ public void setMuteTest() throws Exception {
.setVulnerability(Vulnerability.newBuilder().build())
.setMuteUpdateTime(Timestamp.newBuilder().build())
.putAllExternalSystems(new HashMap<String, ExternalSystem>())
.setAccess(Access.newBuilder().build())
.setMuteInitiator("muteInitiator1395645462")
.build();
mockSecurityCenter.addResponse(expectedResponse);
Expand Down Expand Up @@ -2607,6 +2612,7 @@ public void setMuteTest2() throws Exception {
.setVulnerability(Vulnerability.newBuilder().build())
.setMuteUpdateTime(Timestamp.newBuilder().build())
.putAllExternalSystems(new HashMap<String, ExternalSystem>())
.setAccess(Access.newBuilder().build())
.setMuteInitiator("muteInitiator1395645462")
.build();
mockSecurityCenter.addResponse(expectedResponse);
Expand Down Expand Up @@ -2875,6 +2881,7 @@ public void updateFindingTest() throws Exception {
.setVulnerability(Vulnerability.newBuilder().build())
.setMuteUpdateTime(Timestamp.newBuilder().build())
.putAllExternalSystems(new HashMap<String, ExternalSystem>())
.setAccess(Access.newBuilder().build())
.setMuteInitiator("muteInitiator1395645462")
.build();
mockSecurityCenter.addResponse(expectedResponse);
Expand Down
Loading