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)
public static Output<GetAcknowledgesResult> getAcknowledges(InvokeOptions options)
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
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.
- Docker
Id This property is required. string - Expiration
Configured At This property is required. string - The current dat and time when the expiration was set
- Expiration
Configured By This property is required. string - 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. string - The version of the package that having a fix for the issue.
- Image
Name This property is required. string - Only acknowledge the issue in the context of the specified image (also requires 'registry_name')
- Issue
Name 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)
- Issue
Type 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').
- Os
Version 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.
- Registry
Name This property is required. string - Only acknowledge the issue in the context of the specified repository (also requires 'registry_name').
- Resource
Cpe 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.
- Resource
Format This property is required. string - The format of the resource.
- Resource
Hash This property is required. string - When the resource_type is 'file', the hash of the file is required
- Resource
Name This property is required. string - When the resource_type is 'package', the name of the package is required.
- Resource
Path This property is required. string - The path of the resource. This is required for resources of type 'file' and 'executable'.
- Resource
Type This property is required. string - The type of the resource where the issue was detected (either 'package', 'file' or 'executable')
- Resource
Version This property is required. string - When the resource_type is 'package', the version of the package is required
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.
- Docker
Id This property is required. string - Expiration
Configured At This property is required. string - The current dat and time when the expiration was set
- Expiration
Configured By This property is required. string - 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. string - The version of the package that having a fix for the issue.
- Image
Name This property is required. string - Only acknowledge the issue in the context of the specified image (also requires 'registry_name')
- Issue
Name 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)
- Issue
Type 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').
- Os
Version 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.
- Registry
Name This property is required. string - Only acknowledge the issue in the context of the specified repository (also requires 'registry_name').
- Resource
Cpe 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.
- Resource
Format This property is required. string - The format of the resource.
- Resource
Hash This property is required. string - When the resource_type is 'file', the hash of the file is required
- Resource
Name This property is required. string - When the resource_type is 'package', the name of the package is required.
- Resource
Path This property is required. string - The path of the resource. This is required for resources of type 'file' and 'executable'.
- Resource
Type This property is required. string - The type of the resource where the issue was detected (either 'package', 'file' or 'executable')
- Resource
Version This property is required. string - When the resource_type is 'package', the version of the package is required
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.
- docker
Id This property is required. String - expiration
Configured At This property is required. String - The current dat and time when the expiration was set
- expiration
Configured By This property is required. String - The user who set the expiration of the issue.
- expiration
Days This property is required. Integer - Number of days until expiration of the acknowledgement. The value must be integer from 1 to 999, inclusive.
- fix
Version This property is required. String - The version of the package that having a fix for the issue.
- image
Name This property is required. String - Only acknowledge the issue in the context of the specified image (also requires 'registry_name')
- issue
Name 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)
- issue
Type 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').
- os
Version 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.
- registry
Name This property is required. String - Only acknowledge the issue in the context of the specified repository (also requires 'registry_name').
- resource
Cpe 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.
- resource
Format This property is required. String - The format of the resource.
- resource
Hash This property is required. String - When the resource_type is 'file', the hash of the file is required
- resource
Name This property is required. String - When the resource_type is 'package', the name of the package is required.
- resource
Path This property is required. String - The path of the resource. This is required for resources of type 'file' and 'executable'.
- resource
Type This property is required. String - The type of the resource where the issue was detected (either 'package', 'file' or 'executable')
- resource
Version This property is required. String - When the resource_type is 'package', the version of the package is required
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.
- docker
Id This property is required. string - expiration
Configured At This property is required. string - The current dat and time when the expiration was set
- expiration
Configured By This property is required. string - The user who set the expiration of the issue.
- expiration
Days This property is required. number - Number of days until expiration of the acknowledgement. The value must be integer from 1 to 999, inclusive.
- fix
Version This property is required. string - The version of the package that having a fix for the issue.
- image
Name This property is required. string - Only acknowledge the issue in the context of the specified image (also requires 'registry_name')
- issue
Name 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)
- issue
Type 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').
- os
Version 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.
- registry
Name This property is required. string - Only acknowledge the issue in the context of the specified repository (also requires 'registry_name').
- resource
Cpe 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.
- resource
Format This property is required. string - The format of the resource.
- resource
Hash This property is required. string - When the resource_type is 'file', the hash of the file is required
- resource
Name This property is required. string - When the resource_type is 'package', the name of the package is required.
- resource
Path This property is required. string - The path of the resource. This is required for resources of type 'file' and 'executable'.
- resource
Type This property is required. string - The type of the resource where the issue was detected (either 'package', 'file' or 'executable')
- resource
Version This property is required. string - When the resource_type is 'package', the version of the package is required
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
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.
- docker
Id This property is required. String - expiration
Configured At This property is required. String - The current dat and time when the expiration was set
- expiration
Configured By This property is required. String - The user who set the expiration of the issue.
- expiration
Days This property is required. Number - Number of days until expiration of the acknowledgement. The value must be integer from 1 to 999, inclusive.
- fix
Version This property is required. String - The version of the package that having a fix for the issue.
- image
Name This property is required. String - Only acknowledge the issue in the context of the specified image (also requires 'registry_name')
- issue
Name 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)
- issue
Type 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').
- os
Version 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.
- registry
Name This property is required. String - Only acknowledge the issue in the context of the specified repository (also requires 'registry_name').
- resource
Cpe 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.
- resource
Format This property is required. String - The format of the resource.
- resource
Hash This property is required. String - When the resource_type is 'file', the hash of the file is required
- resource
Name This property is required. String - When the resource_type is 'package', the name of the package is required.
- resource
Path This property is required. String - The path of the resource. This is required for resources of type 'file' and 'executable'.
- resource
Type This property is required. String - The type of the resource where the issue was detected (either 'package', 'file' or 'executable')
- resource
Version 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.