Class: Google::Cloud::SecurityCenter::V1::ListFindingsResponse::ListFindingsResult
- Inherits:
-
Object
- Object
- Google::Cloud::SecurityCenter::V1::ListFindingsResponse::ListFindingsResult
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb
Overview
Result containing the Finding and its StateChange.
Defined Under Namespace
Modules: StateChange Classes: Resource
Instance Attribute Summary collapse
-
#finding ⇒ ::Google::Cloud::SecurityCenter::V1::Finding
Finding matching the search request.
-
#resource ⇒ ::Google::Cloud::SecurityCenter::V1::ListFindingsResponse::ListFindingsResult::Resource
readonly
Output only.
-
#state_change ⇒ ::Google::Cloud::SecurityCenter::V1::ListFindingsResponse::ListFindingsResult::StateChange
State change of the finding between the points in time.
Instance Attribute Details
#finding ⇒ ::Google::Cloud::SecurityCenter::V1::Finding
Returns Finding matching the search request.
1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 |
# File 'proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb', line 1469 class ListFindingsResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information related to the Google Cloud resource that is # associated with this finding. # @!attribute [rw] name # @return [::String] # The full resource name of the resource. See: # https://cloud.google.com/apis/design/resource_names#full_resource_name # @!attribute [rw] display_name # @return [::String] # The human readable name of the resource. # @!attribute [rw] type # @return [::String] # The full resource type of the resource. # @!attribute [rw] project_name # @return [::String] # The full resource name of project that the resource belongs to. # @!attribute [rw] project_display_name # @return [::String] # The project ID that the resource belongs to. # @!attribute [rw] parent_name # @return [::String] # The full resource name of resource's parent. # @!attribute [rw] parent_display_name # @return [::String] # The human readable name of resource's parent. # @!attribute [rw] folders # @return [::Array<::Google::Cloud::SecurityCenter::V1::Folder>] # Contains a Folder message for each folder in the assets ancestry. # The first folder is the deepest nested folder, and the last folder is # the folder directly under the Organization. # @!attribute [rw] cloud_provider # @return [::Google::Cloud::SecurityCenter::V1::CloudProvider] # Indicates which cloud provider the finding is from. # @!attribute [rw] organization # @return [::String] # Indicates which organization / tenant the finding is for. # @!attribute [rw] service # @return [::String] # The service or resource provider associated with the resource. # @!attribute [rw] location # @return [::String] # The region or location of the service (if applicable). # @!attribute [rw] aws_metadata # @return [::Google::Cloud::SecurityCenter::V1::AwsMetadata] # The AWS metadata associated with the finding. # @!attribute [rw] azure_metadata # @return [::Google::Cloud::SecurityCenter::V1::AzureMetadata] # The Azure metadata associated with the finding. # @!attribute [rw] resource_path # @return [::Google::Cloud::SecurityCenter::V1::ResourcePath] # Provides the path to the resource within the resource hierarchy. # @!attribute [rw] resource_path_string # @return [::String] # A string representation of the resource path. # For Google Cloud, it has the format of # `org/{organization_id}/folder/{folder_id}/folder/{folder_id}/project/{project_id}` # where there can be any number of folders. # For AWS, it has the format of # `org/{organization_id}/ou/{organizational_unit_id}/ou/{organizational_unit_id}/account/{account_id}` # where there can be any number of organizational units. # For Azure, it has the format of # `mg/{management_group_id}/mg/{management_group_id}/subscription/{subscription_id}/rg/{resource_group_name}` # where there can be any number of management groups. class Resource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The change in state of the finding. # # When querying across two points in time this describes # the change in the finding between the two points: CHANGED, UNCHANGED, # ADDED, or REMOVED. Findings can not be deleted, so REMOVED implies that # the finding at timestamp does not match the filter specified, but it did # at timestamp - compare_duration. If there was no compare_duration # supplied in the request the state change will be: UNUSED module StateChange # State change is unused, this is the canonical default for this enum. UNUSED = 0 # The finding has changed state in some way between the points in time # and existed at both points. CHANGED = 1 # The finding has not changed state between the points in time and # existed at both points. UNCHANGED = 2 # The finding was created between the points in time. ADDED = 3 # The finding at timestamp does not match the filter specified, but it # did at timestamp - compare_duration. REMOVED = 4 end end |
#resource ⇒ ::Google::Cloud::SecurityCenter::V1::ListFindingsResponse::ListFindingsResult::Resource (readonly)
Returns Output only. Resource that is associated with this finding.
1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 |
# File 'proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb', line 1469 class ListFindingsResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information related to the Google Cloud resource that is # associated with this finding. # @!attribute [rw] name # @return [::String] # The full resource name of the resource. See: # https://cloud.google.com/apis/design/resource_names#full_resource_name # @!attribute [rw] display_name # @return [::String] # The human readable name of the resource. # @!attribute [rw] type # @return [::String] # The full resource type of the resource. # @!attribute [rw] project_name # @return [::String] # The full resource name of project that the resource belongs to. # @!attribute [rw] project_display_name # @return [::String] # The project ID that the resource belongs to. # @!attribute [rw] parent_name # @return [::String] # The full resource name of resource's parent. # @!attribute [rw] parent_display_name # @return [::String] # The human readable name of resource's parent. # @!attribute [rw] folders # @return [::Array<::Google::Cloud::SecurityCenter::V1::Folder>] # Contains a Folder message for each folder in the assets ancestry. # The first folder is the deepest nested folder, and the last folder is # the folder directly under the Organization. # @!attribute [rw] cloud_provider # @return [::Google::Cloud::SecurityCenter::V1::CloudProvider] # Indicates which cloud provider the finding is from. # @!attribute [rw] organization # @return [::String] # Indicates which organization / tenant the finding is for. # @!attribute [rw] service # @return [::String] # The service or resource provider associated with the resource. # @!attribute [rw] location # @return [::String] # The region or location of the service (if applicable). # @!attribute [rw] aws_metadata # @return [::Google::Cloud::SecurityCenter::V1::AwsMetadata] # The AWS metadata associated with the finding. # @!attribute [rw] azure_metadata # @return [::Google::Cloud::SecurityCenter::V1::AzureMetadata] # The Azure metadata associated with the finding. # @!attribute [rw] resource_path # @return [::Google::Cloud::SecurityCenter::V1::ResourcePath] # Provides the path to the resource within the resource hierarchy. # @!attribute [rw] resource_path_string # @return [::String] # A string representation of the resource path. # For Google Cloud, it has the format of # `org/{organization_id}/folder/{folder_id}/folder/{folder_id}/project/{project_id}` # where there can be any number of folders. # For AWS, it has the format of # `org/{organization_id}/ou/{organizational_unit_id}/ou/{organizational_unit_id}/account/{account_id}` # where there can be any number of organizational units. # For Azure, it has the format of # `mg/{management_group_id}/mg/{management_group_id}/subscription/{subscription_id}/rg/{resource_group_name}` # where there can be any number of management groups. class Resource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The change in state of the finding. # # When querying across two points in time this describes # the change in the finding between the two points: CHANGED, UNCHANGED, # ADDED, or REMOVED. Findings can not be deleted, so REMOVED implies that # the finding at timestamp does not match the filter specified, but it did # at timestamp - compare_duration. If there was no compare_duration # supplied in the request the state change will be: UNUSED module StateChange # State change is unused, this is the canonical default for this enum. UNUSED = 0 # The finding has changed state in some way between the points in time # and existed at both points. CHANGED = 1 # The finding has not changed state between the points in time and # existed at both points. UNCHANGED = 2 # The finding was created between the points in time. ADDED = 3 # The finding at timestamp does not match the filter specified, but it # did at timestamp - compare_duration. REMOVED = 4 end end |
#state_change ⇒ ::Google::Cloud::SecurityCenter::V1::ListFindingsResponse::ListFindingsResult::StateChange
Returns State change of the finding between the points in time.
1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 |
# File 'proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb', line 1469 class ListFindingsResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information related to the Google Cloud resource that is # associated with this finding. # @!attribute [rw] name # @return [::String] # The full resource name of the resource. See: # https://cloud.google.com/apis/design/resource_names#full_resource_name # @!attribute [rw] display_name # @return [::String] # The human readable name of the resource. # @!attribute [rw] type # @return [::String] # The full resource type of the resource. # @!attribute [rw] project_name # @return [::String] # The full resource name of project that the resource belongs to. # @!attribute [rw] project_display_name # @return [::String] # The project ID that the resource belongs to. # @!attribute [rw] parent_name # @return [::String] # The full resource name of resource's parent. # @!attribute [rw] parent_display_name # @return [::String] # The human readable name of resource's parent. # @!attribute [rw] folders # @return [::Array<::Google::Cloud::SecurityCenter::V1::Folder>] # Contains a Folder message for each folder in the assets ancestry. # The first folder is the deepest nested folder, and the last folder is # the folder directly under the Organization. # @!attribute [rw] cloud_provider # @return [::Google::Cloud::SecurityCenter::V1::CloudProvider] # Indicates which cloud provider the finding is from. # @!attribute [rw] organization # @return [::String] # Indicates which organization / tenant the finding is for. # @!attribute [rw] service # @return [::String] # The service or resource provider associated with the resource. # @!attribute [rw] location # @return [::String] # The region or location of the service (if applicable). # @!attribute [rw] aws_metadata # @return [::Google::Cloud::SecurityCenter::V1::AwsMetadata] # The AWS metadata associated with the finding. # @!attribute [rw] azure_metadata # @return [::Google::Cloud::SecurityCenter::V1::AzureMetadata] # The Azure metadata associated with the finding. # @!attribute [rw] resource_path # @return [::Google::Cloud::SecurityCenter::V1::ResourcePath] # Provides the path to the resource within the resource hierarchy. # @!attribute [rw] resource_path_string # @return [::String] # A string representation of the resource path. # For Google Cloud, it has the format of # `org/{organization_id}/folder/{folder_id}/folder/{folder_id}/project/{project_id}` # where there can be any number of folders. # For AWS, it has the format of # `org/{organization_id}/ou/{organizational_unit_id}/ou/{organizational_unit_id}/account/{account_id}` # where there can be any number of organizational units. # For Azure, it has the format of # `mg/{management_group_id}/mg/{management_group_id}/subscription/{subscription_id}/rg/{resource_group_name}` # where there can be any number of management groups. class Resource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The change in state of the finding. # # When querying across two points in time this describes # the change in the finding between the two points: CHANGED, UNCHANGED, # ADDED, or REMOVED. Findings can not be deleted, so REMOVED implies that # the finding at timestamp does not match the filter specified, but it did # at timestamp - compare_duration. If there was no compare_duration # supplied in the request the state change will be: UNUSED module StateChange # State change is unused, this is the canonical default for this enum. UNUSED = 0 # The finding has changed state in some way between the points in time # and existed at both points. CHANGED = 1 # The finding has not changed state between the points in time and # existed at both points. UNCHANGED = 2 # The finding was created between the points in time. ADDED = 3 # The finding at timestamp does not match the filter specified, but it # did at timestamp - compare_duration. REMOVED = 4 end end |