{ "info": { "_postman_id": "70b682b6-ce24-4b0e-a5f0-4317f2c5f898", "name": "solution6-create", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { "name": "Cert to Kerb Policy", "item": [ { "name": "bigip-Test AS3 is running", "event": [ { "listen": "test", "script": { "id": "b070f46c-d121-40f1-ae7f-ccf8aa985c64", "exec": [ "", "if (responseCode.code === 200) {", "pm.collectionVariables.set('PRIOR_RESPONSE', 'OK' );", "}", "", "", "pm.test(\"AS3 is running\", function () {", " pm.response.to.have.status(200);", "});", "", "", "" ], "type": "text/javascript" } }, { "listen": "prerequest", "script": { "id": "a963f525-84c0-42e4-aa8d-505f84e0ffcc", "exec": [ "pm.collectionVariables.set(\"DNS1_NAME\", \"solution6.acme.com\");\r", "pm.collectionVariables.set(\"VS1_NAME\", \"solution6\");\r", "pm.collectionVariables.set(\"PATH_NAME\", \"solution6\");\r", "pm.collectionVariables.set(\"PARTITION_NAME\", \"solution6\");\r", "\r", "pm.collectionVariables.set(\"CUSTOM_TYPE\", \"modern\");\r", "\r", "var COUNTER = pm.collectionVariables.get(\"COUNTER\");\r", "var DC2_APM = pm.environment.get(\"DC2_APM\");\r", "\r", "\r", "if (DC2_APM === 'true' && COUNTER === '2') {\r", "pm.collectionVariables.set(\"BIGIP_MGMT\", \"10.1.1.5\");\r", "pm.collectionVariables.set(\"BIGIP_SCOPE\", pm.environment.get(\"BIGIP2_SCOPE\"));\r", "\r", "} else {\r", "pm.collectionVariables.set(\"BIGIP_MGMT\", \"10.1.1.4\");\r", "pm.collectionVariables.set(\"BIGIP_SCOPE\", pm.environment.get(\"BIGIP1_SCOPE\"));\r", "pm.collectionVariables.set('COUNTER', '1' );\r", "\r", "}\r", "\r", "\r", "\r", "\r", "\r", "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "https://{{BIGIP_MGMT}}/mgmt/shared/appsvcs/info", "protocol": "https", "host": [ "{{BIGIP_MGMT}}" ], "path": [ "mgmt", "shared", "appsvcs", "info" ] } }, "response": [] }, { "name": "bigip-Import ca.f5lab.local cert", "event": [ { "listen": "test", "script": { "id": "86be81db-da75-4ea9-8c32-d2ec2d47c3d9", "exec": [ "" ], "type": "text/javascript" } }, { "listen": "prerequest", "script": { "id": "0180dabd-ad92-4dc7-a7d7-a6181562323b", "exec": [ "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "type": "text", "value": "application/octet-stream" }, { "key": "X-F5-REST-Coordination-Id", "type": "text", "value": "", "disabled": true }, { "key": "Content-Range", "value": "0-1263/1264", "type": "text" }, { "key": "Content-Length", "value": "1264", "type": "text" }, { "key": "Connection", "value": "Keep-alive", "type": "text" } ], "body": { "mode": "raw", "raw": "-----BEGIN CERTIFICATE-----\r\nMIIDazCCAlOgAwIBAgIQJ4DA+pop3K9HGUl4CIxjbjANBgkqhkiG9w0BAQsFADBI\r\nMRUwEwYKCZImiZPyLGQBGRYFbG9jYWwxFTATBgoJkiaJk/IsZAEZFgVmNWxhYjEY\r\nMBYGA1UEAxMPZGMxLmY1bGFiLmxvY2FsMB4XDTE5MTEyMDIyMDc0NVoXDTI5MTEy\r\nMDIyMTc0NVowSDEVMBMGCgmSJomT8ixkARkWBWxvY2FsMRUwEwYKCZImiZPyLGQB\r\nGRYFZjVsYWIxGDAWBgNVBAMTD2RjMS5mNWxhYi5sb2NhbDCCASIwDQYJKoZIhvcN\r\nAQEBBQADggEPADCCAQoCggEBANOejxrkrJD12YIeEkZNjRZ9/OZwFeX+QhVi1uHL\r\niILP+4+3ZiZ/dhVGQLncDfHlJm5hSXpzMMDK+LxmjnWfBcx8xurgDyL6E80ZTnIP\r\nBbVJ6Au2IWFXM62NK/qsE+5IF0ptAYzDiWjj75njoVQygMNkdWEPxu1N+Ar7WAR4\r\n5xghN2wE7d57iCZ53RmrIeGT6equiihns5nUssoOFh/ny9oR6+yudINlozllHhMB\r\nGRDCEeGC/0mY/LF50hP6vwEbl1ub0J1SlqlvTn3rrX7dumvtjSKxfQipwbCpG8Qz\r\nGi7ZsSe78Xg7VIGtDVk0Vh4+PbHVJ6GB8pUmFpQ4vVa6sY0CAwEAAaNRME8wCwYD\r\nVR0PBAQDAgGGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFNhpUMHsIixtS9g6\r\ny/FyNrayg9V6MBAGCSsGAQQBgjcVAQQDAgEAMA0GCSqGSIb3DQEBCwUAA4IBAQCr\r\nEjJWFyZR3VFoIvZxUztGiWSjELJGD0vH42hONh6GrzxHadhZcQFmQsi4SmS9TUhP\r\nqyj+mUzreWziMcogqTYisSmF6h/cyAujdnLPbR//spGSOvLlV+43P57FmpQ+c+bB\r\nV8CJq3e0uvxt2h/9v5Du20fE/Zb6iPESMSjzhEoCPosozELpEqwKTzwGLsyqgLSN\r\nWW/+Ov+DGr+cE8pHsXZy8yhkbDY5wrbHMCyrRuXFXwYLpoMcUKMOWUCq+K3TSQ2A\r\nmGUtzY3KMfC7YCJj+mrCniWmvncryUpkY3hPplglevWAFQx4hslOU618gt4IpBXy\r\nLlIC0DqyAVMHJqF7WozV\r\n-----END CERTIFICATE-----\r\n" }, "url": { "raw": "https://{{BIGIP_MGMT}}/mgmt/shared/file-transfer/uploads/ca.f5lab.local.crt", "protocol": "https", "host": [ "{{BIGIP_MGMT}}" ], "path": [ "mgmt", "shared", "file-transfer", "uploads", "ca.f5lab.local.crt" ] } }, "response": [] }, { "name": "bigip-Install ca.f5lab.local cert", "event": [ { "listen": "test", "script": { "id": "f4043432-e960-4dbc-aaa7-48462e6af141", "exec": [ "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "type": "text", "value": "application/json" }, { "key": "X-F5-REST-Coordination-Id", "type": "text", "value": "", "disabled": true }, { "key": "Content-Range", "value": "0-1321/1322", "type": "text", "disabled": true } ], "body": { "mode": "raw", "raw": "{\n\t\"command\":\"install\",\n\t\"name\":\"ca.f5lab.local\",\n\t\"from-local-file\":\"/var/config/rest/downloads/ca.f5lab.local.crt\"\n\t\n}" }, "url": { "raw": "https://{{BIGIP_MGMT}}/mgmt/tm/sys/crypto/cert", "protocol": "https", "host": [ "{{BIGIP_MGMT}}" ], "path": [ "mgmt", "tm", "sys", "crypto", "cert" ] } }, "response": [] }, { "name": "bigip- create kerberos SSO profile", "event": [ { "listen": "test", "script": { "id": "1a6cf35e-163a-4160-a33b-4b0f9161bc5e", "exec": [ "", "var jsonData = JSON.parse(responseBody);", "pm.collectionVariables.set(\"TRANSID\", jsonData.transId);", "", "" ], "type": "text/javascript" } }, { "listen": "prerequest", "script": { "id": "b137d689-57bc-427d-80d9-d04b2dc14d40", "exec": [ "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"{{VS1_NAME}}-kerbsso\",\n \"partition\": \"Common\",\n \"accountName\": \"HOST/{{VS1_NAME}}.f5lab.local\",\n \"accountPassword\": \"{{VS1_NAME}}\",\n \"locationSpecific\": \"false\",\n \"realm\": \"F5LAB.LOCAL\",\n \"sendAuthorization\": \"401\",\n \"spnPattern\": \"HTTP/{{VS1_NAME}}.acme.com\",\n \"ticketLifetime\": 600,\n \"upnSupport\": \"disabled\",\n \"userRealmSource\": \"session.logon.last.domain\",\n \"usernameSource\": \"session.logon.last.username\"\n}" }, "url": { "raw": "https://{{BIGIP_MGMT}}/mgmt/tm/apm/sso/kerberos/", "protocol": "https", "host": [ "{{BIGIP_MGMT}}" ], "path": [ "mgmt", "tm", "apm", "sso", "kerberos", "" ] } }, "response": [] }, { "name": "bigip-create-OCSP Servers", "event": [ { "listen": "test", "script": { "id": "02f5c185-ff3b-4c11-873d-2ac36c3ac7c3", "exec": [ "", "var jsonData = JSON.parse(responseBody);", "pm.collectionVariables.set(\"TRANSID\", jsonData.transId);", "", "" ], "type": "text/javascript" } }, { "listen": "prerequest", "script": { "id": "b2dff272-8de8-429c-a756-ceb31937f864", "exec": [ "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \n \"name\": \"{{VS1_NAME}}-ocsp-servers\",\n \"partition\": \"Common\",\n \"allowCerts\": \"true\",\n \"caFile\": \"/Common/ca.f5lab.local\",\n \"caPath\": \"/ocsp\",\n \"certIdDigest\": \"sha1\",\n \"chain\": \"true\",\n \"checkCerts\": \"true\",\n \"explicitOcsp\": \"true\",\n \"ignoreAia\": \"false\",\n \"intern\": \"true\",\n \"locationSpecific\": \"true\",\n \"nonce\": \"false\",\n \"signDigest\": \"sha1\",\n \"statusAge\": 0,\n \"trustOther\": \"false\",\n \"url\": \"http://dc1.f5lab.local\",\n \"validityPeriod\": 300,\n \"verify\": \"true\",\n \"verifyCert\": \"true\",\n \"verifySig\": \"true\"\n}" }, "url": { "raw": "https://{{BIGIP_MGMT}}/mgmt/tm/apm/aaa/ocsp", "protocol": "https", "host": [ "{{BIGIP_MGMT}}" ], "path": [ "mgmt", "tm", "apm", "aaa", "ocsp" ] } }, "response": [] }, { "name": "bigip-Create node 10.1.20.7", "event": [ { "listen": "prerequest", "script": { "id": "598e172c-7be0-48c9-801e-6d9e7b34206e", "exec": [ "", "var PRIOR_RESPONSE = pm.collectionVariables.get(\"PRIOR_RESPONSE\");", "", "if (PRIOR_RESPONSE === 'OK') {", "", "}" ], "type": "text/javascript" } }, { "listen": "test", "script": { "id": "50f4c337-d97e-492c-96c3-b4514470c0e3", "exec": [ "if (responseCode.code === 200) {", "pm.collectionVariables.set('PRIOR_RESPONSE', 'OK' );", "pm.test(\"Node Created\", function () {", " pm.response.to.have.status(200);", "});", "} else ", "pm.test(\"Node Exists\", function () {", " pm.response.to.have.status(409);", "});" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\r\n\"name\": \"10.1.20.7\",\r\n\"address\": \"10.1.20.7\"\r\n}" }, "url": { "raw": "https://{{BIGIP_MGMT}}/mgmt/tm/ltm/node", "protocol": "https", "host": [ "{{BIGIP_MGMT}}" ], "path": [ "mgmt", "tm", "ltm", "node" ] } }, "response": [] }, { "name": "bigip-create-LDAP Server Pool", "event": [ { "listen": "test", "script": { "id": "844d0562-6650-4f68-b5fd-17cb1e043acd", "exec": [ "if (responseCode.code === 200) {", "pm.collectionVariables.set('PRIOR_RESPONSE', 'OK' );", "pm.test(\"Pool Created\", function () {", " pm.response.to.have.status(200);", "});", "} else ", "pm.test(\"Pool Exists\", function () {", " pm.response.to.have.status(409);", "});", "", "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "\n{\n\t\"name\":\"{{VS1_NAME}}-ldap-pool\",\n\t\"members\":[\n\t\t{\n\t\t\"name\":\"10.1.20.7:0\",\n\t\t\"address\":\"10.1.20.7\",\n\t\t\"monitor\": \"/Common/gateway_icmp\"\n\t\t\t\n\t\t}\n\t\t]\n}" }, "url": { "raw": "https://{{BIGIP_MGMT}}/mgmt/tm/ltm/pool/", "protocol": "https", "host": [ "{{BIGIP_MGMT}}" ], "path": [ "mgmt", "tm", "ltm", "pool", "" ] } }, "response": [] }, { "name": "bigip-Create-APM AAA LDAP", "event": [ { "listen": "test", "script": { "id": "6657abdd-81b4-4e72-8dca-10da24991d77", "exec": [ "if (responseCode.code === 200) {", "pm.collectionVariables.set('PRIOR_RESPONSE', 'OK' );", "pm.test(\"APM AAA AD Object Created\", function () {", " pm.response.to.have.status(200);", "});", "} else ", "pm.test(\"APM AAA AD Object Exists\", function () {", " pm.response.to.have.status(409);", "});", "", "" ], "type": "text/javascript" } }, { "listen": "prerequest", "script": { "id": "cb5e1aac-d3d8-4745-930c-6f1975674b1b", "exec": [ "", "var PRIOR_RESPONSE = pm.collectionVariables.get(\"PRIOR_RESPONSE\");", "", "if (PRIOR_RESPONSE === 'OK') {", "", "}" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\r\n \"name\": \"{{VS1_NAME}}-ldap-servers\",\r\n \"partition\": \"Common\",\r\n \"address\": \"any6\",\r\n \"adminDn\": \"CN=Admin,CN=Users,DC=f5lab,DC=local\",\r\n \"adminEncryptedPassword\": \"admin\",\r\n \"cleanupCache\": \"none\",\r\n \"groupCacheTtl\": 30,\r\n \"isLdaps\": \"false\",\r\n \"locationSpecific\": \"true\",\r\n \"pool\": \"/Common/{{VS1_NAME}}-ldap-pool\",\r\n \"port\": 389,\r\n \"schemaAttr\": {\r\n \"groupMember\": \"member\",\r\n \"groupMemberValue\": \"dn\",\r\n \"groupMemberof\": \"memberOf\",\r\n \"groupObjectClass\": \"group\",\r\n \"userMemberof\": \"memberOf\",\r\n \"userObjectClass\": \"user\"\r\n },\r\n \"timeout\": 15,\r\n \"usePool\": \"enabled\"\r\n }" }, "url": { "raw": "https://{{BIGIP_MGMT}}/mgmt/tm/apm/aaa/ldap/", "protocol": "https", "host": [ "{{BIGIP_MGMT}}" ], "path": [ "mgmt", "tm", "apm", "aaa", "ldap", "" ] } }, "response": [] }, { "name": "bigip- create transaction", "event": [ { "listen": "test", "script": { "id": "a1f905a6-8700-4f97-a464-c7318dd8f8a5", "exec": [ "", "var jsonData = JSON.parse(responseBody);", "pm.collectionVariables.set(\"TRANSID\", jsonData.transId);", "", "" ], "type": "text/javascript" } }, { "listen": "prerequest", "script": { "id": "c5b87b02-83c5-4b45-bd89-8dfd1287bc1e", "exec": [ "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n\t\n}" }, "url": { "raw": "https://{{BIGIP_MGMT}}/mgmt/tm/transaction", "protocol": "https", "host": [ "{{BIGIP_MGMT}}" ], "path": [ "mgmt", "tm", "transaction" ] } }, "response": [] }, { "name": "bigip- create-customization group-end deny", "event": [ { "listen": "test", "script": { "id": "3624c3d5-fbd1-4caa-ac86-00e10bf2e765", "exec": [ "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "type": "text", "value": "application/json" }, { "key": "X-F5-REST-Coordination-Id", "type": "text", "value": "{{TRANSID}}" } ], "body": { "mode": "raw", "raw": "{\r\n\r\n \"name\": \"{{VS1_NAME}}-psp_end_deny_ag\",\r\n \"partition\": \"Common\",\r\n \"source\": \"/Common/{{CUSTOM_TYPE}}\",\r\n \"type\": \"logout\"\r\n \r\n}" }, "url": { "raw": "https://{{BIGIP_MGMT}}/mgmt/tm/apm/policy/customization-group", "protocol": "https", "host": [ "{{BIGIP_MGMT}}" ], "path": [ "mgmt", "tm", "apm", "policy", "customization-group" ] } }, "response": [] }, { "name": "bigip- create-customization group-logout", "event": [ { "listen": "test", "script": { "id": "a7c2fbcc-1fea-4b31-a80e-d4feddb1ff14", "exec": [ "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "type": "text", "value": "application/json" }, { "key": "X-F5-REST-Coordination-Id", "type": "text", "value": "{{TRANSID}}" } ], "body": { "mode": "raw", "raw": "{\r\n \"name\": \"{{VS1_NAME}}-psp_logout\",\r\n \"partition\": \"Common\",\r\n \"source\": \"/Common/{{CUSTOM_TYPE}}\",\r\n \"type\": \"logout\"\r\n}" }, "url": { "raw": "https://{{BIGIP_MGMT}}/mgmt/tm/apm/policy/customization-group", "protocol": "https", "host": [ "{{BIGIP_MGMT}}" ], "path": [ "mgmt", "tm", "apm", "policy", "customization-group" ] } }, "response": [] }, { "name": "bigip- create-customization group-eps", "event": [ { "listen": "test", "script": { "id": "7b5bdd4e-bcd0-40ed-a35a-d85778035207", "exec": [ "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "type": "text", "value": "application/json" }, { "key": "X-F5-REST-Coordination-Id", "type": "text", "value": "{{TRANSID}}" } ], "body": { "mode": "raw", "raw": "{\r\n\r\n \"name\": \"{{VS1_NAME}}-psp_eps\",\r\n \"partition\": \"Common\",\r\n \"source\": \"/Common/{{CUSTOM_TYPE}}\",\r\n \"type\": \"eps\"\r\n \r\n}" }, "url": { "raw": "https://{{BIGIP_MGMT}}/mgmt/tm/apm/policy/customization-group", "protocol": "https", "host": [ "{{BIGIP_MGMT}}" ], "path": [ "mgmt", "tm", "apm", "policy", "customization-group" ] } }, "response": [] }, { "name": "bigip- create-customization group-error map", "event": [ { "listen": "test", "script": { "id": "731f80d0-ae85-468d-9a17-e6ccab863dd9", "exec": [ "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "type": "text", "value": "application/json" }, { "key": "X-F5-REST-Coordination-Id", "type": "text", "value": "{{TRANSID}}" } ], "body": { "mode": "raw", "raw": "{\r\n\r\n \"name\": \"{{VS1_NAME}}-psp_errormap\",\r\n \"partition\": \"Common\",\r\n \"source\": \"/Common/{{CUSTOM_TYPE}}\",\r\n \"type\": \"errormap\"\r\n}" }, "url": { "raw": "https://{{BIGIP_MGMT}}/mgmt/tm/apm/policy/customization-group", "protocol": "https", "host": [ "{{BIGIP_MGMT}}" ], "path": [ "mgmt", "tm", "apm", "policy", "customization-group" ] } }, "response": [] }, { "name": "bigip- create-customization group-framework", "event": [ { "listen": "test", "script": { "id": "70fe01f5-e6d4-423d-ae82-cc60688dd8c6", "exec": [ "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "type": "text", "value": "application/json" }, { "key": "X-F5-REST-Coordination-Id", "type": "text", "value": "{{TRANSID}}" } ], "body": { "mode": "raw", "raw": "{\r\n \r\n \"name\": \"{{VS1_NAME}}-psp_framework_installation\",\r\n\t \"partition\": \"Common\",\r\n \"source\": \"/Common/{{CUSTOM_TYPE}}\",\r\n \"type\": \"framework-installation\"\r\n \r\n}" }, "url": { "raw": "https://{{BIGIP_MGMT}}/mgmt/tm/apm/policy/customization-group", "protocol": "https", "host": [ "{{BIGIP_MGMT}}" ], "path": [ "mgmt", "tm", "apm", "policy", "customization-group" ] } }, "response": [] }, { "name": "bigip- create-customization group-general ui", "event": [ { "listen": "test", "script": { "id": "465bb2ae-c0cf-443d-af26-d66114e98cb3", "exec": [ "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "type": "text", "value": "application/json" }, { "key": "X-F5-REST-Coordination-Id", "type": "text", "value": "{{TRANSID}}" } ], "body": { "mode": "raw", "raw": "{\r\n\r\n \"name\": \"{{VS1_NAME}}-psp_general_ui\",\r\n \"partition\": \"Common\",\r\n \"source\": \"/Common/{{CUSTOM_TYPE}}\",\r\n \"type\": \"general-ui\"\r\n \r\n}" }, "url": { "raw": "https://{{BIGIP_MGMT}}/mgmt/tm/apm/policy/customization-group", "protocol": "https", "host": [ "{{BIGIP_MGMT}}" ], "path": [ "mgmt", "tm", "apm", "policy", "customization-group" ] } }, "response": [] }, { "name": "bigip-create-agent-allow ending", "event": [ { "listen": "test", "script": { "id": "4d330bee-ea86-4859-8d15-2fd8d0d0326f", "exec": [ "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "type": "text", "value": "application/json" }, { "key": "X-F5-REST-Coordination-Id", "value": "{{TRANSID}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n\"name\": \"{{VS1_NAME}}-psp_end_allow_ag\",\n\"partition\": \"Common\"\n\n}" }, "url": { "raw": "https://{{BIGIP_MGMT}}/mgmt/tm/apm/policy/agent/ending-allow/", "protocol": "https", "host": [ "{{BIGIP_MGMT}}" ], "path": [ "mgmt", "tm", "apm", "policy", "agent", "ending-allow", "" ] } }, "response": [] }, { "name": "bigip-create-agent-deny ending", "event": [ { "listen": "test", "script": { "id": "8070e1e2-a4ae-4b1d-b68a-c07b2f334d95", "exec": [ "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "type": "text", "value": "application/json" }, { "key": "X-F5-REST-Coordination-Id", "type": "text", "value": "{{TRANSID}}" } ], "body": { "mode": "raw", "raw": "{\n\"name\": \"{{VS1_NAME}}-psp_end_deny_ag\",\n\"partition\": \"Common\",\n\"customizationGroup\": \"/Common/{{VS1_NAME}}-psp_end_deny_ag\"\n\n}" }, "url": { "raw": "https://{{BIGIP_MGMT}}/mgmt/tm/apm/policy/agent/ending-deny/", "protocol": "https", "host": [ "{{BIGIP_MGMT}}" ], "path": [ "mgmt", "tm", "apm", "policy", "agent", "ending-deny", "" ] } }, "response": [] }, { "name": "bigip-create-agent-OCSP", "event": [ { "listen": "test", "script": { "id": "e45c58ae-1c06-40dd-b6cb-5d278bb3917e", "exec": [ "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "type": "text", "value": "application/json" }, { "key": "X-F5-REST-Coordination-Id", "type": "text", "value": "{{TRANSID}}" } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"{{VS1_NAME}}-psp_act_ocsp_auth_ag\",\n \"partition\": \"Common\",\n \"certificateType\": \"user\",\n \"ocspResponder\": \"/Common/{{VS1_NAME}}-ocsp-servers\"\n}" }, "url": { "raw": "https://{{BIGIP_MGMT}}/mgmt/tm/apm/policy/agent/aaa-ocsp/", "protocol": "https", "host": [ "{{BIGIP_MGMT}}" ], "path": [ "mgmt", "tm", "apm", "policy", "agent", "aaa-ocsp", "" ] } }, "response": [] }, { "name": "bigip-create-agent-ODCA", "event": [ { "listen": "test", "script": { "id": "36841811-acfa-46c5-86d5-b61b9dc35309", "exec": [ "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "type": "text", "value": "application/json" }, { "key": "X-F5-REST-Coordination-Id", "type": "text", "value": "{{TRANSID}}" } ], "body": { "mode": "raw", "raw": "{ \n \"name\": \"{{VS1_NAME}}-psp_act_ondemand_cert_auth_ag\",\n \"partition\": \"Common\",\n \"mode\": \"request\"\n}" }, "url": { "raw": "https://{{BIGIP_MGMT}}/mgmt/tm/apm/policy/agent/aaa-client-cert/", "protocol": "https", "host": [ "{{BIGIP_MGMT}}" ], "path": [ "mgmt", "tm", "apm", "policy", "agent", "aaa-client-cert", "" ] } }, "response": [] }, { "name": "bigip-create-agent-LDAP Query", "event": [ { "listen": "test", "script": { "id": "0b5171eb-ee43-4abb-991b-f962519b0e03", "exec": [ "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "type": "text", "value": "application/json" }, { "key": "X-F5-REST-Coordination-Id", "type": "text", "value": "{{TRANSID}}" } ], "body": { "mode": "raw", "raw": "{\n \n \"name\": \"{{VS1_NAME}}-psp_act_ldap_query_ag\",\n \"partition\": \"Common\",\n \"attrName\": [\n \"sAMAccountName\"\n ],\n \"filter\": \"(userPrincipalName=%{session.custom.upn})\",\n \"groupMemberScope\": \"none\",\n \"groupMembershipScope\": \"none\",\n \"maxLogonAttempt\": 3,\n \"maxPwdResetAttempt\": 3,\n \"pwdComplexityCheck\": \"false\",\n \"searchDn\": \"dc=f5lab, dc=local\\n\",\n \"server\": \"/Common/{{VS1_NAME}}-ldap-servers\",\n \"showExtendedError\": \"false\",\n \"type\": \"query\"\n}\n" }, "url": { "raw": "https://{{BIGIP_MGMT}}/mgmt/tm/apm/policy/agent/aaa-ldap/", "protocol": "https", "host": [ "{{BIGIP_MGMT}}" ], "path": [ "mgmt", "tm", "apm", "policy", "agent", "aaa-ldap", "" ] } }, "response": [] }, { "name": "bigip-create-agent-UPN Extract", "event": [ { "listen": "test", "script": { "id": "11439764-84d1-41ff-997f-c749fab9ea1e", "exec": [ "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "type": "text", "value": "application/json" }, { "key": "X-F5-REST-Coordination-Id", "type": "text", "value": "{{TRANSID}}" } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"{{VS1_NAME}}-psp_act_variable_assign_ag\",\n \"partition\": \"Common\",\n \"type\": \"general\",\n \"variables\": [\n {\n \"append\": \"false\",\n \"expression\": \"set x509e_fields [split [mcget {session.ssl.cert.x509extension}] \\\\\\\"\\\\\\\\n\\\\\\\"];\\n# For each element in the list:\\nforeach field $x509e_fields {\\n# If the element contains UPN:\\nif { $field contains \\\\\\\"othername:UPN\\\\\\\" } {\\n## set start of UPN variable\\nset start [expr {[string first \\\\\\\"othername:UPN<\\\\\\\" $field] +14}]\\n# UPN format is \\n# Return the UPN, by finding the index of opening and closing brackets, then use string range to get everything between.\\nreturn [string range $field $start [expr { [string first \\\\\\\">\\\\\\\" $field $start] - 1 } ] ]; } }\\n# Otherwise return UPN Not Found:\\nreturn \\\\\\\"UPN-NOT-FOUND\\\\\\\";\\n\",\n \"secure\": \"false\",\n \"varname\": \"session.custom.upn\"\n }\n ]\n}" }, "url": { "raw": "https://{{BIGIP_MGMT}}/mgmt/tm/apm/policy/agent/variable-assign/", "protocol": "https", "host": [ "{{BIGIP_MGMT}}" ], "path": [ "mgmt", "tm", "apm", "policy", "agent", "variable-assign", "" ] } }, "response": [] }, { "name": "bigip-create-agent-set Variables", "event": [ { "listen": "test", "script": { "id": "87729983-5f8b-467b-a0c6-02d3bb43ee9b", "exec": [ "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "type": "text", "value": "application/json" }, { "key": "X-F5-REST-Coordination-Id", "type": "text", "value": "{{TRANSID}}" } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"{{VS1_NAME}}-psp_act_variable_assign_1_ag\",\n \"partition\": \"Common\",\n \"type\": \"general\",\n \"variables\": [\n {\n \"append\": \"false\",\n \"expression\": \"mcget {session.ldap.last.attr.sAMAccountName}\",\n \"secure\": \"false\",\n \"varname\": \"session.logon.last.username\"\n },\n {\n \"append\": \"false\",\n \"expression\": \"return {F5LAB.LOCAL}\",\n \"secure\": \"false\",\n \"varname\": \"session.logon.last.domain\"\n }\n ]\n}" }, "url": { "raw": "https://{{BIGIP_MGMT}}/mgmt/tm/apm/policy/agent/variable-assign/", "protocol": "https", "host": [ "{{BIGIP_MGMT}}" ], "path": [ "mgmt", "tm", "apm", "policy", "agent", "variable-assign", "" ] } }, "response": [] }, { "name": "bigip-create- policy item-allow ending", "event": [ { "listen": "test", "script": { "id": "d8d71b92-8ec4-41fc-9a3e-01e5d1a20590", "exec": [ "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "type": "text", "value": "application/json" }, { "key": "X-F5-REST-Coordination-Id", "value": "{{TRANSID}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\r\n\r\n \"name\": \"{{VS1_NAME}}-psp_end_allow\",\r\n \"partition\": \"Common\",\r\n \"caption\": \"Allow\",\r\n \"color\": 1,\r\n \"itemType\": \"ending\",\r\n \"agents\": [\r\n {\r\n \"name\": \"{{VS1_NAME}}-psp_end_allow_ag\",\r\n\t\t\t\"partition\": \"Common\",\r\n \"type\": \"ending-allow\"\r\n\r\n }\r\n ]\r\n}" }, "url": { "raw": "https://{{BIGIP_MGMT}}/mgmt/tm/apm/policy/policy-item/", "protocol": "https", "host": [ "{{BIGIP_MGMT}}" ], "path": [ "mgmt", "tm", "apm", "policy", "policy-item", "" ] } }, "response": [] }, { "name": "bigip-create-policy item-Deny ending", "event": [ { "listen": "test", "script": { "id": "d9526fa9-4396-466a-a69b-10f9b0e356d5", "exec": [ "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "type": "text", "value": "application/json" }, { "key": "X-F5-REST-Coordination-Id", "value": "{{TRANSID}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\r\n\r\n \"name\": \"{{VS1_NAME}}-psp_end_deny\",\r\n \"partition\": \"Common\",\r\n \"caption\": \"Deny\",\r\n \"color\": 2,\r\n \"itemType\": \"ending\",\r\n \"agents\": [\r\n {\r\n \"name\": \"{{VS1_NAME}}-psp_end_deny_ag\",\r\n\t\t\t\"partition\": \"Common\",\r\n \"type\": \"ending-deny\"\r\n\r\n }\r\n ]\r\n}" }, "url": { "raw": "https://{{BIGIP_MGMT}}/mgmt/tm/apm/policy/policy-item/", "protocol": "https", "host": [ "{{BIGIP_MGMT}}" ], "path": [ "mgmt", "tm", "apm", "policy", "policy-item", "" ] } }, "response": [] }, { "name": "bigip-create-policy item-set Variables", "event": [ { "listen": "test", "script": { "id": "89d61155-d801-4263-a68e-702de5baaa48", "exec": [ "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "type": "text", "value": "application/json" }, { "key": "X-F5-REST-Coordination-Id", "type": "text", "value": "{{TRANSID}}" } ], "body": { "mode": "raw", "raw": "{\r\n \r\n \"name\": \"{{VS1_NAME}}-psp_act_variable_assign_1\",\r\n \"partition\": \"Common\",\r\n \"caption\": \"set_variables\",\r\n \"color\": 1,\r\n \"itemType\": \"action\",\r\n \"loop\": \"false\",\r\n \"agents\": [\r\n {\r\n \"name\": \"{{VS1_NAME}}-psp_act_variable_assign_1_ag\",\r\n \"partition\": \"Common\",\r\n \"type\": \"variable-assign\"\r\n }\r\n ],\r\n \"rules\": [\r\n {\r\n \"caption\": \"fallback\",\r\n \"nextItem\": \"/Common/{{VS1_NAME}}-psp_end_allow\"\r\n \r\n }\r\n ]\r\n}" }, "url": { "raw": "https://{{BIGIP_MGMT}}/mgmt/tm/apm/policy/policy-item/", "protocol": "https", "host": [ "{{BIGIP_MGMT}}" ], "path": [ "mgmt", "tm", "apm", "policy", "policy-item", "" ] } }, "response": [] }, { "name": "bigip-create-policy item-LDAP Query", "event": [ { "listen": "test", "script": { "id": "9dccc4f9-b218-4fa3-bb4d-cc98fc43c813", "exec": [ "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "type": "text", "value": "application/json" }, { "key": "X-F5-REST-Coordination-Id", "type": "text", "value": "{{TRANSID}}" } ], "body": { "mode": "raw", "raw": "{\r\n \r\n \"name\": \"{{VS1_NAME}}-psp_act_ldap_query\",\r\n \"partition\": \"Common\",\r\n \"caption\": \"LDAP Query\",\r\n \"color\": 1,\r\n \"itemType\": \"action\",\r\n \"loop\": \"false\",\r\n \"agents\": [\r\n {\r\n \"name\": \"{{VS1_NAME}}-psp_act_ldap_query_ag\",\r\n \"partition\": \"Common\",\r\n \"type\": \"aaa-ldap\"\r\n \r\n }\r\n ],\r\n \"rules\": [\r\n {\r\n \"caption\": \"Query Passed\",\r\n \"expression\": \"expr {[mcget {session.ldap.last.queryresult}] == 1}\",\r\n \"nextItem\": \"/Common/{{VS1_NAME}}-psp_act_variable_assign_1\"\r\n \r\n },\r\n {\r\n \"caption\": \"fallback\",\r\n \"nextItem\": \"/Common/{{VS1_NAME}}-psp_end_deny\"\r\n \r\n }\r\n ]\r\n}" }, "url": { "raw": "https://{{BIGIP_MGMT}}/mgmt/tm/apm/policy/policy-item/", "protocol": "https", "host": [ "{{BIGIP_MGMT}}" ], "path": [ "mgmt", "tm", "apm", "policy", "policy-item", "" ] } }, "response": [] }, { "name": "bigip-create-policy item-UPN Extract", "event": [ { "listen": "test", "script": { "id": "520709c7-33eb-4e5d-9de9-4324618615a2", "exec": [ "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "type": "text", "value": "application/json" }, { "key": "X-F5-REST-Coordination-Id", "type": "text", "value": "{{TRANSID}}" } ], "body": { "mode": "raw", "raw": "{\r\n \r\n \"name\": \"{{VS1_NAME}}-psp_act_variable_assign\",\r\n \"partition\": \"Common\",\r\n \"caption\": \"upn_extract\",\r\n \"color\": 1,\r\n \"itemType\": \"action\",\r\n \"loop\": \"false\",\r\n \"agents\": [\r\n {\r\n \"name\": \"{{VS1_NAME}}-psp_act_variable_assign_ag\",\r\n \"partition\": \"Common\",\r\n \"type\": \"variable-assign\"\r\n \r\n }\r\n ],\r\n \"rules\": [\r\n {\r\n \"caption\": \"fallback\",\r\n \"nextItem\": \"/Common/{{VS1_NAME}}-psp_act_ldap_query\"\r\n \r\n }\r\n ]\r\n}" }, "url": { "raw": "https://{{BIGIP_MGMT}}/mgmt/tm/apm/policy/policy-item/", "protocol": "https", "host": [ "{{BIGIP_MGMT}}" ], "path": [ "mgmt", "tm", "apm", "policy", "policy-item", "" ] } }, "response": [] }, { "name": "bigip-create-policy item-OCSP", "event": [ { "listen": "test", "script": { "id": "b725132f-b585-46b1-8d41-e26b41271e92", "exec": [ "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "type": "text", "value": "application/json" }, { "key": "X-F5-REST-Coordination-Id", "type": "text", "value": "{{TRANSID}}" } ], "body": { "mode": "raw", "raw": "{\r\n \r\n \"name\": \"{{VS1_NAME}}-psp_act_ocsp_auth\",\r\n \"partition\": \"Common\",\r\n \"caption\": \"OCSP Auth\",\r\n \"color\": 1,\r\n \"itemType\": \"action\",\r\n \"loop\": \"false\",\r\n \"agents\": [\r\n {\r\n \"name\": \"{{VS1_NAME}}-psp_act_ocsp_auth_ag\",\r\n \"partition\": \"Common\",\r\n \"type\": \"aaa-ocsp\"\r\n \r\n }\r\n ],\r\n \"rules\": [\r\n {\r\n \"caption\": \"Successful\",\r\n \"expression\": \"expr {[mcget {session.ocsp.last.result}] == 1}\",\r\n \"nextItem\": \"/Common/{{VS1_NAME}}-psp_act_variable_assign\"\r\n \r\n },\r\n {\r\n \"caption\": \"fallback\",\r\n \"nextItem\": \"/Common/{{VS1_NAME}}-psp_end_deny\"\r\n \r\n }\r\n ]\r\n}" }, "url": { "raw": "https://{{BIGIP_MGMT}}/mgmt/tm/apm/policy/policy-item/", "protocol": "https", "host": [ "{{BIGIP_MGMT}}" ], "path": [ "mgmt", "tm", "apm", "policy", "policy-item", "" ] } }, "response": [] }, { "name": "bigip-create-policy item-ODCA", "event": [ { "listen": "test", "script": { "id": "fe2b7e78-66e4-46b1-b547-d8d566695274", "exec": [ "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "type": "text", "value": "application/json" }, { "key": "X-F5-REST-Coordination-Id", "type": "text", "value": "{{TRANSID}}" } ], "body": { "mode": "raw", "raw": "{\r\n \r\n \"name\": \"{{VS1_NAME}}-psp_act_ondemand_cert_auth\",\r\n \"partition\": \"Common\",\r\n \"caption\": \"On-Demand Cert Auth\",\r\n \"color\": 1,\r\n \"itemType\": \"action\",\r\n \"loop\": \"false\",\r\n \"agents\": [\r\n {\r\n \"name\": \"{{VS1_NAME}}-psp_act_ondemand_cert_auth_ag\",\r\n \"partition\": \"Common\",\r\n \"type\": \"aaa-client-cert\"\r\n \r\n }\r\n ],\r\n \"rules\": [\r\n {\r\n \"caption\": \"Successful\",\r\n \"expression\": \"expr {[mcget {session.ssl.cert.valid}] == \\\\\\\"0\\\\\\\"}\",\r\n \"nextItem\": \"/Common/{{VS1_NAME}}-psp_act_ocsp_auth\"\r\n \r\n },\r\n {\r\n \"caption\": \"fallback\",\r\n \"nextItem\": \"/Common/{{VS1_NAME}}-psp_end_deny\"\r\n \r\n }\r\n ]\r\n}" }, "url": { "raw": "https://{{BIGIP_MGMT}}/mgmt/tm/apm/policy/policy-item/", "protocol": "https", "host": [ "{{BIGIP_MGMT}}" ], "path": [ "mgmt", "tm", "apm", "policy", "policy-item", "" ] } }, "response": [] }, { "name": "bigip-create-policy item-start", "event": [ { "listen": "test", "script": { "id": "21bac61f-210c-43a1-83e8-7038de91191d", "exec": [ "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "type": "text", "value": "application/json" }, { "key": "X-F5-REST-Coordination-Id", "type": "text", "value": "{{TRANSID}}" } ], "body": { "mode": "raw", "raw": "{\r\n\r\n \"name\": \"{{VS1_NAME}}-psp_ent\",\r\n \"partition\": \"Common\",\r\n \"caption\": \"Start\",\r\n \"color\": 1,\r\n \"itemType\": \"entry\",\r\n \"loop\": \"false\",\r\n \"rules\": [\r\n {\r\n \"caption\": \"fallback\",\r\n \"nextItem\": \"/Common/{{VS1_NAME}}-psp_act_ondemand_cert_auth\"\r\n\r\n }\r\n ]\r\n}" }, "url": { "raw": "https://{{BIGIP_MGMT}}/mgmt/tm/apm/policy/policy-item/", "protocol": "https", "host": [ "{{BIGIP_MGMT}}" ], "path": [ "mgmt", "tm", "apm", "policy", "policy-item", "" ] } }, "response": [] }, { "name": "bigip- create Policy", "event": [ { "listen": "test", "script": { "id": "c92ebc47-ad6b-410e-b9f3-bd2630c1e806", "exec": [ "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "type": "text", "value": "application/json" }, { "key": "X-F5-REST-Coordination-Id", "type": "text", "value": "{{TRANSID}}" } ], "body": { "mode": "raw", "raw": "{\r\n\r\n \"name\": \"{{VS1_NAME}}-psp\",\r\n \"partition\": \"Common\",\r\n \"defaultEnding\": \"{{VS1_NAME}}-psp_end_allow\",\r\n \"maxMacroLoopCount\": 1,\r\n \"oneshotMacro\": \"false\",\r\n \"startItem\": \"{{VS1_NAME}}-psp_ent\",\r\n \"type\": \"access-policy\",\r\n \"items\": [\r\n \t\t\t\t{\r\n \"name\": \"{{VS1_NAME}}-psp_act_ldap_query\",\r\n \"partition\": \"Common\"\r\n \r\n },\r\n {\r\n \"name\": \"{{VS1_NAME}}-psp_act_ocsp_auth\",\r\n \"partition\": \"Common\"\r\n \r\n },\r\n {\r\n \"name\": \"{{VS1_NAME}}-psp_act_ondemand_cert_auth\",\r\n \"partition\": \"Common\"\r\n },\r\n {\r\n \"name\": \"{{VS1_NAME}}-psp_act_variable_assign\",\r\n \"partition\": \"Common\"\r\n },\r\n {\r\n \"name\": \"{{VS1_NAME}}-psp_act_variable_assign_1\",\r\n \"partition\": \"Common\"\r\n \r\n },\r\n {\r\n \"name\": \"{{VS1_NAME}}-psp_end_allow\",\r\n \"partition\": \"Common\"\r\n \r\n },\r\n {\r\n \"name\": \"{{VS1_NAME}}-psp_end_deny\",\r\n \"partition\": \"Common\"\r\n \r\n },\r\n {\r\n \"name\": \"{{VS1_NAME}}-psp_ent\",\r\n \"partition\": \"Common\"\r\n\t\t\t\t}\r\n ]\r\n}" }, "url": { "raw": "https://{{BIGIP_MGMT}}/mgmt/tm/apm/policy/access-policy/", "protocol": "https", "host": [ "{{BIGIP_MGMT}}" ], "path": [ "mgmt", "tm", "apm", "policy", "access-policy", "" ] } }, "response": [] }, { "name": "bigip- create Profile", "event": [ { "listen": "test", "script": { "id": "b437ee19-0746-49cb-9fba-8d2526b02279", "exec": [ "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "type": "text", "value": "application/json" }, { "key": "X-F5-REST-Coordination-Id", "type": "text", "value": "{{TRANSID}}" } ], "body": { "mode": "raw", "raw": "{\r\n\r\n \"name\": \"{{VS1_NAME}}-psp\",\r\n \"partition\": \"Common\",\r\n \"acceptLanguages\": [\r\n \"en\"\r\n ],\r\n \"accessPolicy\": \"/Common/{{VS1_NAME}}-psp\",\r\n \"customizationGroup\": \"/Common/{{VS1_NAME}}-psp_logout\",\r\n \"epsGroup\": \"/Common/{{VS1_NAME}}-psp_eps\",\r\n \"errormapGroup\": \"/Common/{{VS1_NAME}}-psp_errormap\",\r\n \"frameworkInstallationGroup\": \"/Common/{{VS1_NAME}}-psp_framework_installation\",\r\n \"generalUiGroup\": \"/Common/{{VS1_NAME}}-psp_general_ui\",\r\n \"ssoName\": \"/Common/{{VS1_NAME}}-kerbsso\",\r\n \"accessPolicyTimeout\": 300,\r\n \"defaultLanguage\": \"en\",\r\n \"httponlyCookie\": \"false\",\r\n \"inactivityTimeout\": 900,\r\n \"logoutUriTimeout\": 5,\r\n \"maxConcurrentSessions\": 0,\r\n \"maxConcurrentUsers\": 0,\r\n \"maxFailureDelay\": 5,\r\n \"maxInProgressSessions\": 128,\r\n \"maxSessionTimeout\": 604800,\r\n \"minFailureDelay\": 2,\r\n \"modifiedSinceLastPolicySync\": \"false\",\r\n \"persistentCookie\": \"false\",\r\n \"restrictToSingleClientIp\": \"false\",\r\n \"scope\": \"profile\",\r\n \"secureCookie\": \"true\",\r\n \"type\": \"all\",\r\n \"useHttp_503OnError\": \"false\",\r\n \"userIdentityMethod\": \"http\",\r\n \"logSettings\": [\r\n \"/Common/default-log-setting\"\r\n ]\r\n\r\n}" }, "url": { "raw": "https://{{BIGIP_MGMT}}/mgmt/tm/apm/profile/access/", "protocol": "https", "host": [ "{{BIGIP_MGMT}}" ], "path": [ "mgmt", "tm", "apm", "profile", "access", "" ] } }, "response": [] }, { "name": "bigip- commit transaction", "event": [ { "listen": "test", "script": { "id": "eff8c7d9-acac-4774-a6e0-cd34bcd8eddd", "exec": [ "if (responseCode.code === 200) {\r", "pm.collectionVariables.set('PRIOR_RESPONSE', 'OK' );\r", "pm.test(\"Profile Created\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "} else \r", "pm.test(\"Profile Exists\", function () {\r", " pm.response.to.have.status(409);\r", "});" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "PUT", "header": [ { "key": "Content-Type", "type": "text", "value": "application/json" }, { "key": "X-F5-REST-Coordination-Id", "type": "text", "value": "{{TRANSID}}", "disabled": true } ], "body": { "mode": "raw", "raw": "{\n \"state\":\"VALIDATING\"\t\n\t\n}" }, "url": { "raw": "https://{{BIGIP_MGMT}}/mgmt/tm/transaction/{{TRANSID}}/", "protocol": "https", "host": [ "{{BIGIP_MGMT}}" ], "path": [ "mgmt", "tm", "transaction", "{{TRANSID}}", "" ] } }, "response": [] }, { "name": "bigip-Apply Policy", "event": [ { "listen": "test", "script": { "id": "0731117b-debf-4d2e-bfb0-081a5b5a776a", "exec": [ "\r", "pm.collectionVariables.set('PRIOR_RESPONSE', 'OK' );\r", "pm.test(\"Apply Policy Successful\", function () {\r", " pm.response.to.have.status(200);\r", "});" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "PATCH", "header": [ { "key": "Content-Type", "type": "text", "value": "application/json" }, { "key": "X-F5-REST-Coordination-Id", "type": "text", "value": "{{TRANSID}}", "disabled": true } ], "body": { "mode": "raw", "raw": "{\r\n \"generationAction\": \"increment\" \r\n}" }, "url": { "raw": "https://{{BIGIP_MGMT}}/mgmt/tm/apm/profile/access/~Common~{{VS1_NAME}}-psp", "protocol": "https", "host": [ "{{BIGIP_MGMT}}" ], "path": [ "mgmt", "tm", "apm", "profile", "access", "~Common~{{VS1_NAME}}-psp" ] } }, "response": [] } ], "protocolProfileBehavior": {} }, { "name": "bigip-Check Scope for existing assignment", "event": [ { "listen": "test", "script": { "id": "935d8c87-520b-4f69-afde-ee2832dbdb98", "exec": [ "var VS_NAME = pm.collectionVariables.get(\"VS1_NAME\");\r", "\r", "\r", "if (responseCode.code === 200) {\r", "pm.collectionVariables.set('PRIOR_RESPONSE', 'OK' );\r", "pm.test(\"Scope Request successful\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "}\r", "\r", "var jsonData = pm.response.json();\r", "\r", "if(!jsonData.length) {\r", " if ( jsonData.Description === VS_NAME ) {\r", "\tpm.collectionVariables.set(\"BIGIP_ADDRESS1\", jsonData.IPAddress.IPAddressToString );\r", "\tpostman.setNextRequest(\"IIS-scope-status\"); \r", " }\r", "} else {\r", "\r", "\r", "for (var i = 0; i < jsonData.length; i++) {\r", "\r", "if ( jsonData[i].Description === VS_NAME ) {\r", "\tpm.collectionVariables.set(\"BIGIP_ADDRESS1\", jsonData[i].IPAddress.IPAddressToString );\r", "\tpostman.setNextRequest(\"IIS-scope-status\");\r", "}\r", "}\r", "}" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [ { "key": "Content-Type", "type": "text", "value": "application/json" } ], "url": { "raw": "http://10.1.20.6:81/addr/scope-status?scope={{BIGIP_SCOPE}}", "protocol": "http", "host": [ "10", "1", "20", "6" ], "port": "81", "path": [ "addr", "scope-status" ], "query": [ { "key": "scope", "value": "{{BIGIP_SCOPE}}" } ] } }, "response": [] }, { "name": "bigip-Check for next available address", "event": [ { "listen": "test", "script": { "id": "05971832-f302-40f9-b9ea-b0be80e8e6aa", "exec": [ "\r", "var jsonData = JSON.parse(responseBody);\r", "pm.collectionVariables.set(\"BIGIP_ADDRESS1\",jsonData.address);\r", "\r", "\r", "\r", "var jsonData = pm.response.json();\r", "pm.test('Address Key returned', function() {\r", " pm.expect(jsonData).to.have.property('address');\r", "\r", " \r", "pm.test(\"Address value is not null\", function () {\r", "var jsonData = pm.response.json();\r", "pm.expect(jsonData.address).not.eql(null);\r", "});\r", "});" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [ { "key": "Content-Type", "value": "application/json", "type": "text" } ], "url": { "raw": "http://10.1.20.6:81/addr/available?scope={{BIGIP_SCOPE}}", "protocol": "http", "host": [ "10", "1", "20", "6" ], "port": "81", "path": [ "addr", "available" ], "query": [ { "key": "scope", "value": "{{BIGIP_SCOPE}}" } ] } }, "response": [] }, { "name": "bigip-Checkout Address", "event": [ { "listen": "test", "script": { "id": "a8561b4d-9d94-4eda-b192-fd55cf0b6750", "exec": [ "var jsonData = pm.response.json();", "pm.test(\"Address Checked Out\", function () {", " ", " pm.expect(jsonData.status).to.eql(\"Success\");", "});", "", "", "pm.test(\"Name field is not Null\", function () {", "var jsonData = pm.response.json();", "pm.expect(jsonData.name).not.eql(null);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n\"scope\":\"{{BIGIP_SCOPE}}\",\n\"address\":\"{{BIGIP_ADDRESS1}}\",\n\"name\":\"{{VS1_NAME}}\"\n}" }, "url": { "raw": "http://10.1.20.6:81/addr/checkout", "protocol": "http", "host": [ "10", "1", "20", "6" ], "port": "81", "path": [ "addr", "checkout" ] } }, "response": [] }, { "name": "IIS-scope-status", "event": [ { "listen": "test", "script": { "id": "00d08405-a893-476c-a806-a09ba8af3c2e", "exec": [ "var IIS_NAME = pm.collectionVariables.get(\"DNS1_NAME\");", "", "", "if (responseCode.code === 200) {", "\tpm.collectionVariables.set('PRIOR_RESPONSE', 'OK');", "\tpm.test(\"Scope Request successful\", function () {", "\t\tpm.response.to.have.status(200);", "\t});", "}", "", "var jsonData = pm.response.json();", "", "if (!jsonData.length) {", "\tif (jsonData.Description === IIS_NAME) {", "\t\tpm.collectionVariables.set(\"IIS_ADDRESS1\", jsonData.IPAddress.IPAddressToString);", "\t\tpostman.setNextRequest(\"bigip-create-node-iis\");", "\t}", "} else {", "", "", "\tfor (var i = 0; i < jsonData.length; i++) {", "", "\t\tif (jsonData[i].Description === IIS_NAME) {", "\t\t\tpm.collectionVariables.set(\"IIS_ADDRESS1\", jsonData[i].IPAddress.IPAddressToString);", "\t\t\tpostman.setNextRequest(\"bigip-create-node-iis\");", "\t\t}", "\t}", "}" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [ { "key": "Content-Type", "type": "text", "value": "application/json" } ], "url": { "raw": "http://10.1.20.6:81/addr/scope-status?scope={{IIS_SCOPE}}", "protocol": "http", "host": [ "10", "1", "20", "6" ], "port": "81", "path": [ "addr", "scope-status" ], "query": [ { "key": "scope", "value": "{{IIS_SCOPE}}" } ] } }, "response": [] }, { "name": "IIS-Check for next address available", "event": [ { "listen": "test", "script": { "id": "efdb07db-e367-4488-af76-bc01c3d02243", "exec": [ "", "var jsonData = JSON.parse(responseBody);", "pm.collectionVariables.set(\"IIS_ADDRESS1\", jsonData.address);", "", "", "", "var jsonData = pm.response.json();", "pm.test('Next Available Address Found', function () {", " pm.expect(jsonData).to.have.property('address');", "});", "pm.test(\"Address value is not null\", function () {", "var jsonData = pm.response.json();", "pm.expect(jsonData.address).not.eql(null);", "});" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [ { "key": "Content-Type", "value": "application/json", "type": "text" } ], "url": { "raw": "http://10.1.20.6:81/addr/available?scope={{IIS_SCOPE}}", "protocol": "http", "host": [ "10", "1", "20", "6" ], "port": "81", "path": [ "addr", "available" ], "query": [ { "key": "scope", "value": "{{IIS_SCOPE}}" } ] } }, "response": [] }, { "name": "IIS-Address Checkout", "event": [ { "listen": "test", "script": { "id": "3f5f29bf-c1f0-4fc4-8bfd-dd9eee6b4999", "exec": [ "", "var jsonData = pm.response.json();", "pm.test(\"Address Checked Out\", function () {", " ", " pm.expect(jsonData.status).to.eql(\"Success\");", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n\"scope\":\"{{IIS_SCOPE}}\",\n\"address\":\"{{IIS_ADDRESS1}}\",\n\"name\":\"{{DNS1_NAME}}\"\n}" }, "url": { "raw": "http://10.1.20.6:81/addr/checkout", "protocol": "http", "host": [ "10", "1", "20", "6" ], "port": "81", "path": [ "addr", "checkout" ] } }, "response": [] }, { "name": "bigip-create-node-iis", "event": [ { "listen": "prerequest", "script": { "id": "e5ef056b-f4c3-4a3e-8c80-02317d7f5714", "exec": [ "", "var PRIOR_RESPONSE = pm.collectionVariables.get(\"PRIOR_RESPONSE\");", "", "if (PRIOR_RESPONSE === 'OK') {", "", "}" ], "type": "text/javascript" } }, { "listen": "test", "script": { "id": "bc9db219-fda3-40ce-b48e-c4b953793982", "exec": [ "if (responseCode.code === 200) {", "pm.collectionVariables.set('PRIOR_RESPONSE', 'OK' );", "pm.test(\"Node Created\", function () {", " pm.response.to.have.status(200);", "});", "} else ", "pm.test(\"Node Exists\", function () {", " pm.response.to.have.status(409);", "});" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\r\n\"name\": \"{{VS1_NAME}}-iis\",\r\n\"address\": \"{{IIS_ADDRESS1}}\"\r\n}" }, "url": { "raw": "https://{{BIGIP_MGMT}}/mgmt/tm/ltm/node", "protocol": "https", "host": [ "{{BIGIP_MGMT}}" ], "path": [ "mgmt", "tm", "ltm", "node" ] } }, "response": [] }, { "name": "bigip-Create Application using AS3", "event": [ { "listen": "test", "script": { "id": "82eb57e8-765f-4345-88d1-2df4b16ebc43", "exec": [ "", "pm.test(\"Application created\", function () {", " pm.response.to.have.status(200);", "});", "", "", "var COUNTER = pm.collectionVariables.get(\"COUNTER\");", "", "if (COUNTER === '2') {", "postman.setNextRequest(\"bigip5-Determine if bigip2 exists\");", "", "} else {", "", "", "}" ], "type": "text/javascript" } }, { "listen": "prerequest", "script": { "id": "e7682c92-0dae-40be-8a73-3b7499705fc1", "exec": [ "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\r\n \"class\": \"ADC\",\r\n \"action\": \"deploy\",\r\n \"persist\": true,\r\n \"declaration\": {\r\n \"class\": \"ADC\",\r\n \"schemaVersion\": \"3.14.0\",\r\n \"id\": \"APM\",\r\n \"{{PARTITION_NAME}}\": {\r\n \"class\": \"Tenant\",\r\n \"{{PATH_NAME}}\": {\r\n \"class\": \"Application\",\r\n \"template\": \"generic\",\r\n \"{{VS1_NAME}}\": {\r\n \"class\": \"Service_HTTPS\",\r\n \"virtualAddresses\": [\r\n \"{{BIGIP_ADDRESS1}}\"\r\n ],\r\n \"virtualPort\": 443,\r\n \"serverTLS\": \"{{VS1_NAME}}-clientssl\",\r\n \"pool\": \"iis-pool\",\r\n \t\t\"snat\": \"auto\",\r\n \t\t\"profileAccess\": {\r\n \t\t\t\"bigip\": \"/Common/{{PARTITION_NAME}}-psp\"\r\n \t\t\t}\r\n\t },\r\n\t\t\r\n \"{{VS1_NAME}}-clientssl\": {\r\n \"class\": \"TLS_Server\",\r\n \"authenticationInviteCA\": {\"bigip\":\"/Common/ca.f5lab.local\"},\r\n \"authenticationTrustCA\": {\"bigip\":\"/Common/ca.f5lab.local\"},\r\n \"certificates\": [\r\n {\r\n \"certificate\": \"tlsserver_local_cert\"\r\n }\r\n ]\r\n },\r\n \"tlsserver_local_cert\": {\r\n \"class\": \"Certificate\",\r\n \"certificate\": {\"bigip\":\"/Common/acme.com-wildcard\"},\r\n \"privateKey\": {\"bigip\":\"/Common/acme.com-wildcard\"}\r\n },\r\n\r\n \"iis-pool\": {\r\n \"class\": \"Pool\", \r\n \"members\": [\r\n {\r\n \"serverAddresses\": [\r\n \"{{IIS_ADDRESS1}}\"\r\n ],\r\n \"servicePort\": 80\r\n }\r\n ],\r\n \"monitors\": [\r\n \"icmp\"\r\n ]\r\n }\r\n\r\n }\r\n }\r\n }\r\n\r\n}\r\n \r\n \r\n \r\n \r\n \r\n" }, "url": { "raw": "https://{{BIGIP_MGMT}}/mgmt/shared/appsvcs/declare", "protocol": "https", "host": [ "{{BIGIP_MGMT}}" ], "path": [ "mgmt", "shared", "appsvcs", "declare" ] } }, "response": [] }, { "name": "bigip5-Test AS3 is running", "event": [ { "listen": "test", "script": { "id": "2f8eb0c3-0752-4b74-abcc-04d74b1898ce", "exec": [ "if (responseCode.code === 200) {", "pm.collectionVariables.set('PRIOR_RESPONSE', 'OK' );", "}", "", "pm.test(\"AS3 is running\", function () {", " pm.response.to.have.status(200);", "});" ], "type": "text/javascript" } }, { "listen": "prerequest", "script": { "id": "aec21e46-96ef-4959-b55e-4d63d74f8faa", "exec": [ "", "var PRIOR_RESPONSE = pm.collectionVariables.get(\"PRIOR_RESPONSE\");", "", "if (PRIOR_RESPONSE === 'OK') {", "", "}" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "https://10.1.1.11/mgmt/shared/appsvcs/info", "protocol": "https", "host": [ "10", "1", "1", "11" ], "path": [ "mgmt", "shared", "appsvcs", "info" ] } }, "response": [] }, { "name": "bigip5-Create-DC1", "event": [ { "listen": "test", "script": { "id": "54510085-b186-4b4b-9603-2d5b17285424", "exec": [ "if (responseCode.code === 200) {", "pm.collectionVariables.set('PRIOR_RESPONSE', 'OK' );", "pm.test(\"DC1 Created\", function () {", " pm.response.to.have.status(200);", "});", "} else ", "pm.test(\"DC1 Exists\", function () {", " pm.response.to.have.status(409);", "});", "" ], "type": "text/javascript" } }, { "listen": "prerequest", "script": { "id": "fb96b16a-6659-4961-a829-f8582b0c6663", "exec": [ "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n\"name\":\"DC1\"\n}" }, "url": { "raw": "https://10.1.1.11/mgmt/tm/gtm/datacenter", "protocol": "https", "host": [ "10", "1", "1", "11" ], "path": [ "mgmt", "tm", "gtm", "datacenter" ] } }, "response": [] }, { "name": "bigip5-Create-bigip1 server", "event": [ { "listen": "test", "script": { "id": "77391add-92be-40bd-a218-1bb0cc9ce328", "exec": [ "if (responseCode.code === 200) {", "pm.collectionVariables.set('PRIOR_RESPONSE', 'OK' );", "pm.test(\"bigip1 server Created\", function () {", " pm.response.to.have.status(200);", "});", "} else ", "pm.test(\"bigip1 server Exists\", function () {", " pm.response.to.have.status(409);", "});", "" ], "type": "text/javascript" } }, { "listen": "prerequest", "script": { "id": "a7492864-fd93-48c3-ba58-77b0b0bf16b5", "exec": [ "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\r\n \"name\": \"bigip1.f5lab.local\",\r\n \"datacenter\": \"/Common/DC1\",\r\n \"enabled\": true,\r\n \"exposeRouteDomains\": \"no\",\r\n \"iqAllowPath\": \"yes\",\r\n \"iqAllowServiceCheck\": \"yes\",\r\n \"iqAllowSnmp\": \"yes\",\r\n \"limitCpuUsage\": 0,\r\n \"limitCpuUsageStatus\": \"disabled\",\r\n \"limitMaxBps\": 0,\r\n \"limitMaxBpsStatus\": \"disabled\",\r\n \"limitMaxConnections\": 0,\r\n \"limitMaxConnectionsStatus\": \"disabled\",\r\n \"limitMaxPps\": 0,\r\n \"limitMaxPpsStatus\": \"disabled\",\r\n \"limitMemAvail\": 0,\r\n \"limitMemAvailStatus\": \"disabled\",\r\n \"linkDiscovery\": \"disabled\",\r\n \"monitor\": \"/Common/bigip\",\r\n \r\n \"product\": \"bigip\",\r\n \"virtualServerDiscovery\": \"disabled\",\r\n \"addresses\": [\r\n {\r\n \"name\": \"10.1.10.4\",\r\n \"deviceName\": \"bigip1.f5lab.local\",\r\n \"translation\": \"none\"\r\n }\r\n ]\r\n\r\n }\r\n" }, "url": { "raw": "https://10.1.1.11/mgmt/tm/gtm/server", "protocol": "https", "host": [ "10", "1", "1", "11" ], "path": [ "mgmt", "tm", "gtm", "server" ] } }, "response": [] }, { "name": "bigip5-Create-bigip5 server", "event": [ { "listen": "test", "script": { "id": "6b199a93-503d-408d-b234-2a761f532b54", "exec": [ "if (responseCode.code === 200) {", "pm.collectionVariables.set('PRIOR_RESPONSE', 'OK' );", "pm.test(\"bigip5 server Created\", function () {", " pm.response.to.have.status(200);", "});", "} else ", "pm.test(\"bigip5 server Exists\", function () {", " pm.response.to.have.status(409);", "});", "" ], "type": "text/javascript" } }, { "listen": "prerequest", "script": { "id": "8eca9804-0438-4746-923b-94b2547cac15", "exec": [ "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\r\n \"name\": \"bigip5.f5lab.local\",\r\n \"datacenter\": \"/Common/DC1\",\r\n \"enabled\": true,\r\n \"exposeRouteDomains\": \"no\",\r\n \"iqAllowPath\": \"yes\",\r\n \"iqAllowServiceCheck\": \"yes\",\r\n \"iqAllowSnmp\": \"yes\",\r\n \"limitCpuUsage\": 0,\r\n \"limitCpuUsageStatus\": \"disabled\",\r\n \"limitMaxBps\": 0,\r\n \"limitMaxBpsStatus\": \"disabled\",\r\n \"limitMaxConnections\": 0,\r\n \"limitMaxConnectionsStatus\": \"disabled\",\r\n \"limitMaxPps\": 0,\r\n \"limitMaxPpsStatus\": \"disabled\",\r\n \"limitMemAvail\": 0,\r\n \"limitMemAvailStatus\": \"disabled\",\r\n \"linkDiscovery\": \"disabled\",\r\n \"monitor\": \"/Common/bigip\",\r\n \r\n \"product\": \"bigip\",\r\n \"virtualServerDiscovery\": \"disabled\",\r\n \"addresses\": [\r\n {\r\n \"name\": \"10.1.10.11\",\r\n \"deviceName\": \"bigip5.f5lab.local\",\r\n \"translation\": \"none\"\r\n }\r\n ]\r\n\r\n }\r\n" }, "url": { "raw": "https://10.1.1.11/mgmt/tm/gtm/server", "protocol": "https", "host": [ "10", "1", "1", "11" ], "path": [ "mgmt", "tm", "gtm", "server" ] } }, "response": [] }, { "name": "bigip5-Add bigip1 application VS to Server", "event": [ { "listen": "test", "script": { "id": "3eb37576-c9b0-49e3-9239-018679413987", "exec": [ "if (responseCode.code === 200) {", "pm.collectionVariables.set('PRIOR_RESPONSE', 'OK' );", "pm.test(\"Virtual Server added to Server\", function () {", " pm.response.to.have.status(200);", "});", "} else ", "pm.test(\"Virtual Server Exists\", function () {", " pm.response.to.have.status(409);", "});" ], "type": "text/javascript" } }, { "listen": "prerequest", "script": { "id": "ec99ccd0-144b-437b-9453-4da00a3a3392", "exec": [ "setTimeout(function(){}, 2000);", "", "var PRIOR_RESPONSE = pm.collectionVariables.get(\"PRIOR_RESPONSE\");", "", "if (PRIOR_RESPONSE === 'OK') {", "", "}" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\r\n\"name\": \"/{{PARTITION_NAME}}/{{PATH_NAME}}/{{VS1_NAME}}\",\r\n\"destination\": \"{{BIGIP_ADDRESS1}}:443\"\r\n}" }, "url": { "raw": "https://10.1.1.11/mgmt/tm/gtm/server/~Common~bigip1.f5lab.local/virtual-servers/", "protocol": "https", "host": [ "10", "1", "1", "11" ], "path": [ "mgmt", "tm", "gtm", "server", "~Common~bigip1.f5lab.local", "virtual-servers", "" ] } }, "response": [] }, { "name": "bigip5-Create WideIP using AS3", "event": [ { "listen": "test", "script": { "id": "36b9c858-fa5b-425d-a34e-b6b3998fecb4", "exec": [ "var DNS_NAME = pm.collectionVariables.get(\"DNS1_NAME\");", "", "", "if (responseCode.code === 200) {", "", "pm.test(\"Wide IP \"+DNS_NAME+\" Created\", function () {", " pm.response.to.have.status(200);", "});", "} else ", "pm.test(\"Wide IP \"+DNS_NAME+\" exists\", function () {", " pm.response.to.have.status(409);", "});", "", "", "", "var DC2_APM = pm.environment.get(\"DC2_APM\");", "var COUNTER = pm.collectionVariables.get(\"COUNTER\");", "", "if (DC2_APM === 'true' && COUNTER === '1') {", "postman.setNextRequest(\"bigip-Test AS3 is running\");", "pm.collectionVariables.set('COUNTER', '2' );", "", "} else {", "postman.setNextRequest(\"iis-create-website\");", "pm.test(\"Environment Variable set to Single Data Center APM \", function () {", " pm.expect(pm.environment.get(\"DC2_APM\")).to.equal(\"false\");", "});", "", "}" ], "type": "text/javascript" } }, { "listen": "prerequest", "script": { "id": "19085a5a-9c62-48a7-b976-1de19ebf53fe", "exec": [ "setTimeout(function(){}, 5000);", "", "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\r\n \"class\": \"ADC\",\r\n \"schemaVersion\": \"3.6.0\",\r\n \"id\": \"GSLB_Sample\",\r\n \"{{PARTITION_NAME}}\": {\r\n \"class\": \"Tenant\",\r\n \"Application\": {\r\n \"class\": \"Application\",\r\n \"template\": \"generic\",\r\n \"testDomain\": {\r\n \"class\": \"GSLB_Domain\",\r\n \"domainName\": \"{{DNS1_NAME}}\",\r\n \"resourceRecordType\": \"A\",\r\n \"poolLbMode\": \"ratio\",\r\n \"lastResortPool\": {\"use\": \"{{VS1_NAME}}-pool\"},\r\n \"lastResortPoolType\": \"A\",\r\n \"pools\": [\r\n { \"use\": \"{{VS1_NAME}}-pool\" }\r\n ]\r\n },\r\n \"{{VS1_NAME}}-pool\": {\r\n \"class\": \"GSLB_Pool\",\r\n \"enabled\": true,\r\n \"lbModeAlternate\": \"ratio\",\r\n \"lbModeFallback\": \"ratio\",\r\n \"manualResumeEnabled\": false,\r\n \"verifyMemberEnabled\": true,\r\n \"members\": [\r\n \t{\r\n \t\"ratio\":10,\r\n \t\"server\": {\r\n \t\t\"bigip\": \"/Common/bigip1.f5lab.local\"\r\n \t\t},\r\n \t\t\"virtualServer\":\"/{{PARTITION_NAME}}/{{PATH_NAME}}/{{VS1_NAME}}\"\r\n \t}\r\n ],\r\n \"resourceRecordType\": \"A\"\r\n }\r\n }\r\n }\r\n \r\n}" }, "url": { "raw": "https://10.1.1.11/mgmt/shared/appsvcs/declare", "protocol": "https", "host": [ "10", "1", "1", "11" ], "path": [ "mgmt", "shared", "appsvcs", "declare" ] } }, "response": [] }, { "name": "bigip5-Determine if bigip2 exists", "event": [ { "listen": "test", "script": { "id": "9abd6dcf-e4af-4e17-8687-d3e1af6509d8", "exec": [ "\r", "var jsonData = pm.response.json();\r", "\r", "\r", "for (var i = 0; i < jsonData.items.length; i++) {\r", "\r", "\tif (jsonData.items[i].name === \"bigip2.f5lab.local\") {\r", "\r", "\r", "\t\tpm.test(\"BIGIP2 already exists\", function () {\r", " pm.response.to.have.status(200);\r", "\t\t});\r", "\r", "\t\tpostman.setNextRequest(\"bigip5-Add bigip2 Application VS to Server\");\r", "\t}\r", "}\r", "\r", "\r", "" ], "type": "text/javascript" } } ], "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "GET", "header": [ { "key": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "" }, "url": { "raw": "https://10.1.1.11/mgmt/tm/gtm/server", "protocol": "https", "host": [ "10", "1", "1", "11" ], "path": [ "mgmt", "tm", "gtm", "server" ] } }, "response": [] }, { "name": "bigip_add - bigip2 to bigip5", "event": [ { "listen": "test", "script": { "id": "1192acbb-9180-41ce-a6c8-57a59bdc3dab", "exec": [ "\r", "\t\tpm.test(\"bigip_add command successfully run\", function () {\r", " pm.response.to.have.status(200);\r", "\t\t});" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\r\n\t\"command\":\"run\",\r\n\t\"options\":[\r\n\t\t{\r\n\t\t\t\"ssh-password\":\"admin\",\r\n\t\t\t\"admin@10.1.1.5\":\"\"\r\n\t\t}\r\n\t]\r\n} " }, "url": { "raw": "https://10.1.1.11/mgmt/tm/gtm/bigip_add", "protocol": "https", "host": [ "10", "1", "1", "11" ], "path": [ "mgmt", "tm", "gtm", "bigip_add" ] } }, "response": [] }, { "name": "bigip2.f5lab.local - big3d_install", "event": [ { "listen": "test", "script": { "id": "7353736e-adb8-4af0-8c13-edcfcceffded", "exec": [ "\r", "\t\tpm.test(\"big3d_install command successfully run\", function () {\r", " pm.response.to.have.status(200);\r", "\t\t});" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\r\n\t\"command\":\"run\",\r\n\t\"options\":[\r\n\t\t{\r\n\t\t\t\"ssh-password\":\"admin\",\r\n\t\t\t\"admin@10.1.1.5\":\"\"\r\n\t\t}\r\n\t]\r\n} " }, "url": { "raw": "https://10.1.1.11/mgmt/tm/gtm/big3d_install", "protocol": "https", "host": [ "10", "1", "1", "11" ], "path": [ "mgmt", "tm", "gtm", "big3d_install" ] } }, "response": [] }, { "name": "bigip5-Create-DC2", "event": [ { "listen": "test", "script": { "id": "1d8c9209-e454-4cc1-ab8b-38d1d6f83c2a", "exec": [ "if (responseCode.code === 200) {", "pm.collectionVariables.set('PRIOR_RESPONSE', 'OK' );", "pm.test(\"DC2 Created\", function () {", " pm.response.to.have.status(200);", "});", "} else ", "pm.test(\"DC2 Exists\", function () {", " pm.response.to.have.status(409);", "});", "" ], "type": "text/javascript" } }, { "listen": "prerequest", "script": { "id": "66c3b119-f7b1-486a-95ad-0d8b7c387334", "exec": [ "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n\"name\":\"DC2\"\n}" }, "url": { "raw": "https://10.1.1.11/mgmt/tm/gtm/datacenter", "protocol": "https", "host": [ "10", "1", "1", "11" ], "path": [ "mgmt", "tm", "gtm", "datacenter" ] } }, "response": [] }, { "name": "Add Server - BIG-IP2 to BIG-IP5", "event": [ { "listen": "test", "script": { "id": "e986f70e-555d-4362-8ed7-f4a0dbb4b310", "exec": [ "if (responseCode.code === 200) {\r", " pm.collectionVariables.set('PRIOR_RESPONSE', 'OK');\r", " pm.test(\"BIG-IP2 added\", function () {\r", " pm.response.to.have.status(200);\r", " });\r", "} else\r", " pm.test(\"BIG-IP2 already Exists\", function () {\r", " pm.response.to.have.status(409);\r", " });" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n\t\"name\":\"bigip2.f5lab.local\",\n\t\"datacenter\": \"/Common/DC2\",\n\t\"virtualServerDiscovery\": \"disabled\",\n\t \"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"name\":\"10.1.10.5\",\n\t\t\t\t\t\"deviceName\": \"bigip2.f5lab.local\",\n\t\t\t\t\t\"translation\": \"none\"\n\t\t\t\t}\n\t\t\t]\n\t\n}" }, "url": { "raw": "https://10.1.1.11/mgmt/tm/gtm/server", "protocol": "https", "host": [ "10", "1", "1", "11" ], "path": [ "mgmt", "tm", "gtm", "server" ] } }, "response": [] }, { "name": "bigip5-Add bigip2 Application VS to Server", "event": [ { "listen": "test", "script": { "id": "8f117dce-8d3f-46a6-a4da-a2574cf3bdf1", "exec": [ "if (responseCode.code === 200) {", "pm.collectionVariables.set('PRIOR_RESPONSE', 'OK' );", "pm.test(\"Virtual Server Created\", function () {", " pm.response.to.have.status(200);", "});", "} else ", "pm.test(\"Virtual Server Exists\", function () {", " pm.response.to.have.status(409);", "});" ], "type": "text/javascript" } }, { "listen": "prerequest", "script": { "id": "c9c7a1f9-38af-4834-8cde-b19fde0d3b16", "exec": [ "setTimeout(function(){}, 2000);", "", "var PRIOR_RESPONSE = pm.collectionVariables.get(\"PRIOR_RESPONSE\");", "", "if (PRIOR_RESPONSE === 'OK') {", "", "}" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\r\n\"name\": \"/{{PARTITION_NAME}}/{{PATH_NAME}}/{{VS1_NAME}}\",\r\n\"destination\": \"{{BIGIP_ADDRESS1}}:443\"\r\n}" }, "url": { "raw": "https://10.1.1.11/mgmt/tm/gtm/server/~Common~bigip2.f5lab.local/virtual-servers/", "protocol": "https", "host": [ "10", "1", "1", "11" ], "path": [ "mgmt", "tm", "gtm", "server", "~Common~bigip2.f5lab.local", "virtual-servers", "" ] } }, "response": [] }, { "name": "bigip5-Add bigip2 application to WideIP Pool", "event": [ { "listen": "prerequest", "script": { "id": "25d33b4b-c866-4121-a7d4-b4f01482a9bd", "exec": [ "setTimeout(function(){},5000);", "", "" ], "type": "text/javascript" } }, { "listen": "test", "script": { "id": "f3f5779f-3b94-44fa-8477-3e5953a37f59", "exec": [ "if (responseCode.code === 200) {", "pm.collectionVariables.set('PRIOR_RESPONSE', 'OK' );", "pm.test(\"Virtual Server Added\", function () {", " pm.response.to.have.status(200);", "});", "} else ", "pm.test(\"Virtual Server Exists\", function () {", " pm.response.to.have.status(409);", "});", "", "pm.collectionVariables.set('COUNTER', '1' );" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\r\n\"name\":\"bigip2.f5lab.local:/{{PARTITION_NAME}}/{{PATH_NAME}}/{{VS1_NAME}}\"\r\n\t\r\n\t\r\n}" }, "url": { "raw": "https://10.1.1.11/mgmt/tm/gtm/pool/a/~{{PARTITION_NAME}}~Application~{{VS1_NAME}}-pool/members", "protocol": "https", "host": [ "10", "1", "1", "11" ], "path": [ "mgmt", "tm", "gtm", "pool", "a", "~{{PARTITION_NAME}}~Application~{{VS1_NAME}}-pool", "members" ] } }, "response": [] }, { "name": "iis-create-website", "event": [ { "listen": "test", "script": { "id": "76e5c292-64f9-4a63-981b-c230b032d2f5", "exec": [ "", "", "var jsonData = pm.response.json();", "", "for (var i = 0; i < jsonData.length; i++) {", "", "\t\tif (jsonData[i].status === \"Success\") {", "\t\t\t", " pm.test(\"Website Created\", function () {", " pm.expect(jsonData[i].status).to.eql(\"Success\");", "});", "\t\t\t", "\t\t}", "\t}", "" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n\t\"site_name\":\"{{DNS1_NAME}}\",\n\t\"http_port\":\"80\",\n\t\"https_port\":\"443\",\n\t\"computer_ip\":\"{{IIS_ADDRESS1}}\",\n\t\"template_number\": \"2\",\n\t\"authentication\": \"kerberos\",\n\t\"customization\": {\n\t\t\"background\": \"green\"\n\n\t}\n}" }, "url": { "raw": "http://10.1.20.6:81/website", "protocol": "http", "host": [ "10", "1", "20", "6" ], "port": "81", "path": [ "website" ] } }, "response": [] }, { "name": "ad-create-A record", "event": [ { "listen": "test", "script": { "id": "16aef84a-afcc-4071-ab39-01e917913f46", "exec": [ " var jsonData = pm.response.json();", "\tif (jsonData.length) {", "", " if (jsonData[1].status === \"exists\") {", " pm.test(\"A Record Exists\", function () {", " pm.expect(jsonData[1].status).to.eql(\"exists\");", " });", " }", " } else ", " pm.test(\"A Record created\", function () {", " pm.expect(jsonData.status).to.eql(\"Success\");", " });", "", " ", " ", "", "" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n\"record_type\":\"a\",\n\"fqdn\":\"{{DNS1_NAME}}\",\n\"computer_ip\":\"{{IIS_ADDRESS1}}\"\n}" }, "url": { "raw": "http://10.1.20.6:81/dns", "protocol": "http", "host": [ "10", "1", "20", "6" ], "port": "81", "path": [ "dns" ] } }, "response": [] }, { "name": "Create PTR record", "event": [ { "listen": "test", "script": { "id": "e984e2ea-141f-4a84-bd81-6a620352006d", "exec": [ " var jsonData = pm.response.json();", "\tif (jsonData.length) {", "", " if (jsonData[1].status === \"exists\") {", " pm.test(\"PTR Record Exists\", function () {", " pm.expect(jsonData[1].status).to.eql(\"exists\");", " });", " }", " } else ", " pm.test(\"PTR Record created\", function () {", " pm.expect(jsonData.status).to.eql(\"Success\");", " });", "" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n\"record_type\":\"ptr\",\n\"fqdn\":\"{{DNS1_NAME}}\",\n\"computer_ip\":\"{{IIS_ADDRESS1}}\"\n}" }, "url": { "raw": "http://10.1.20.6:81/dns", "protocol": "http", "host": [ "10", "1", "20", "6" ], "port": "81", "path": [ "dns" ] } }, "response": [] }, { "name": "Create SPN", "event": [ { "listen": "test", "script": { "id": "d5299ff0-992d-4843-8de8-fd0f44cd7bed", "exec": [ "if (responseCode.code === 200) {\r", " pm.test(\"SPN Assigned to IIS Server\", function () {\r", " pm.response.to.have.status(200);\r", " });\r", "}" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n\"computer\":\"IIS\",\n\"spn\":\"HTTP/{{DNS1_NAME}}\" \n}" }, "url": { "raw": "http://10.1.20.6:81/computer", "protocol": "http", "host": [ "10", "1", "20", "6" ], "port": "81", "path": [ "computer" ] } }, "response": [] }, { "name": "ad-create-Delegation Account", "event": [ { "listen": "test", "script": { "id": "cc95012e-774f-4087-8ab7-466f0bd77740", "exec": [ "if (responseCode.code === 200) {", " pm.test(\"Delegation Account Created\", function () {", " pm.response.to.have.status(200);", " });", "}", "", "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "oauth2", "oauth2": [ { "key": "accessToken", "value": "ewogICJhbGciOiJIUzI1NiIsCiAgImtpZCI6ImxhYiIKfQ.ewogICJ0b2tlbl90eXBlIjoiQmVhcmVyIiwKICAiaXNzIjoiaHR0cHM6Ly9wcmVidWlsdC1hcy5hY21lLmNvbSIsCiAgImNsaWVudCI6IjMwMzJmZDEyMWY5ZGZjNjY1ZDVjM2Y1ZjllOWUwNjExMTcxZjJmNmU4MTdiMTg1ZSIsCiAgImdyb3VwaWQiOiJTZW5pb3IgU3lzdGVtcyBFbmdpbmVlciIsCiAgImdyb3VwcyI6InwgQ049bWVtYmVyLXNlcnZpY2VzLUEsT1U9R3JvdXBzLERDPWY1bGFiLERDPWxvY2FsIHwgQ049c3lzYWRtaW5zLE9VPUdyb3VwcyxEQz1mNWxhYixEQz1sb2NhbCB8IENOPWFwcDEsT1U9R3JvdXBzLERDPWY1bGFiLERDPWxvY2FsIHwgQ049RWRpdFVzZXIsT1U9SVQsREM9ZjVsYWIsREM9bG9jYWwgfCBDTj1XZWJzaXRlIEFkbWluLE9VPVNhbGVzIEVuZ2luZWVyaW5nLERDPWY1bGFiLERDPWxvY2FsIHwgQ049U2FsZXMgRW5naW5lZXJpbmcsQ049VXNlcnMsREM9ZjVsYWIsREM9bG9jYWwgfCBDTj1Eb21haW4gQWRtaW5zLENOPVVzZXJzLERDPWY1bGFiLERDPWxvY2FsIHwiLAogICJvcmciOiJGNSIsCiAgInRpZXIiOiJTYWxlcyBFbmdpbmVlcmluZyIsCiAgInVzZXIiOiJ1c2VyMSIsCiAgInN1YiI6Ii9wcmVidWlsdC9wcmVidWlsdC1hcy1wc3AudXNlcjEiLAogICJqdGkiOiJlM2Y1YzRiYzBkZTRjYzBmOWVkMTdiZjU5YzI5NzMzMDZkNmNmODNmNzA2ZmM3NzM0YTdjNGNmNTQ0MzRkM2JjIiwKICAiaWF0IjoxNTg3NDcwMzAzLAogICJleHAiOjE1ODc0Nzc1MDMsCiAgIm5iZiI6MTU4NzQ3MDAwMwp9.PizJFgeQiYuaR5ZBN5_GAo9QuA0jSkUXlsPu-OL8fl8", "type": "string" }, { "key": "tokenType", "value": "Bearer", "type": "string" }, { "key": "addTokenTo", "value": "header", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n\"Username\":\"{{PARTITION_NAME}}\",\n\"UserPrincipalName\":\"HOST/{{PARTITION_NAME}}.f5lab.local@f5lab.local\",\n\"ou\":\"IT\",\n\"Password\":\"{{PARTITION_NAME}}\",\n\"app_spn\": \"HTTP/{{DNS1_NAME}}\"\n}" }, "url": { "raw": "http://10.1.20.6:81/user", "protocol": "http", "host": [ "10", "1", "20", "6" ], "port": "81", "path": [ "user" ] } }, "response": [] } ], "event": [ { "listen": "prerequest", "script": { "id": "3f6c9603-f973-4792-b395-e23402ee0d66", "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "id": "b73f723f-9790-4c65-a978-14a061dc733f", "type": "text/javascript", "exec": [ "" ] } } ], "variable": [ { "id": "3f276d77-64b9-4fb2-9e23-fff5e4af5af7", "key": "PARTITION_NAME", "value": "portal" }, { "id": "9a30995f-cac2-4be1-9803-0faa692c1084", "key": "PATH_NAME", "value": "portal" }, { "id": "b7c9e3c2-4483-414b-8867-53da5b083839", "key": "PRIOR_RESPONSE", "value": "" }, { "id": "59e053c5-ab5a-45af-b4d4-20775d7d54eb", "key": "CUSTOM_TYPE", "value": "" }, { "id": "4765c5c5-a819-4d44-8ad3-456bfe581555", "key": "DNS1_NAME", "value": "" }, { "id": "efabade5-71a9-429d-b704-a29b67764377", "key": "DNS2_NAME", "value": "" }, { "id": "4c381a47-6985-47bf-8834-ee7b666442b4", "key": "VS1_NAME", "value": "" }, { "id": "6d98465a-0030-4916-8967-b1e37c99f577", "key": "TRANSID", "value": "" }, { "id": "143ad105-44a4-4047-8b0e-c1b3c7badb3b", "key": "BIGIP_SCOPE", "value": "" }, { "id": "dd29ae34-5132-4359-b124-9ec09ba2082a", "key": "BIGIP_ADDRESS1", "value": "" }, { "id": "1fe652ba-30e9-4376-b2ba-7c359479564e", "key": "BIGIP_MGMT", "value": "" }, { "id": "e4755cd5-eb0a-4210-8e28-f3f1e427aa2e", "key": "COUNTER", "value": "" }, { "id": "a2491ea4-55f1-443e-a35f-bf7bcf8c666b", "key": "IIS_ADDRESS1", "value": "" } ], "protocolProfileBehavior": {} }