Skip to content

Commit

Permalink
feat: Added parent display name i.e. source display name for a findin…
Browse files Browse the repository at this point in the history
…g as one of the finding attributes (#915)

- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 474319054

Source-Link: googleapis/googleapis@862f99f

Source-Link: googleapis/googleapis-gen@bfc3497
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYmZjMzQ5NzFlMWQxNmIxNzlmZmFiOGNiNjc3OWJjNjRmNzM3OGMwOSJ9
  • Loading branch information
gcf-owl-bot[bot] committed Sep 20, 2022
1 parent 1f8b626 commit 034d25a
Show file tree
Hide file tree
Showing 6 changed files with 361 additions and 129 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ public void createFindingTest() throws Exception {
.addAllProcesses(new ArrayList<Process>())
.putAllContacts(new HashMap<String, ContactDetails>())
.addAllCompliances(new ArrayList<Compliance>())
.setParentDisplayName("parentDisplayName-1523759261")
.setDescription("description-1724546052")
.setExfiltration(Exfiltration.newBuilder().build())
.addAllIamBindings(new ArrayList<IamBinding>())
Expand Down Expand Up @@ -394,6 +395,7 @@ public void createFindingTest2() throws Exception {
.addAllProcesses(new ArrayList<Process>())
.putAllContacts(new HashMap<String, ContactDetails>())
.addAllCompliances(new ArrayList<Compliance>())
.setParentDisplayName("parentDisplayName-1523759261")
.setDescription("description-1724546052")
.setExfiltration(Exfiltration.newBuilder().build())
.addAllIamBindings(new ArrayList<IamBinding>())
Expand Down Expand Up @@ -2785,6 +2787,7 @@ public void setFindingStateTest() throws Exception {
.addAllProcesses(new ArrayList<Process>())
.putAllContacts(new HashMap<String, ContactDetails>())
.addAllCompliances(new ArrayList<Compliance>())
.setParentDisplayName("parentDisplayName-1523759261")
.setDescription("description-1724546052")
.setExfiltration(Exfiltration.newBuilder().build())
.addAllIamBindings(new ArrayList<IamBinding>())
Expand Down Expand Up @@ -2865,6 +2868,7 @@ public void setFindingStateTest2() throws Exception {
.addAllProcesses(new ArrayList<Process>())
.putAllContacts(new HashMap<String, ContactDetails>())
.addAllCompliances(new ArrayList<Compliance>())
.setParentDisplayName("parentDisplayName-1523759261")
.setDescription("description-1724546052")
.setExfiltration(Exfiltration.newBuilder().build())
.addAllIamBindings(new ArrayList<IamBinding>())
Expand Down Expand Up @@ -2943,6 +2947,7 @@ public void setMuteTest() throws Exception {
.addAllProcesses(new ArrayList<Process>())
.putAllContacts(new HashMap<String, ContactDetails>())
.addAllCompliances(new ArrayList<Compliance>())
.setParentDisplayName("parentDisplayName-1523759261")
.setDescription("description-1724546052")
.setExfiltration(Exfiltration.newBuilder().build())
.addAllIamBindings(new ArrayList<IamBinding>())
Expand Down Expand Up @@ -3021,6 +3026,7 @@ public void setMuteTest2() throws Exception {
.addAllProcesses(new ArrayList<Process>())
.putAllContacts(new HashMap<String, ContactDetails>())
.addAllCompliances(new ArrayList<Compliance>())
.setParentDisplayName("parentDisplayName-1523759261")
.setDescription("description-1724546052")
.setExfiltration(Exfiltration.newBuilder().build())
.addAllIamBindings(new ArrayList<IamBinding>())
Expand Down Expand Up @@ -3349,6 +3355,7 @@ public void updateFindingTest() throws Exception {
.addAllProcesses(new ArrayList<Process>())
.putAllContacts(new HashMap<String, ContactDetails>())
.addAllCompliances(new ArrayList<Compliance>())
.setParentDisplayName("parentDisplayName-1523759261")
.setDescription("description-1724546052")
.setExfiltration(Exfiltration.newBuilder().build())
.addAllIamBindings(new ArrayList<IamBinding>())
Expand Down Expand Up @@ -3385,6 +3392,7 @@ public void updateFindingTest() throws Exception {
.addAllProcesses(new ArrayList<Process>())
.putAllContacts(new HashMap<String, ContactDetails>())
.addAllCompliances(new ArrayList<Compliance>())
.setParentDisplayName("parentDisplayName-1523759261")
.setDescription("description-1724546052")
.setExfiltration(Exfiltration.newBuilder().build())
.addAllIamBindings(new ArrayList<IamBinding>())
Expand Down Expand Up @@ -3446,6 +3454,7 @@ public void updateFindingExceptionTest() throws Exception {
.addAllProcesses(new ArrayList<Process>())
.putAllContacts(new HashMap<String, ContactDetails>())
.addAllCompliances(new ArrayList<Compliance>())
.setParentDisplayName("parentDisplayName-1523759261")
.setDescription("description-1724546052")
.setExfiltration(Exfiltration.newBuilder().build())
.addAllIamBindings(new ArrayList<IamBinding>())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ public void createFindingTest() throws Exception {
.addAllProcesses(new ArrayList<Process>())
.putAllContacts(new HashMap<String, ContactDetails>())
.addAllCompliances(new ArrayList<Compliance>())
.setParentDisplayName("parentDisplayName-1523759261")
.setDescription("description-1724546052")
.setExfiltration(Exfiltration.newBuilder().build())
.addAllIamBindings(new ArrayList<IamBinding>())
Expand Down Expand Up @@ -381,6 +382,7 @@ public void createFindingTest2() throws Exception {
.addAllProcesses(new ArrayList<Process>())
.putAllContacts(new HashMap<String, ContactDetails>())
.addAllCompliances(new ArrayList<Compliance>())
.setParentDisplayName("parentDisplayName-1523759261")
.setDescription("description-1724546052")
.setExfiltration(Exfiltration.newBuilder().build())
.addAllIamBindings(new ArrayList<IamBinding>())
Expand Down Expand Up @@ -2556,6 +2558,7 @@ public void setFindingStateTest() throws Exception {
.addAllProcesses(new ArrayList<Process>())
.putAllContacts(new HashMap<String, ContactDetails>())
.addAllCompliances(new ArrayList<Compliance>())
.setParentDisplayName("parentDisplayName-1523759261")
.setDescription("description-1724546052")
.setExfiltration(Exfiltration.newBuilder().build())
.addAllIamBindings(new ArrayList<IamBinding>())
Expand Down Expand Up @@ -2632,6 +2635,7 @@ public void setFindingStateTest2() throws Exception {
.addAllProcesses(new ArrayList<Process>())
.putAllContacts(new HashMap<String, ContactDetails>())
.addAllCompliances(new ArrayList<Compliance>())
.setParentDisplayName("parentDisplayName-1523759261")
.setDescription("description-1724546052")
.setExfiltration(Exfiltration.newBuilder().build())
.addAllIamBindings(new ArrayList<IamBinding>())
Expand Down Expand Up @@ -2706,6 +2710,7 @@ public void setMuteTest() throws Exception {
.addAllProcesses(new ArrayList<Process>())
.putAllContacts(new HashMap<String, ContactDetails>())
.addAllCompliances(new ArrayList<Compliance>())
.setParentDisplayName("parentDisplayName-1523759261")
.setDescription("description-1724546052")
.setExfiltration(Exfiltration.newBuilder().build())
.addAllIamBindings(new ArrayList<IamBinding>())
Expand Down Expand Up @@ -2779,6 +2784,7 @@ public void setMuteTest2() throws Exception {
.addAllProcesses(new ArrayList<Process>())
.putAllContacts(new HashMap<String, ContactDetails>())
.addAllCompliances(new ArrayList<Compliance>())
.setParentDisplayName("parentDisplayName-1523759261")
.setDescription("description-1724546052")
.setExfiltration(Exfiltration.newBuilder().build())
.addAllIamBindings(new ArrayList<IamBinding>())
Expand Down Expand Up @@ -3062,6 +3068,7 @@ public void updateFindingTest() throws Exception {
.addAllProcesses(new ArrayList<Process>())
.putAllContacts(new HashMap<String, ContactDetails>())
.addAllCompliances(new ArrayList<Compliance>())
.setParentDisplayName("parentDisplayName-1523759261")
.setDescription("description-1724546052")
.setExfiltration(Exfiltration.newBuilder().build())
.addAllIamBindings(new ArrayList<IamBinding>())
Expand Down
Loading

0 comments on commit 034d25a

Please sign in to comment.