Through GWAS enrichment analysis and Phe-WAS, key genes, DEG ZBP1 and DSG TEF, were verified, which can be regarded as promising targets for improving bovine S. aureus mastitis defense and public health. The gene discussed is ZBP1; the disease is mastitis.