Volcengine v0.0.34 published on Wednesday, Jul 2, 2025 by Volcengine
volcengine.waf.getProhibitions
Explore with Pulumi AI
Use this data source to query detailed information of waf prohibitions
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.waf.getProhibitions({
endTime: 1749808824,
host: "www.tf-test.com",
startTime: 1749805224,
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.waf.get_prohibitions(end_time=1749808824,
host="www.tf-test.com",
start_time=1749805224)
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/waf"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := waf.GetProhibitions(ctx, &waf.GetProhibitionsArgs{
EndTime: 1749808824,
Host: "www.tf-test.com",
StartTime: 1749805224,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var foo = Volcengine.Waf.GetProhibitions.Invoke(new()
{
EndTime = 1749808824,
Host = "www.tf-test.com",
StartTime = 1749805224,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.waf.WafFunctions;
import com.pulumi.volcengine.waf.inputs.GetProhibitionsArgs;
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 foo = WafFunctions.getProhibitions(GetProhibitionsArgs.builder()
.endTime(1749808824)
.host("www.tf-test.com")
.startTime(1749805224)
.build());
}
}
variables:
foo:
fn::invoke:
Function: volcengine:waf:getProhibitions
Arguments:
endTime: 1.749808824e+09
host: www.tf-test.com
startTime: 1.749805224e+09
Using getProhibitions
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 getProhibitions(args: GetProhibitionsArgs, opts?: InvokeOptions): Promise<GetProhibitionsResult>
function getProhibitionsOutput(args: GetProhibitionsOutputArgs, opts?: InvokeOptions): Output<GetProhibitionsResult>
def get_prohibitions(end_time: Optional[int] = None,
host: Optional[str] = None,
letter_order_by: Optional[str] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
reasons: Optional[Sequence[str]] = None,
start_time: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetProhibitionsResult
def get_prohibitions_output(end_time: Optional[pulumi.Input[int]] = None,
host: Optional[pulumi.Input[str]] = None,
letter_order_by: Optional[pulumi.Input[str]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
reasons: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
start_time: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetProhibitionsResult]
func GetProhibitions(ctx *Context, args *GetProhibitionsArgs, opts ...InvokeOption) (*GetProhibitionsResult, error)
func GetProhibitionsOutput(ctx *Context, args *GetProhibitionsOutputArgs, opts ...InvokeOption) GetProhibitionsResultOutput
> Note: This function is named GetProhibitions
in the Go SDK.
public static class GetProhibitions
{
public static Task<GetProhibitionsResult> InvokeAsync(GetProhibitionsArgs args, InvokeOptions? opts = null)
public static Output<GetProhibitionsResult> Invoke(GetProhibitionsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetProhibitionsResult> getProhibitions(GetProhibitionsArgs args, InvokeOptions options)
public static Output<GetProhibitionsResult> getProhibitions(GetProhibitionsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:waf/getProhibitions:getProhibitions
arguments:
# arguments dictionary
The following arguments are supported:
- End
Time int - end time.
- Host string
- The domain name of the website that needs to be queried.
- Start
Time int - starting time.
- Letter
Order stringBy - The list shows the order.
- Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Reasons List<string>
- Attack type filtering.
- End
Time int - end time.
- Host string
- The domain name of the website that needs to be queried.
- Start
Time int - starting time.
- Letter
Order stringBy - The list shows the order.
- Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Reasons []string
- Attack type filtering.
- end
Time Integer - end time.
- host String
- The domain name of the website that needs to be queried.
- start
Time Integer - starting time.
- letter
Order StringBy - The list shows the order.
- name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- reasons List<String>
- Attack type filtering.
- end
Time number - end time.
- host string
- The domain name of the website that needs to be queried.
- start
Time number - starting time.
- letter
Order stringBy - The list shows the order.
- name
Regex string - A Name Regex of Resource.
- output
File string - File name where to save data source results.
- reasons string[]
- Attack type filtering.
- end_
time int - end time.
- host str
- The domain name of the website that needs to be queried.
- start_
time int - starting time.
- letter_
order_ strby - The list shows the order.
- name_
regex str - A Name Regex of Resource.
- output_
file str - File name where to save data source results.
- reasons Sequence[str]
- Attack type filtering.
- end
Time Number - end time.
- host String
- The domain name of the website that needs to be queried.
- start
Time Number - starting time.
- letter
Order StringBy - The list shows the order.
- name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- reasons List<String>
- Attack type filtering.
getProhibitions Result
The following output properties are available:
- End
Time int - Host string
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip
Agg List<GetGroups Prohibitions Ip Agg Group> - Details of the attack IP.
- Start
Time int - Total
Count int - The total count of query.
- Letter
Order stringBy - Name
Regex string - Output
File string - Reasons List<string>
- Reason for the ban.
- End
Time int - Host string
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip
Agg []GetGroups Prohibitions Ip Agg Group - Details of the attack IP.
- Start
Time int - Total
Count int - The total count of query.
- Letter
Order stringBy - Name
Regex string - Output
File string - Reasons []string
- Reason for the ban.
- end
Time Integer - host String
- id String
- The provider-assigned unique ID for this managed resource.
- ip
Agg List<GetGroups Prohibitions Ip Agg Group> - Details of the attack IP.
- start
Time Integer - total
Count Integer - The total count of query.
- letter
Order StringBy - name
Regex String - output
File String - reasons List<String>
- Reason for the ban.
- end
Time number - host string
- id string
- The provider-assigned unique ID for this managed resource.
- ip
Agg GetGroups Prohibitions Ip Agg Group[] - Details of the attack IP.
- start
Time number - total
Count number - The total count of query.
- letter
Order stringBy - name
Regex string - output
File string - reasons string[]
- Reason for the ban.
- end_
time int - host str
- id str
- The provider-assigned unique ID for this managed resource.
- ip_
agg_ Sequence[Getgroups Prohibitions Ip Agg Group] - Details of the attack IP.
- start_
time int - total_
count int - The total count of query.
- letter_
order_ strby - name_
regex str - output_
file str - reasons Sequence[str]
- Reason for the ban.
- end
Time Number - host String
- id String
- The provider-assigned unique ID for this managed resource.
- ip
Agg List<Property Map>Groups - Details of the attack IP.
- start
Time Number - total
Count Number - The total count of query.
- letter
Order StringBy - name
Regex String - output
File String - reasons List<String>
- Reason for the ban.
Supporting Types
GetProhibitionsIpAggGroup
- Drop
Count int - The number of attacks on the source IP of this attack.
- Ip string
- Attack source IP.
- Reason
Get
Prohibitions Ip Agg Group Reason - Attack type filtering.
- Rule
Name string - Name of the ban rule.
- Rule
Tag string - Ban rule ID.
- Status int
- IP banned status.
- Update
Time string - Status update time.
- Drop
Count int - The number of attacks on the source IP of this attack.
- Ip string
- Attack source IP.
- Reason
Get
Prohibitions Ip Agg Group Reason - Attack type filtering.
- Rule
Name string - Name of the ban rule.
- Rule
Tag string - Ban rule ID.
- Status int
- IP banned status.
- Update
Time string - Status update time.
- drop
Count Integer - The number of attacks on the source IP of this attack.
- ip String
- Attack source IP.
- reason
Get
Prohibitions Ip Agg Group Reason - Attack type filtering.
- rule
Name String - Name of the ban rule.
- rule
Tag String - Ban rule ID.
- status Integer
- IP banned status.
- update
Time String - Status update time.
- drop
Count number - The number of attacks on the source IP of this attack.
- ip string
- Attack source IP.
- reason
Get
Prohibitions Ip Agg Group Reason - Attack type filtering.
- rule
Name string - Name of the ban rule.
- rule
Tag string - Ban rule ID.
- status number
- IP banned status.
- update
Time string - Status update time.
- drop_
count int - The number of attacks on the source IP of this attack.
- ip str
- Attack source IP.
- reason
Get
Prohibitions Ip Agg Group Reason - Attack type filtering.
- rule_
name str - Name of the ban rule.
- rule_
tag str - Ban rule ID.
- status int
- IP banned status.
- update_
time str - Status update time.
- drop
Count Number - The number of attacks on the source IP of this attack.
- ip String
- Attack source IP.
- reason Property Map
- Attack type filtering.
- rule
Name String - Name of the ban rule.
- rule
Tag String - Ban rule ID.
- status Number
- IP banned status.
- update
Time String - Status update time.
GetProhibitionsIpAggGroupReason
- Black int
- The number of visits to the blacklist.
- Bot int
- The number of Bot attacks.
- Geo
Black int - The number of geographical location access control.
- Http
Flood int - The number of CC attacks.
- Param
Abnormal int - The number of API parameter exceptions.
- Route
Abnormal int - The number of API routing exceptions.
- Sensitive
Info int - The number of times sensitive information is leaked.
- Web
Vulnerability int - The number of Web vulnerability attacks.
- Black int
- The number of visits to the blacklist.
- Bot int
- The number of Bot attacks.
- Geo
Black int - The number of geographical location access control.
- Http
Flood int - The number of CC attacks.
- Param
Abnormal int - The number of API parameter exceptions.
- Route
Abnormal int - The number of API routing exceptions.
- Sensitive
Info int - The number of times sensitive information is leaked.
- Web
Vulnerability int - The number of Web vulnerability attacks.
- black Integer
- The number of visits to the blacklist.
- bot Integer
- The number of Bot attacks.
- geo
Black Integer - The number of geographical location access control.
- http
Flood Integer - The number of CC attacks.
- param
Abnormal Integer - The number of API parameter exceptions.
- route
Abnormal Integer - The number of API routing exceptions.
- sensitive
Info Integer - The number of times sensitive information is leaked.
- web
Vulnerability Integer - The number of Web vulnerability attacks.
- black number
- The number of visits to the blacklist.
- bot number
- The number of Bot attacks.
- geo
Black number - The number of geographical location access control.
- http
Flood number - The number of CC attacks.
- param
Abnormal number - The number of API parameter exceptions.
- route
Abnormal number - The number of API routing exceptions.
- sensitive
Info number - The number of times sensitive information is leaked.
- web
Vulnerability number - The number of Web vulnerability attacks.
- black int
- The number of visits to the blacklist.
- bot int
- The number of Bot attacks.
- geo_
black int - The number of geographical location access control.
- http_
flood int - The number of CC attacks.
- param_
abnormal int - The number of API parameter exceptions.
- route_
abnormal int - The number of API routing exceptions.
- sensitive_
info int - The number of times sensitive information is leaked.
- web_
vulnerability int - The number of Web vulnerability attacks.
- black Number
- The number of visits to the blacklist.
- bot Number
- The number of Bot attacks.
- geo
Black Number - The number of geographical location access control.
- http
Flood Number - The number of CC attacks.
- param
Abnormal Number - The number of API parameter exceptions.
- route
Abnormal Number - The number of API routing exceptions.
- sensitive
Info Number - The number of times sensitive information is leaked.
- web
Vulnerability Number - The number of Web vulnerability attacks.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.