For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Glen_Pekarcsik's avatar
Glen_Pekarcsik
Icon for Nimbostratus rankNimbostratus
May 12, 2020

Add signatures to attack signature sets via F5 ASM API

I am looking to modify signature sets I've created in the F5 ASM and add signatures to the sets via the F5 API. Does anyone have any information on how that can be done?

1 Reply

  • Hi Glen_Pekarcsik 

    I could solve this with the following JSON body

    {
        "name": "attack-signatures-log4j",
        "assignToPolicyByDefault": true,
        "defaultAlarm": true,
        "type": "manual",
        "isUserDefined":true,
        "accuracyValue": "high",
        "signatureReferences": [
            {
                "link": "https://localhost/mgmt/tm/asm/signatures/FzyRtmjEB-RDeYxdV22Wcg"
            },
            {
                "link": "https://localhost/mgmt/tm/asm/signatures/6GEkbeeViqG1i1bCMLXdOA"
            },
            {
                "link": "https://localhost/mgmt/tm/asm/signatures/TDtAdP40B84UaYXLhMgIew"
            },
            {
                "link": "https://localhost/mgmt/tm/asm/signatures/rYiJHZdAYt0dhXlbxFVXFQ"
            },
            {
                "link": "https://localhost/mgmt/tm/asm/signatures/tOd2EOQdCzetaf2U3fHdKg"
            },
            {
                "link": "https://localhost/mgmt/tm/asm/signatures/r1KtsZ7eOufX3tm3P1rhUA"
            },
            {
                "link": "https://localhost/mgmt/tm/asm/signatures/NQyazwn_x4RzMCHvqv4GBw"
            },
            {
                "link": "https://localhost/mgmt/tm/asm/signatures/T-E0ExygzH1O3DNShs3QtA"
            },
            {
                "link": "https://localhost/mgmt/tm/asm/signatures/MFZSx7kIuGwhZDl8Vq85gA"
            }
        ],
        "defaultLearn": false,
        "defaultBlock": true
    }