Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Filters an organization or source's findings and groups them by their specified properties. To group across all sources provide a `-` as the source id. Example: /v1/organizations/123/sources/-/findings
See: Cloud Security Command Center API Reference for securitycenter.organizations.sources.findings.group
.
Synopsis
- type OrganizationsSourcesFindingsGroupResource = "v1" :> (Capture "parent" Text :> ("findings:group" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GroupFindingsRequest :> Post '[JSON] GroupFindingsResponse)))))))))
- organizationsSourcesFindingsGroup :: Text -> GroupFindingsRequest -> OrganizationsSourcesFindingsGroup
- data OrganizationsSourcesFindingsGroup
- osfgParent :: Lens' OrganizationsSourcesFindingsGroup Text
- osfgXgafv :: Lens' OrganizationsSourcesFindingsGroup (Maybe Xgafv)
- osfgUploadProtocol :: Lens' OrganizationsSourcesFindingsGroup (Maybe Text)
- osfgAccessToken :: Lens' OrganizationsSourcesFindingsGroup (Maybe Text)
- osfgUploadType :: Lens' OrganizationsSourcesFindingsGroup (Maybe Text)
- osfgPayload :: Lens' OrganizationsSourcesFindingsGroup GroupFindingsRequest
- osfgCallback :: Lens' OrganizationsSourcesFindingsGroup (Maybe Text)
REST Resource
type OrganizationsSourcesFindingsGroupResource = "v1" :> (Capture "parent" Text :> ("findings:group" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GroupFindingsRequest :> Post '[JSON] GroupFindingsResponse))))))))) Source #
A resource alias for securitycenter.organizations.sources.findings.group
method which the
OrganizationsSourcesFindingsGroup
request conforms to.
Creating a Request
organizationsSourcesFindingsGroup Source #
Creates a value of OrganizationsSourcesFindingsGroup
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrganizationsSourcesFindingsGroup Source #
Filters an organization or source's findings and groups them by their specified properties. To group across all sources provide a `-` as the source id. Example: /v1/organizations/123/sources/-/findings
See: organizationsSourcesFindingsGroup
smart constructor.
Instances
Request Lenses
osfgParent :: Lens' OrganizationsSourcesFindingsGroup Text Source #
Name of the source to groupBy. Its format is "organizations/[organization_id]/sources/[source_id]". To groupBy across all sources provide a source_id of `-`. For example: organizations/123/sources/-
osfgUploadProtocol :: Lens' OrganizationsSourcesFindingsGroup (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
osfgAccessToken :: Lens' OrganizationsSourcesFindingsGroup (Maybe Text) Source #
OAuth access token.
osfgUploadType :: Lens' OrganizationsSourcesFindingsGroup (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
osfgPayload :: Lens' OrganizationsSourcesFindingsGroup GroupFindingsRequest Source #
Multipart request metadata.