Aquasec v0.8.29 published on Monday, Jul 22, 2024 by Pulumiverse
aquasec.getAcknowledges
Explore with Pulumi AI
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;
import pulumi
import pulumi_aquasec as aquasec
acknowledges_acknowledges = aquasec.get_acknowledges()
pulumi.export("acknowledges", acknowledges_acknowledges)
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
})
}
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,
};
});
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));
}
}
variables:
acknowledgesAcknowledges:
fn::invoke:
Function: aquasec:getAcknowledges
Arguments: {}
outputs:
acknowledges: ${acknowledgesAcknowledges}
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>
def get_acknowledges(opts: Optional[InvokeOptions] = None) -> GetAcknowledgesResult
def get_acknowledges_output(opts: Optional[InvokeOptions] = None) -> Output[GetAcknowledgesResult]
func GetAcknowledges(ctx *Context, opts ...InvokeOption) (*GetAcknowledgesResult, error)
func GetAcknowledgesOutput(ctx *Context, opts ...InvokeOption) GetAcknowledgesResultOutput
> 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)
}
public static CompletableFuture<GetAcknowledgesResult> getAcknowledges(InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aquasec:index/getAcknowledges:getAcknowledges
arguments:
# arguments dictionary
getAcknowledges Result
The following output properties are available:
- Acknowledges
List<Pulumiverse.
Aquasec. Outputs. Get Acknowledges Acknowledge> - A list of existing security acknowledges.
- Id string
- The provider-assigned unique ID for this managed resource.
- Acknowledges
[]Get
Acknowledges Acknowledge - A list of existing security acknowledges.
- Id string
- The provider-assigned unique ID for this managed resource.
- acknowledges
List<Get
Acknowledges Acknowledge> - A list of existing security acknowledges.
- id String
- The provider-assigned unique ID for this managed resource.
- acknowledges
Get
Acknowledges Acknowledge[] - A list of existing security acknowledges.
- id string
- The provider-assigned unique ID for this managed resource.
- acknowledges
Sequence[Get
Acknowledges Acknowledge] - 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
- string
- The user who acknowledged the issue.
- Comment string
- A comment describing the reason for the acknowledgment
- Date string
- The date and time of the acknowledgment.
- Docker
Id string - Expiration
Configured stringAt - The current dat and time when the expiration was set
- Expiration
Configured stringBy - The user who set the expiration of the issue.
- Expiration
Days int - Number of days until expiration of the acknowledgement. The value must be integer from 1 to 999, inclusive.
- Fix
Version string - The version of the package that having a fix for the issue.
- Image
Name string - Only acknowledge the issue in the context of the specified image (also requires 'registry_name')
- Issue
Name string - The name of the security issue (the CVE or security advisory for vulnerabilities, name of malware or type of sensitive data)
- Issue
Type string - The type of the security issue (either 'vulnerability', 'sensitive_data' or 'malware')
- Os string
- When the resource_type is 'package', the operating system is required (e.g., 'ubuntu', 'alpine').
- Os
Version string - When the resource_type is 'package', the operating system version is required.
- Permission string
- The permissions of the user who acknowledged the issue.
- Registry
Name string - Only acknowledge the issue in the context of the specified repository (also requires 'registry_name').
- Resource
Cpe 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.
- Resource
Format string - The format of the resource.
- Resource
Hash string - When the resource_type is 'file', the hash of the file is required
- Resource
Name string - When the resource_type is 'package', the name of the package is required.
- Resource
Path string - The path of the resource. This is required for resources of type 'file' and 'executable'.
- Resource
Type string - The type of the resource where the issue was detected (either 'package', 'file' or 'executable')
- Resource
Version string - When the resource_type is 'package', the version of the package is required
- string
- The user who acknowledged the issue.
- Comment string
- A comment describing the reason for the acknowledgment
- Date string
- The date and time of the acknowledgment.
- Docker
Id string - Expiration
Configured stringAt - The current dat and time when the expiration was set
- Expiration
Configured stringBy - The user who set the expiration of the issue.
- Expiration
Days int - Number of days until expiration of the acknowledgement. The value must be integer from 1 to 999, inclusive.
- Fix
Version string - The version of the package that having a fix for the issue.
- Image
Name string - Only acknowledge the issue in the context of the specified image (also requires 'registry_name')
- Issue
Name string - The name of the security issue (the CVE or security advisory for vulnerabilities, name of malware or type of sensitive data)
- Issue
Type string - The type of the security issue (either 'vulnerability', 'sensitive_data' or 'malware')
- Os string
- When the resource_type is 'package', the operating system is required (e.g., 'ubuntu', 'alpine').
- Os
Version string - When the resource_type is 'package', the operating system version is required.
- Permission string
- The permissions of the user who acknowledged the issue.
- Registry
Name string - Only acknowledge the issue in the context of the specified repository (also requires 'registry_name').
- Resource
Cpe 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.
- Resource
Format string - The format of the resource.
- Resource
Hash string - When the resource_type is 'file', the hash of the file is required
- Resource
Name string - When the resource_type is 'package', the name of the package is required.
- Resource
Path string - The path of the resource. This is required for resources of type 'file' and 'executable'.
- Resource
Type string - The type of the resource where the issue was detected (either 'package', 'file' or 'executable')
- Resource
Version string - When the resource_type is 'package', the version of the package is required
- String
- The user who acknowledged the issue.
- comment String
- A comment describing the reason for the acknowledgment
- date String
- The date and time of the acknowledgment.
- docker
Id String - expiration
Configured StringAt - The current dat and time when the expiration was set
- expiration
Configured StringBy - The user who set the expiration of the issue.
- expiration
Days Integer - Number of days until expiration of the acknowledgement. The value must be integer from 1 to 999, inclusive.
- fix
Version String - The version of the package that having a fix for the issue.
- image
Name String - Only acknowledge the issue in the context of the specified image (also requires 'registry_name')
- issue
Name String - The name of the security issue (the CVE or security advisory for vulnerabilities, name of malware or type of sensitive data)
- issue
Type String - The type of the security issue (either 'vulnerability', 'sensitive_data' or 'malware')
- os String
- When the resource_type is 'package', the operating system is required (e.g., 'ubuntu', 'alpine').
- os
Version String - When the resource_type is 'package', the operating system version is required.
- permission String
- The permissions of the user who acknowledged the issue.
- registry
Name String - Only acknowledge the issue in the context of the specified repository (also requires 'registry_name').
- resource
Cpe 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.
- resource
Format String - The format of the resource.
- resource
Hash String - When the resource_type is 'file', the hash of the file is required
- resource
Name String - When the resource_type is 'package', the name of the package is required.
- resource
Path String - The path of the resource. This is required for resources of type 'file' and 'executable'.
- resource
Type String - The type of the resource where the issue was detected (either 'package', 'file' or 'executable')
- resource
Version String - When the resource_type is 'package', the version of the package is required
- string
- The user who acknowledged the issue.
- comment string
- A comment describing the reason for the acknowledgment
- date string
- The date and time of the acknowledgment.
- docker
Id string - expiration
Configured stringAt - The current dat and time when the expiration was set
- expiration
Configured stringBy - The user who set the expiration of the issue.
- expiration
Days number - Number of days until expiration of the acknowledgement. The value must be integer from 1 to 999, inclusive.
- fix
Version string - The version of the package that having a fix for the issue.
- image
Name string - Only acknowledge the issue in the context of the specified image (also requires 'registry_name')
- issue
Name string - The name of the security issue (the CVE or security advisory for vulnerabilities, name of malware or type of sensitive data)
- issue
Type string - The type of the security issue (either 'vulnerability', 'sensitive_data' or 'malware')
- os string
- When the resource_type is 'package', the operating system is required (e.g., 'ubuntu', 'alpine').
- os
Version string - When the resource_type is 'package', the operating system version is required.
- permission string
- The permissions of the user who acknowledged the issue.
- registry
Name string - Only acknowledge the issue in the context of the specified repository (also requires 'registry_name').
- resource
Cpe 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.
- resource
Format string - The format of the resource.
- resource
Hash string - When the resource_type is 'file', the hash of the file is required
- resource
Name string - When the resource_type is 'package', the name of the package is required.
- resource
Path string - The path of the resource. This is required for resources of type 'file' and 'executable'.
- resource
Type string - The type of the resource where the issue was detected (either 'package', 'file' or 'executable')
- resource
Version string - When the resource_type is 'package', the version of the package is required
- str
- The user who acknowledged the issue.
- comment str
- A comment describing the reason for the acknowledgment
- date str
- The date and time of the acknowledgment.
- docker_
id str - expiration_
configured_ strat - The current dat and time when the expiration was set
- expiration_
configured_ strby - The user who set the expiration of the issue.
- expiration_
days int - Number of days until expiration of the acknowledgement. The value must be integer from 1 to 999, inclusive.
- fix_
version str - The version of the package that having a fix for the issue.
- image_
name str - Only acknowledge the issue in the context of the specified image (also requires 'registry_name')
- issue_
name str - The name of the security issue (the CVE or security advisory for vulnerabilities, name of malware or type of sensitive data)
- issue_
type str - The type of the security issue (either 'vulnerability', 'sensitive_data' or 'malware')
- os str
- When the resource_type is 'package', the operating system is required (e.g., 'ubuntu', 'alpine').
- os_
version str - When the resource_type is 'package', the operating system version is required.
- permission str
- The permissions of the user who acknowledged the issue.
- registry_
name str - Only acknowledge the issue in the context of the specified repository (also requires 'registry_name').
- resource_
cpe 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 str - The format of the resource.
- resource_
hash str - When the resource_type is 'file', the hash of the file is required
- resource_
name str - When the resource_type is 'package', the name of the package is required.
- resource_
path str - The path of the resource. This is required for resources of type 'file' and 'executable'.
- resource_
type str - The type of the resource where the issue was detected (either 'package', 'file' or 'executable')
- resource_
version str - When the resource_type is 'package', the version of the package is required
- String
- The user who acknowledged the issue.
- comment String
- A comment describing the reason for the acknowledgment
- date String
- The date and time of the acknowledgment.
- docker
Id String - expiration
Configured StringAt - The current dat and time when the expiration was set
- expiration
Configured StringBy - The user who set the expiration of the issue.
- expiration
Days Number - Number of days until expiration of the acknowledgement. The value must be integer from 1 to 999, inclusive.
- fix
Version String - The version of the package that having a fix for the issue.
- image
Name String - Only acknowledge the issue in the context of the specified image (also requires 'registry_name')
- issue
Name String - The name of the security issue (the CVE or security advisory for vulnerabilities, name of malware or type of sensitive data)
- issue
Type String - The type of the security issue (either 'vulnerability', 'sensitive_data' or 'malware')
- os String
- When the resource_type is 'package', the operating system is required (e.g., 'ubuntu', 'alpine').
- os
Version String - When the resource_type is 'package', the operating system version is required.
- permission String
- The permissions of the user who acknowledged the issue.
- registry
Name String - Only acknowledge the issue in the context of the specified repository (also requires 'registry_name').
- resource
Cpe 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.
- resource
Format String - The format of the resource.
- resource
Hash String - When the resource_type is 'file', the hash of the file is required
- resource
Name String - When the resource_type is 'package', the name of the package is required.
- resource
Path String - The path of the resource. This is required for resources of type 'file' and 'executable'.
- resource
Type String - The type of the resource where the issue was detected (either 'package', 'file' or 'executable')
- resource
Version 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.