1. Packages
  2. Aquasec
  3. API Docs
  4. getAcknowledges
Aquasec v0.8.29 published on Monday, Jul 22, 2024 by Pulumiverse

aquasec.getAcknowledges

Explore with Pulumi AI

Aquasec v0.8.29 published on Monday, Jul 22, 2024 by Pulumiverse

The data source aquasec.getAcknowledges provides a method to query all acknowledges within the Aqua

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as aquasec from "@pulumi/aquasec";

const acknowledgesAcknowledges = aquasec.getAcknowledges({});
export const acknowledges = acknowledgesAcknowledges;
Copy
import pulumi
import pulumi_aquasec as aquasec

acknowledges_acknowledges = aquasec.get_acknowledges()
pulumi.export("acknowledges", acknowledges_acknowledges)
Copy
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumiverse/pulumi-aquasec/sdk/go/aquasec"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		acknowledgesAcknowledges, err := aquasec.GetAcknowledges(ctx, nil, nil)
		if err != nil {
			return err
		}
		ctx.Export("acknowledges", acknowledgesAcknowledges)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aquasec = Pulumi.Aquasec;

return await Deployment.RunAsync(() => 
{
    var acknowledgesAcknowledges = Aquasec.GetAcknowledges.Invoke();

    return new Dictionary<string, object?>
    {
        ["acknowledges"] = acknowledgesAcknowledges,
    };
});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aquasec.AquasecFunctions;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var acknowledgesAcknowledges = AquasecFunctions.getAcknowledges();

        ctx.export("acknowledges", acknowledgesAcknowledges.applyValue(getAcknowledgesResult -> getAcknowledgesResult));
    }
}
Copy
variables:
  acknowledgesAcknowledges:
    fn::invoke:
      Function: aquasec:getAcknowledges
      Arguments: {}
outputs:
  acknowledges: ${acknowledgesAcknowledges}
Copy

Using getAcknowledges

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getAcknowledges(opts?: InvokeOptions): Promise<GetAcknowledgesResult>
function getAcknowledgesOutput(opts?: InvokeOptions): Output<GetAcknowledgesResult>
Copy
def get_acknowledges(opts: Optional[InvokeOptions] = None) -> GetAcknowledgesResult
def get_acknowledges_output(opts: Optional[InvokeOptions] = None) -> Output[GetAcknowledgesResult]
Copy
func GetAcknowledges(ctx *Context, opts ...InvokeOption) (*GetAcknowledgesResult, error)
func GetAcknowledgesOutput(ctx *Context, opts ...InvokeOption) GetAcknowledgesResultOutput
Copy

> Note: This function is named GetAcknowledges in the Go SDK.

