Connectors
...
Actions
Access Layer - Create
6 min
description creates a new access layer in check point r80 using the specified name from the json body input endpoint url /web api/add access layer method post inputs json body (object) – required json body name (string) – required object name must be unique in the domain add default rule (boolean) indicates whether to include a cleanup rule in the new layer applications and url filtering (boolean) whether to enable applications & url filtering blade on the layer content awareness (boolean) whether to enable content awareness blade on the layer detect using x forward for (boolean) whether to use x forward for http header, which is added by the proxy server to keep track of the original source ip firewall (boolean) whether to enable firewall blade on the layer implicit cleanup action (string) the default "catch all" action for traffic that does not match any explicit or implied rules in the layer valid values are "drop" or "accept" mobile access (boolean) whether to enable mobile access blade on the layer shared (boolean) whether this layer is shared tags (array) collection of tag identifiers color (string) color of the object should be one of aquamarine, black, blue, crete blue, burlywood, cyan, dark green, khaki, orchid, dark orange, dark sea green, pink, turquoise, dark blue, firebrick, brown, forest green, gold, dark gold, gray, dark gray, light green, lemon chiffon, coral, sea green, sky blue, magenta, purple, slate blue, violet red, navy blue, olive, orange, red, sienna, yellow comments (string) comments string details level (string) the level of detail for some of the fields in the response can vary from showing only the uid value of the object to a fully detailed representation of the object valid values are "uid", "standard", "full" ignore warnings (boolean) apply changes ignoring warnings ignore errors (boolean) apply changes ignoring errors you won't be able to publish such a changes if ignore warnings flag was omitted warnings will also be ignored output example \[ { "status code" 200, "response headers" { "date" "tue, 27 dec 2022 13 47 48 gmt", "server" "cpws", "strict transport security" "max age=31536000; includesubdomains", "x frame options" "sameorigin", "content type" "application/json", "x ua compatible" "ie=emulateie8", "x forwarded host port" "443", "keep alive" "timeout=15, max=99", "connection" "keep alive", "transfer encoding" "chunked" }, "reason" "ok", "json body" { "uid" "a40b877c b723 4b0b ac91 cab00bb40f06", "name" "hernan test rule 1", "type" "access layer", "domain" { "uid" "41e821a0 3720 11e3 aa6e 0800200c9fde", "name" "smc user", "domain type" "domain" }, "shared" false, "applications and url filtering" true, "content awareness" true, "mobile access" true, "detect using x forward for" false, "firewall" true, "implicit cleanup action" "drop", "comments" "this is a comment for a rule", "color" "purple", "icon" "applicationfirewall/rulebase", "tags" \[ { "uid" "08cdbabc 728b 4a7c 9c71 d92a559eb8fa", "name" "a", "type" "tag", "domain" { "uid" "41e821a0 3720 11e3 aa6e 0800200c9fde", "name" "smc user", "domain type" "domain" } }, { "uid" "7da31f05 7833 480a b0c9 af58dc321e10", "name" "is", "type" "tag", "domain" { "uid" "41e821a0 3720 11e3 aa6e 0800200c9fde", "name" "smc user", "domain type" "domain" } }, { "uid" "e684296c c756 4e51 864c 844cdc99764b", "name" "this", "type" "tag", "domain" { "uid" "41e821a0 3720 11e3 aa6e 0800200c9fde", "name" "smc user", "domain type" "domain" } }, { "uid" "b9f9390d d761 431b 82d6 a5191c4a1316", "name" "test", "type" "tag", "domain" { "uid" "41e821a0 3720 11e3 aa6e 0800200c9fde", "name" "smc user", "domain type" "domain" } } ], "meta info" { "lock" "locked by current session", "validation state" "ok", "last modify time" { "posix" 1672148868674, "iso 8601" "2022 12 27t06 47 0700" }, "last modifier" "admin", "creation time" { "posix" 1672148865533, "iso 8601" "2022 12 27t06 47 0700" }, "creator" "admin" }, "read only" false } } ] output parameters status code (number) reason (string) json body (object) uid (string) name (string) type (string) domain (object) uid (string) name (string) domain type (string) shared (boolean) applications and url filtering (boolean) content awareness (boolean) mobile access (boolean) detect using x forward for (boolean) firewall (boolean) implicit cleanup action (string) comments (string) color (string) icon (string) tags (array) uid (string) name (string) type (string) domain (object) uid (string) name (string) domain type (string) meta info (object) lock (string) validation state (string) last modify time (object) posix (number) iso 8601 (string) last modifier (string) creation time (object) posix (number) iso 8601 (string) creator (string) read only (boolean) response headers header type date string server string strict transport security string x frame options string content type string x ua compatible string x forwarded host port string keep alive string connection string transfer encoding string