mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 06:20:24 -05:00
feat(controlcatalog): add control lookup operations (#3130)
* feat(controlcatalog): add control lookup operations * fix(controlcatalog): complete control lookup contracts * test(controlcatalog): verify pagination continuation * fix(controlcatalog): move control model to package * fix(controlcatalog): integrate service storage lifecycle
This commit is contained in:
1 parent
b88034cd1d
commit
d99675a512
17 files changed
+782
-1
No files matched your search
@@ -732,6 +732,7 @@ public interface EmulatorConfig {
|
||||
DetectiveServiceConfig detective();
|
||||
ServiceQuotasServiceConfig servicequotas();
|
||||
RamServiceConfig ram();
|
||||
ControlCatalogServiceConfig controlcatalog();
|
||||
ControlTowerServiceConfig controltower();
|
||||
ConnectServiceConfig connect();
|
||||
CognitoIdentityServiceConfig cognitoidentity();
|
||||
@@ -853,6 +854,11 @@ public interface EmulatorConfig {
|
||||
boolean enabled();
|
||||
}
|
||||
|
||||
interface ControlCatalogServiceConfig {
|
||||
@WithDefault("true")
|
||||
boolean enabled();
|
||||
}
|
||||
|
||||
interface ControlTowerServiceConfig {
|
||||
@WithDefault("true")
|
||||
boolean enabled();
|
||||
|
||||
@@ -37,6 +37,7 @@ import io.github.hectorvent.floci.services.account.AccountController;
|
||||
import io.github.hectorvent.floci.services.accessanalyzer.AccessAnalyzerController;
|
||||
import io.github.hectorvent.floci.services.detective.DetectiveController;
|
||||
import io.github.hectorvent.floci.services.aps.ApsController;
|
||||
import io.github.hectorvent.floci.services.controlcatalog.ControlCatalogController;
|
||||
import io.github.hectorvent.floci.services.controltower.ControlTowerControlController;
|
||||
import io.github.hectorvent.floci.services.controltower.ControlTowerController;
|
||||
import io.github.hectorvent.floci.services.rum.RumController;
|
||||
@@ -596,6 +597,9 @@ public class ResolvedServiceCatalog {
|
||||
"servicecatalog", config.storage().mode(), 5000L, null, ServiceProtocol.JSON,
|
||||
protocols(ServiceProtocol.JSON),
|
||||
Set.of("AWS242ServiceCatalogService."), Set.of("servicecatalog"), Set.of(), Set.of()),
|
||||
descriptor("controlcatalog", "controlcatalog", config.services().controlcatalog().enabled(), true,
|
||||
"controlcatalog", config.storage().mode(), 5000L, null, ServiceProtocol.REST_JSON,
|
||||
protocols(ServiceProtocol.REST_JSON), Set.of(), Set.of("controlcatalog"), Set.of(), Set.of(ControlCatalogController.class)),
|
||||
descriptor("controltower", "controltower", config.services().controltower().enabled(), true,
|
||||
"controltower", storageMode(config.storage().services().controltower().mode(), config.storage().mode()),
|
||||
config.storage().services().controltower().flushIntervalMs(), null, ServiceProtocol.REST_JSON,
|
||||
|
||||
+56
@@ -0,0 +1,56 @@
|
||||
package io.github.hectorvent.floci.services.controlcatalog;
|
||||
|
||||
import com.fasterxml.jackson.databind.JsonNode;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import io.github.hectorvent.floci.core.common.JsonErrorResponseUtils;
|
||||
import io.github.hectorvent.floci.core.common.RequestContext;
|
||||
import jakarta.inject.Inject;
|
||||
import jakarta.ws.rs.Consumes;
|
||||
import jakarta.ws.rs.POST;
|
||||
import jakarta.ws.rs.Path;
|
||||
import jakarta.ws.rs.Produces;
|
||||
import jakarta.ws.rs.QueryParam;
|
||||
import jakarta.ws.rs.WebApplicationException;
|
||||
import jakarta.ws.rs.core.MediaType;
|
||||
import jakarta.ws.rs.core.Response;
|
||||
|
||||
@Path("/")
|
||||
@Produces(MediaType.APPLICATION_JSON)
|
||||
@Consumes(MediaType.APPLICATION_JSON)
|
||||
public class ControlCatalogController {
|
||||
private final ControlCatalogService controlCatalogService;
|
||||
private final ObjectMapper objectMapper;
|
||||
private final RequestContext requestContext;
|
||||
|
||||
@Inject
|
||||
public ControlCatalogController(ControlCatalogService controlCatalogService,
|
||||
ObjectMapper objectMapper,
|
||||
RequestContext requestContext) {
|
||||
this.controlCatalogService = controlCatalogService;
|
||||
this.objectMapper = objectMapper;
|
||||
this.requestContext = requestContext;
|
||||
}
|
||||
|
||||
@POST
|
||||
@Path("/get-control")
|
||||
public Response getControl(String body) {
|
||||
JsonNode request = readTree(body);
|
||||
return Response.ok(controlCatalogService.getControl(request, requestContext.getRegion())).build();
|
||||
}
|
||||
|
||||
@POST
|
||||
@Path("/list-controls")
|
||||
public Response listControls(@QueryParam("maxResults") String maxResults,
|
||||
@QueryParam("nextToken") String nextToken,
|
||||
String body) {
|
||||
return Response.ok(controlCatalogService.listControls(readTree(body), maxResults, nextToken)).build();
|
||||
}
|
||||
|
||||
private JsonNode readTree(String body) {
|
||||
try {
|
||||
return objectMapper.readTree(body == null || body.isBlank() ? "{}" : body);
|
||||
} catch (Exception e) {
|
||||
throw new WebApplicationException(JsonErrorResponseUtils.createSerializationErrorResponse());
|
||||
}
|
||||
}
|
||||
}
|
||||
+320
@@ -0,0 +1,320 @@
|
||||
package io.github.hectorvent.floci.services.controlcatalog;
|
||||
|
||||
import com.fasterxml.jackson.core.type.TypeReference;
|
||||
import com.fasterxml.jackson.databind.JsonNode;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import com.fasterxml.jackson.databind.node.ArrayNode;
|
||||
import com.fasterxml.jackson.databind.node.ObjectNode;
|
||||
import io.github.hectorvent.floci.core.common.AwsException;
|
||||
import io.github.hectorvent.floci.core.common.Resettable;
|
||||
import io.github.hectorvent.floci.core.storage.AccountAwareStorageBackend;
|
||||
import io.github.hectorvent.floci.core.storage.StorageFactory;
|
||||
import io.github.hectorvent.floci.services.controlcatalog.model.ControlDefinition;
|
||||
import jakarta.enterprise.context.ApplicationScoped;
|
||||
import jakarta.inject.Inject;
|
||||
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
@ApplicationScoped
|
||||
public class ControlCatalogService implements Resettable {
|
||||
private static final String GLOBAL_PARTITION = "000000000000";
|
||||
private static final Pattern CONTROL_ARN = Pattern.compile(
|
||||
"^arn:(aws(?:[-a-z]*)?):(controlcatalog|controltower):([a-zA-Z0-9-]*)::control/([0-9a-zA-Z_\\-]+)$");
|
||||
private static final String SCP = "AWS::Organizations::Policy::SERVICE_CONTROL_POLICY";
|
||||
private static final String RCP = "AWS::Organizations::Policy::RESOURCE_CONTROL_POLICY";
|
||||
private static final String CONFIG_RULE = "AWS::Config::ConfigRule";
|
||||
|
||||
private final AccountAwareStorageBackend<ControlDefinition> controls;
|
||||
private final ObjectMapper objectMapper;
|
||||
private volatile boolean defaultsSeeded;
|
||||
|
||||
@Inject
|
||||
public ControlCatalogService(StorageFactory storageFactory, ObjectMapper objectMapper) {
|
||||
this(storageFactory.create("controlcatalog", "controlcatalog-controls.json",
|
||||
new TypeReference<Map<String, ControlDefinition>>() {}), objectMapper);
|
||||
}
|
||||
|
||||
ControlCatalogService(AccountAwareStorageBackend<ControlDefinition> controls, ObjectMapper objectMapper) {
|
||||
this.controls = controls;
|
||||
this.objectMapper = objectMapper;
|
||||
}
|
||||
|
||||
public ObjectNode getControl(JsonNode request, String requestRegion) {
|
||||
ensureDefaults();
|
||||
String controlArn = requireControlArn(request);
|
||||
Matcher matcher = CONTROL_ARN.matcher(controlArn);
|
||||
if (!matcher.matches()) {
|
||||
throw validation("ControlArn must be a valid AWS Control Tower or Control Catalog control ARN.");
|
||||
}
|
||||
|
||||
String partition = matcher.group(1);
|
||||
String identifier = matcher.group(4);
|
||||
ControlDefinition definition = controls.getForAccount(GLOBAL_PARTITION, identifier).orElse(null);
|
||||
if (definition == null) {
|
||||
throw new AwsException("ResourceNotFoundException",
|
||||
"The specified control was not found in the Control Catalog.", 404);
|
||||
}
|
||||
|
||||
ObjectNode response = objectMapper.createObjectNode();
|
||||
String responseArn = definition.globalIdentifier() == null
|
||||
? controlArn
|
||||
: "arn:" + partition + ":controlcatalog:::control/" + definition.globalIdentifier();
|
||||
response.put("Arn", responseArn);
|
||||
response.set("Aliases", stringArray(definition.aliases()));
|
||||
response.put("Name", definition.name());
|
||||
response.put("Description", definition.description());
|
||||
response.put("Behavior", definition.behavior());
|
||||
response.put("Severity", definition.severity());
|
||||
|
||||
ObjectNode regionConfiguration = response.putObject("RegionConfiguration");
|
||||
regionConfiguration.put("Scope", definition.scope());
|
||||
if ("REGIONAL".equals(definition.scope())) {
|
||||
String region = requestRegion == null || requestRegion.isBlank() ? "us-east-1" : requestRegion;
|
||||
regionConfiguration.set("DeployableRegions", stringArray(List.of(region)));
|
||||
}
|
||||
|
||||
ObjectNode implementation = response.putObject("Implementation");
|
||||
implementation.put("Type", definition.implementationType());
|
||||
if (!definition.aliases().isEmpty()) {
|
||||
implementation.put("Identifier", definition.aliases().getFirst());
|
||||
}
|
||||
response.put("ParameterRequirementSummary", definition.parameters().isEmpty() ? "NONE" : "OPTIONAL");
|
||||
ArrayNode parameters = response.putArray("Parameters");
|
||||
for (String parameter : definition.parameters()) {
|
||||
ObjectNode item = parameters.addObject();
|
||||
item.put("Name", parameter);
|
||||
item.put("Requirement", "OPTIONAL");
|
||||
}
|
||||
response.set("GovernedResources", objectMapper.createArrayNode());
|
||||
response.set("GovernedProviders", stringArray(List.of("AWS")));
|
||||
return response;
|
||||
}
|
||||
|
||||
public ObjectNode listControls(JsonNode request, String maxResultsRaw, String nextToken) {
|
||||
ensureDefaults();
|
||||
int maxResults = parseMaxResults(maxResultsRaw);
|
||||
int offset = parseNextToken(nextToken);
|
||||
String implementationType = null;
|
||||
String implementationIdentifier = null;
|
||||
String governedProvider = null;
|
||||
JsonNode filter = request == null ? null : request.get("Filter");
|
||||
if (filter != null && !filter.isNull()) {
|
||||
if (!filter.isObject()) {
|
||||
throw validation("Filter must be a JSON object.");
|
||||
}
|
||||
JsonNode implementations = filter.get("Implementations");
|
||||
if (implementations != null && !implementations.isNull()) {
|
||||
if (!implementations.isObject()) {
|
||||
throw validation("Filter.Implementations must be an object.");
|
||||
}
|
||||
implementationType = singleFilterValue(implementations.get("Types"),
|
||||
"Filter.Implementations.Types", Pattern.compile("[A-Za-z0-9]+(::[A-Za-z0-9_]+){2,3}"));
|
||||
implementationIdentifier = singleFilterValue(implementations.get("Identifiers"),
|
||||
"Filter.Implementations.Identifiers", Pattern.compile("[a-zA-Z0-9_.-]+"));
|
||||
}
|
||||
governedProvider = singleFilterValue(filter.get("GovernedProviders"),
|
||||
"Filter.GovernedProviders", Pattern.compile("[A-Z]{2,64}"));
|
||||
}
|
||||
|
||||
final String typeFilter = implementationType;
|
||||
final String identifierFilter = implementationIdentifier;
|
||||
final String providerFilter = governedProvider;
|
||||
List<ControlDefinition> definitions = controls.scanForAccount(GLOBAL_PARTITION, key -> true).stream()
|
||||
.filter(definition -> definition.globalIdentifier() != null)
|
||||
.filter(definition -> typeFilter == null || typeFilter.equals(definition.implementationType()))
|
||||
.filter(definition -> identifierFilter == null || definition.aliases().contains(identifierFilter))
|
||||
.filter(definition -> providerFilter == null || "AWS".equals(providerFilter))
|
||||
.distinct()
|
||||
.sorted(java.util.Comparator.comparing(ControlDefinition::globalIdentifier))
|
||||
.toList();
|
||||
if (offset > definitions.size()) {
|
||||
throw validation("nextToken is invalid.");
|
||||
}
|
||||
int end = Math.min(definitions.size(), offset + maxResults);
|
||||
ObjectNode response = objectMapper.createObjectNode();
|
||||
ArrayNode controls = response.putArray("Controls");
|
||||
for (ControlDefinition definition : definitions.subList(offset, end)) {
|
||||
ObjectNode item = controls.addObject();
|
||||
item.put("Arn", "arn:aws:controlcatalog:::control/" + definition.globalIdentifier());
|
||||
item.set("Aliases", stringArray(definition.aliases()));
|
||||
item.put("Name", definition.name());
|
||||
item.put("Description", definition.description());
|
||||
item.put("Behavior", definition.behavior());
|
||||
item.put("Severity", definition.severity());
|
||||
ObjectNode implementation = item.putObject("Implementation");
|
||||
implementation.put("Type", definition.implementationType());
|
||||
if (!definition.aliases().isEmpty()) {
|
||||
implementation.put("Identifier", definition.aliases().getFirst());
|
||||
}
|
||||
item.put("ParameterRequirementSummary", definition.parameters().isEmpty() ? "NONE" : "OPTIONAL");
|
||||
item.set("GovernedResources", objectMapper.createArrayNode());
|
||||
item.set("GovernedProviders", stringArray(List.of("AWS")));
|
||||
}
|
||||
if (end < definitions.size()) {
|
||||
response.put("NextToken", Integer.toString(end));
|
||||
}
|
||||
return response;
|
||||
}
|
||||
|
||||
@Override
|
||||
public synchronized void clear() {
|
||||
controls.clear();
|
||||
defaultsSeeded = false;
|
||||
}
|
||||
|
||||
private void ensureDefaults() {
|
||||
if (defaultsSeeded) {
|
||||
return;
|
||||
}
|
||||
synchronized (this) {
|
||||
if (defaultsSeeded) {
|
||||
return;
|
||||
}
|
||||
controls().forEach((key, definition) ->
|
||||
controls.putForAccount(GLOBAL_PARTITION, key, definition));
|
||||
defaultsSeeded = true;
|
||||
}
|
||||
}
|
||||
|
||||
private static String singleFilterValue(JsonNode node, String field, Pattern pattern) {
|
||||
if (node == null || node.isNull()) {
|
||||
return null;
|
||||
}
|
||||
if (!node.isArray() || node.size() != 1 || !node.get(0).isTextual()) {
|
||||
throw validation(field + " must contain exactly one string value.");
|
||||
}
|
||||
String value = node.get(0).textValue();
|
||||
if (!pattern.matcher(value).matches()) {
|
||||
throw validation(field + " contains an invalid value.");
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
private static int parseMaxResults(String raw) {
|
||||
if (raw == null || raw.isBlank()) {
|
||||
return 100;
|
||||
}
|
||||
try {
|
||||
int value = Integer.parseInt(raw);
|
||||
if (value < 1 || value > 100) {
|
||||
throw new NumberFormatException();
|
||||
}
|
||||
return value;
|
||||
} catch (NumberFormatException e) {
|
||||
throw validation("maxResults must be between 1 and 100.");
|
||||
}
|
||||
}
|
||||
|
||||
private static int parseNextToken(String raw) {
|
||||
if (raw == null || raw.isBlank()) {
|
||||
return 0;
|
||||
}
|
||||
try {
|
||||
int value = Integer.parseInt(raw);
|
||||
if (value < 0) {
|
||||
throw new NumberFormatException();
|
||||
}
|
||||
return value;
|
||||
} catch (NumberFormatException e) {
|
||||
throw validation("nextToken is invalid.");
|
||||
}
|
||||
}
|
||||
|
||||
private String requireControlArn(JsonNode request) {
|
||||
JsonNode value = request == null ? null : request.get("ControlArn");
|
||||
if (value == null || !value.isTextual() || value.textValue().isBlank()) {
|
||||
throw validation("ControlArn is required.");
|
||||
}
|
||||
String controlArn = value.textValue();
|
||||
if (controlArn.length() < 34 || controlArn.length() > 2048) {
|
||||
throw validation("ControlArn must be between 34 and 2048 characters.");
|
||||
}
|
||||
return controlArn;
|
||||
}
|
||||
|
||||
private ArrayNode stringArray(List<String> values) {
|
||||
ArrayNode array = objectMapper.createArrayNode();
|
||||
values.forEach(array::add);
|
||||
return array;
|
||||
}
|
||||
|
||||
private static AwsException validation(String message) {
|
||||
return new AwsException("ValidationException", message, 400);
|
||||
}
|
||||
|
||||
private static Map<String, ControlDefinition> controls() {
|
||||
Map<String, ControlDefinition> controls = new LinkedHashMap<>();
|
||||
|
||||
register(controls, new ControlDefinition(
|
||||
"7oo9e9bcs8ilm6ekoxu322yb3", List.of("CT.S3.PV.4"),
|
||||
"Require organization-only access to Amazon S3 resources",
|
||||
"Requires Amazon S3 resources in the organization to be accessed only by principals in the organization or AWS services.",
|
||||
"PREVENTIVE", "HIGH", "GLOBAL", RCP, List.of("ExemptedPrincipalArns")));
|
||||
register(controls, new ControlDefinition(
|
||||
"7mo7a2h2ebsq71l8k6uzr96ou", List.of("CT.S3.PV.5"),
|
||||
"Require encryption in transit for Amazon S3",
|
||||
"Requires calls to Amazon S3 resources to use secure transport.",
|
||||
"PREVENTIVE", "HIGH", "GLOBAL", RCP, List.of("ExemptedPrincipalArns")));
|
||||
register(controls, new ControlDefinition(
|
||||
"dvhe47fxg5o6lryqrq9g6sxg4", List.of("CT.SECRETSMANAGER.PV.1"),
|
||||
"Require organization-only access to AWS Secrets Manager resources",
|
||||
"Requires AWS Secrets Manager resources to be accessed only by principals in the organization or AWS services.",
|
||||
"PREVENTIVE", "HIGH", "GLOBAL", RCP, List.of("ExemptedPrincipalArns")));
|
||||
register(controls, new ControlDefinition(
|
||||
"eolw7feyvr8b4l2lfhp3bneou", List.of("CT.KMS.PV.7"),
|
||||
"Require organization-only access to AWS KMS resources",
|
||||
"Requires AWS KMS resources to be accessed only by principals in the organization or AWS services.",
|
||||
"PREVENTIVE", "HIGH", "GLOBAL", RCP, List.of("ExemptedPrincipalArns")));
|
||||
register(controls, new ControlDefinition(
|
||||
"aqnqv7jjgi2dtl6r1v12xglio", List.of("CT.STS.PV.1"),
|
||||
"Require organization-only access to AWS STS resources",
|
||||
"Requires supported AWS STS resources to be accessed only by principals in the organization or AWS services.",
|
||||
"PREVENTIVE", "HIGH", "GLOBAL", RCP, List.of("ExemptedPrincipalArns")));
|
||||
|
||||
registerLegacy(controls, "AWS-GR_RESTRICT_ROOT_USER_ACCESS_KEYS",
|
||||
"Disallow creation of access keys for the root user", "PREVENTIVE", SCP,
|
||||
List.of("ExemptedPrincipalArns"));
|
||||
registerLegacy(controls, "AWS-GR_RESTRICT_ROOT_USER",
|
||||
"Disallow actions as the root user", "PREVENTIVE", SCP,
|
||||
List.of("ExemptedPrincipalArns", "ExemptAssumeRoot"));
|
||||
|
||||
registerLegacyConfig(controls, "AWS-GR_ENCRYPTED_VOLUMES", "Detect whether EBS volumes are encrypted");
|
||||
controls.put("503uicglhjkokaajywfpt6ros", new ControlDefinition(
|
||||
"503uicglhjkokaajywfpt6ros", List.of("AWS-GR_ENCRYPTED_VOLUMES"),
|
||||
"Detect whether EBS volumes are encrypted", "Detects unencrypted Amazon EBS volumes.",
|
||||
"DETECTIVE", "HIGH", "REGIONAL", CONFIG_RULE, List.of()));
|
||||
registerLegacyConfig(controls, "AWS-GR_RESTRICTED_COMMON_PORTS", "Detect unrestricted access to common ports");
|
||||
registerLegacyConfig(controls, "AWS-GR_RESTRICTED_SSH", "Detect unrestricted SSH access");
|
||||
registerLegacyConfig(controls, "AWS-GR_ROOT_ACCOUNT_MFA_ENABLED", "Detect whether root user MFA is enabled");
|
||||
registerLegacyConfig(controls, "AWS-GR_S3_BUCKET_PUBLIC_READ_PROHIBITED", "Detect public read access to Amazon S3 buckets");
|
||||
registerLegacyConfig(controls, "AWS-GR_S3_BUCKET_PUBLIC_WRITE_PROHIBITED", "Detect public write access to Amazon S3 buckets");
|
||||
registerLegacyConfig(controls, "AWS-GR_EC2_VOLUME_INUSE_CHECK", "Detect unattached Amazon EBS volumes");
|
||||
registerLegacyConfig(controls, "AWS-GR_EBS_OPTIMIZED_INSTANCE", "Detect EC2 instances that are not EBS optimized");
|
||||
registerLegacyConfig(controls, "AWS-GR_RDS_INSTANCE_PUBLIC_ACCESS_CHECK", "Detect publicly accessible Amazon RDS instances");
|
||||
registerLegacyConfig(controls, "AWS-GR_RDS_SNAPSHOTS_PUBLIC_PROHIBITED", "Detect public Amazon RDS snapshots");
|
||||
registerLegacyConfig(controls, "AWS-GR_RDS_STORAGE_ENCRYPTED", "Detect unencrypted Amazon RDS storage");
|
||||
registerLegacyConfig(controls, "AWS-GR_DETECT_CLOUDTRAIL_ENABLED_ON_MEMBER_ACCOUNTS", "Detect whether CloudTrail is enabled in member accounts");
|
||||
|
||||
return Map.copyOf(controls);
|
||||
}
|
||||
|
||||
private static void register(Map<String, ControlDefinition> controls, ControlDefinition definition) {
|
||||
controls.put(definition.globalIdentifier(), definition);
|
||||
}
|
||||
|
||||
private static void registerLegacy(Map<String, ControlDefinition> controls, String alias, String name,
|
||||
String behavior, String implementationType, List<String> parameters) {
|
||||
controls.put(alias, new ControlDefinition(null, List.of(alias), name, name + ".",
|
||||
behavior, "HIGH", "GLOBAL", implementationType, parameters));
|
||||
}
|
||||
|
||||
private static void registerLegacyConfig(Map<String, ControlDefinition> controls, String alias, String name) {
|
||||
controls.put(alias, new ControlDefinition(null, List.of(alias), name, name + ".",
|
||||
"DETECTIVE", "HIGH", "REGIONAL", CONFIG_RULE, List.of()));
|
||||
}
|
||||
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
package io.github.hectorvent.floci.services.controlcatalog.model;
|
||||
|
||||
import io.quarkus.runtime.annotations.RegisterForReflection;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@RegisterForReflection
|
||||
public record ControlDefinition(
|
||||
String globalIdentifier,
|
||||
List<String> aliases,
|
||||
String name,
|
||||
String description,
|
||||
String behavior,
|
||||
String severity,
|
||||
String scope,
|
||||
String implementationType,
|
||||
List<String> parameters) {
|
||||
}
|
||||
Reference in new issue
Block a user