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

Commit

Permalink
feat: Release the access field in the v1 finding proto, which represe…
Browse files Browse the repository at this point in the history
…nts an access event tied to the finding (#744)

- [ ] Regenerate this pull request now.

docs: added more clarification around what event_time means on a v1 finding

PiperOrigin-RevId: 425659764

Source-Link: googleapis/googleapis@fa6793b

Source-Link: https://github.com/googleapis/googleapis-gen/commit/254190611d11e7f0d271222cf64487de9ffbd5d9
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjU0MTkwNjExZDExZTdmMGQyNzEyMjJjZjY0NDg3ZGU5ZmZiZDVkOSJ9
  • Loading branch information
gcf-owl-bot[bot] authored Feb 3, 2022
1 parent 2837db2 commit 94f600d
Show file tree
Hide file tree
Showing 15 changed files with 3,246 additions and 205 deletions.
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

0 comments on commit 94f600d

Please sign in to comment.