public static class GetAcknowledges 
{
    public static Task<GetAcknowledgesResult> InvokeAsync(InvokeOptions? opts = null)
    public static Output<GetAcknowledgesResult> Invoke(InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetAcknowledgesResult> getAcknowledges(InvokeOptions options)
public static Output<GetAcknowledgesResult> getAcknowledges(InvokeOptions options)
Copy
fn::invoke:
  function: aquasec:index/getAcknowledges:getAcknowledges
  arguments:
    # arguments dictionary
Copy

getAcknowledges Result

The following output properties are available:

Acknowledges List<Pulumiverse.Aquasec.Outputs.GetAcknowledgesAcknowledge>
A list of existing security acknowledges.
Id string
The provider-assigned unique ID for this managed resource.
Acknowledges []GetAcknowledgesAcknowledge
A list of existing security acknowledges.
Id string
The provider-assigned unique ID for this managed resource.
acknowledges List<GetAcknowledgesAcknowledge>
A list of existing security acknowledges.
id String
The provider-assigned unique ID for this managed resource.
acknowledges GetAcknowledgesAcknowledge[]
A list of existing security acknowledges.
id string
The provider-assigned unique ID for this managed resource.
acknowledges Sequence[GetAcknowledgesAcknowledge]
A list of existing security acknowledges.
id str
The provider-assigned unique ID for this managed resource.
acknowledges List<Property Map>
A list of existing security acknowledges.
id String
The provider-assigned unique ID for this managed resource.

Supporting Types

GetAcknowledgesAcknowledge

Author This property is required. string
The user who acknowledged the issue.
Comment This property is required. string
A comment describing the reason for the acknowledgment
Date This property is required. string
The date and time of the acknowledgment.
DockerId This property is required. string
ExpirationConfiguredAt This property is required. string
The current dat and time when the expiration was set
ExpirationConfiguredBy This property is required. string
The user who set the expiration of the issue.
ExpirationDays This property is required. int
Number of days until expiration of the acknowledgement. The value must be integer from 1 to 999, inclusive.
FixVersion This property is required. string
The version of the package that having a fix for the issue.
ImageName This property is required. string
Only acknowledge the issue in the context of the specified image (also requires 'registry_name')
IssueName This property is required. string
The name of the security issue (the CVE or security advisory for vulnerabilities, name of malware or type of sensitive data)
IssueType This property is required. string
The type of the security issue (either 'vulnerability', 'sensitive_data' or 'malware')
Os This property is required. string
When the resource_type is 'package', the operating system is required (e.g., 'ubuntu', 'alpine').
OsVersion This property is required. string
When the resource_type is 'package', the operating system version is required.
Permission This property is required. string
The permissions of the user who acknowledged the issue.
RegistryName This property is required. string
Only acknowledge the issue in the context of the specified repository (also requires 'registry_name').
ResourceCpe This property is required. string
The CPE of the resource as listed in the issue by the Aqua API. This is required for resources of type 'executable'. For packages and files, the next parameters can be specified instead.
ResourceFormat This property is required. string
The format of the resource.
ResourceHash This property is required. string
When the resource_type is 'file', the hash of the file is required
ResourceName This property is required. string
When the resource_type is 'package', the name of the package is required.
ResourcePath This property is required. string
The path of the resource. This is required for resources of type 'file' and 'executable'.
ResourceType This property is required. string
The type of the resource where the issue was detected (either 'package', 'file' or 'executable')
ResourceVersion This property is required. string
When the resource_type is 'package', the version of the package is required
Author This property is required. string
The user who acknowledged the issue.
Comment This property is required. string
A comment describing the reason for the acknowledgment
Date This property is required. string
The date and time of the acknowledgment.
DockerId This property is required. string
ExpirationConfiguredAt This property is required. string
The current dat and time when the expiration was set
ExpirationConfiguredBy This property is required. string
The user who set the expiration of the issue.
ExpirationDays This property is required. int
Number of days until expiration of the acknowledgement. The value must be integer from 1 to 999, inclusive.
FixVersion This property is required. string
The version of the package that having a fix for the issue.
ImageName This property is required. string
Only acknowledge the issue in the context of the specified image (also requires 'registry_name')
IssueName This property is required. string
The name of the security issue (the CVE or security advisory for vulnerabilities, name of malware or type of sensitive data)
IssueType This property is required. string
The type of the security issue (either 'vulnerability', 'sensitive_data' or 'malware')
Os This property is required. string
When the resource_type is 'package', the operating system is required (e.g., 'ubuntu', 'alpine').
OsVersion This property is required. string
When the resource_type is 'package', the operating system version is required.
Permission This property is required. string
The permissions of the user who acknowledged the issue.
RegistryName This property is required. string
Only acknowledge the issue in the context of the specified repository (also requires 'registry_name').
ResourceCpe This property is required. string
The CPE of the resource as listed in the issue by the Aqua API. This is required for resources of type 'executable'. For packages and files, the next parameters can be specified instead.
ResourceFormat This property is required. string
The format of the resource.
ResourceHash This property is required. string
When the resource_type is 'file', the hash of the file is required
ResourceName This property is required. string
When the resource_type is 'package', the name of the package is required.
ResourcePath This property is required. string
The path of the resource. This is required for resources of type 'file' and 'executable'.
ResourceType This property is required. string
The type of the resource where the issue was detected (either 'package', 'file' or 'executable')
ResourceVersion This property is required. string
When the resource_type is 'package', the version of the package is required
author This property is required. String
The user who acknowledged the issue.
comment This property is required. String
A comment describing the reason for the acknowledgment
date This property is required. String
The date and time of the acknowledgment.
dockerId This property is required. String
expirationConfiguredAt This property is required. String
The current dat and time when the expiration was set
expirationConfiguredBy This property is required. String
The user who set the expiration of the issue.
expirationDays This property is required. Integer
Number of days until expiration of the acknowledgement. The value must be integer from 1 to 999, inclusive.
fixVersion This property is required. String
The version of the package that having a fix for the issue.
imageName This property is required. String
Only acknowledge the issue in the context of the specified image (also requires 'registry_name')
issueName This property is required. String
The name of the security issue (the CVE or security advisory for vulnerabilities, name of malware or type of sensitive data)
issueType This property is required. String
The type of the security issue (either 'vulnerability', 'sensitive_data' or 'malware')
os This property is required. String
When the resource_type is 'package', the operating system is required (e.g., 'ubuntu', 'alpine').
osVersion This property is required. String
When the resource_type is 'package', the operating system version is required.
permission This property is required. String
The permissions of the user who acknowledged the issue.
registryName This property is required. String
Only acknowledge the issue in the context of the specified repository (also requires 'registry_name').
resourceCpe This property is required. String
The CPE of the resource as listed in the issue by the Aqua API. This is required for resources of type 'executable'. For packages and files, the next parameters can be specified instead.
resourceFormat This property is required. String
The format of the resource.
resourceHash This property is required. String
When the resource_type is 'file', the hash of the file is required
resourceName This property is required. String
When the resource_type is 'package', the name of the package is required.
resourcePath This property is required. String
The path of the resource. This is required for resources of type 'file' and 'executable'.
resourceType This property is required. String
The type of the resource where the issue was detected (either 'package', 'file' or 'executable')
resourceVersion This property is required. String
When the resource_type is 'package', the version of the package is required
author This property is required. string
The user who acknowledged the issue.
comment This property is required. string
A comment describing the reason for the acknowledgment
date This property is required. string
The date and time of the acknowledgment.
dockerId This property is required. string
expirationConfiguredAt This property is required. string
The current dat and time when the expiration was set
expirationConfiguredBy This property is required. string
The user who set the expiration of the issue.
expirationDays This property is required. number
Number of days until expiration of the acknowledgement. The value must be integer from 1 to 999, inclusive.
fixVersion This property is required. string
The version of the package that having a fix for the issue.
imageName This property is required. string
Only acknowledge the issue in the context of the specified image (also requires 'registry_name')
issueName This property is required. string
The name of the security issue (the CVE or security advisory for vulnerabilities, name of malware or type of sensitive data)
issueType This property is required. string
The type of the security issue (either 'vulnerability', 'sensitive_data' or 'malware')
os This property is required. string
When the resource_type is 'package', the operating system is required (e.g., 'ubuntu', 'alpine').
osVersion This property is required. string
When the resource_type is 'package', the operating system version is required.
permission This property is required. string
The permissions of the user who acknowledged the issue.
registryName This property is required. string
Only acknowledge the issue in the context of the specified repository (also requires 'registry_name').
resourceCpe This property is required. string
The CPE of the resource as listed in the issue by the Aqua API. This is required for resources of type 'executable'. For packages and files, the next parameters can be specified instead.
resourceFormat This property is required. string
The format of the resource.
resourceHash This property is required. string
When the resource_type is 'file', the hash of the file is required
resourceName This property is required. string
When the resource_type is 'package', the name of the package is required.
resourcePath This property is required. string
The path of the resource. This is required for resources of type 'file' and 'executable'.
resourceType This property is required. string
The type of the resource where the issue was detected (either 'package', 'file' or 'executable')
resourceVersion This property is required. string
When the resource_type is 'package', the version of the package is required
author This property is required. str
The user who acknowledged the issue.
comment This property is required. str
A comment describing the reason for the acknowledgment
date This property is required. str
The date and time of the acknowledgment.
docker_id This property is required. str
expiration_configured_at This property is required. str
The current dat and time when the expiration was set
expiration_configured_by This property is required. str
The user who set the expiration of the issue.
expiration_days This property is required. int
Number of days until expiration of the acknowledgement. The value must be integer from 1 to 999, inclusive.
fix_version This property is required. str
The version of the package that having a fix for the issue.
image_name This property is required. str
Only acknowledge the issue in the context of the specified image (also requires 'registry_name')
issue_name This property is required. str
The name of the security issue (the CVE or security advisory for vulnerabilities, name of malware or type of sensitive data)
issue_type This property is required. str
The type of the security issue (either 'vulnerability', 'sensitive_data' or 'malware')
os This property is required. str
When the resource_type is 'package', the operating system is required (e.g., 'ubuntu', 'alpine').
os_version This property is required. str
When the resource_type is 'package', the operating system version is required.
permission This property is required. str
The permissions of the user who acknowledged the issue.
registry_name This property is required. str
Only acknowledge the issue in the context of the specified repository (also requires 'registry_name').
resource_cpe This property is required. str
The CPE of the resource as listed in the issue by the Aqua API. This is required for resources of type 'executable'. For packages and files, the next parameters can be specified instead.
resource_format This property is required. str
The format of the resource.
resource_hash This property is required. str
When the resource_type is 'file', the hash of the file is required
resource_name This property is required. str
When the resource_type is 'package', the name of the package is required.
resource_path This property is required. str
The path of the resource. This is required for resources of type 'file' and 'executable'.
resource_type This property is required. str
The type of the resource where the issue was detected (either 'package', 'file' or 'executable')
resource_version This property is required. str
When the resource_type is 'package', the version of the package is required
author This property is required. String
The user who acknowledged the issue.
comment This property is required. String
A comment describing the reason for the acknowledgment
date This property is required. String
The date and time of the acknowledgment.
dockerId This property is required. String
expirationConfiguredAt This property is required. String
The current dat and time when the expiration was set
expirationConfiguredBy This property is required. String
The user who set the expiration of the issue.
expirationDays This property is required. Number
Number of days until expiration of the acknowledgement. The value must be integer from 1 to 999, inclusive.
fixVersion This property is required. String
The version of the package that having a fix for the issue.
imageName This property is required. String
Only acknowledge the issue in the context of the specified image (also requires 'registry_name')
issueName This property is required. String
The name of the security issue (the CVE or security advisory for vulnerabilities, name of malware or type of sensitive data)
issueType This property is required. String
The type of the security issue (either 'vulnerability', 'sensitive_data' or 'malware')
os This property is required. String
When the resource_type is 'package', the operating system is required (e.g., 'ubuntu', 'alpine').
osVersion This property is required. String
When the resource_type is 'package', the operating system version is required.
permission This property is required. String
The permissions of the user who acknowledged the issue.
registryName This property is required. String
Only acknowledge the issue in the context of the specified repository (also requires 'registry_name').
resourceCpe This property is required. String
The CPE of the resource as listed in the issue by the Aqua API. This is required for resources of type 'executable'. For packages and files, the next parameters can be specified instead.
resourceFormat This property is required. String
The format of the resource.
resourceHash This property is required. String
When the resource_type is 'file', the hash of the file is required
resourceName This property is required. String
When the resource_type is 'package', the name of the package is required.
resourcePath This property is required. String
The path of the resource. This is required for resources of type 'file' and 'executable'.
resourceType This property is required. String
The type of the resource where the issue was detected (either 'package', 'file' or 'executable')
resourceVersion This property is required. String
When the resource_type is 'package', the version of the package is required

Package Details

Repository
aquasec pulumiverse/pulumi-aquasec
License
Apache-2.0
Notes
This Pulumi package is based on the aquasec Terraform Provider.
Aquasec v0.8.29 published on Monday, Jul 22, 2024 by Pulumiverse